diff options
author | Scott Feldman <scofeldm@cisco.com> | 2008-11-21 21:29:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-21 21:29:01 -0800 |
commit | 845964515a76381e204d3399af82c149f8abcc1c (patch) | |
tree | 46f7f16c17294ccf56bd9f964e74a92cf7e7871e /drivers/net/enic/enic_res.h | |
parent | cb3c766975985885e64e20cc72c4a36d90da2b30 (diff) | |
download | blackbird-op-linux-845964515a76381e204d3399af82c149f8abcc1c.tar.gz blackbird-op-linux-845964515a76381e204d3399af82c149f8abcc1c.zip |
enic: move wmb closer to where needed: before writing posted_index to hw
Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/enic_res.h')
-rw-r--r-- | drivers/net/enic/enic_res.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/enic/enic_res.h b/drivers/net/enic/enic_res.h index 68534a29b7ac..7bf272fa859b 100644 --- a/drivers/net/enic/enic_res.h +++ b/drivers/net/enic/enic_res.h @@ -58,8 +58,6 @@ static inline void enic_queue_wq_desc_ex(struct vnic_wq *wq, (u16)vlan_tag, 0 /* loopback */); - wmb(); - vnic_wq_post(wq, os_buf, dma_addr, len, sop, eop); } @@ -127,8 +125,6 @@ static inline void enic_queue_rq_desc(struct vnic_rq *rq, (u64)dma_addr | VNIC_PADDR_TARGET, type, (u16)len); - wmb(); - vnic_rq_post(rq, os_buf, os_buf_index, dma_addr, len); } |