summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@emulex.com>2012-06-24 19:40:55 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-25 16:10:11 -0700
commit89b1f496d2b659eaaac5a8d80b801661ab03854f (patch)
tree80121da7f74d3341b5ecd61c98bd0a7383f74e38 /drivers/net
parentdeaa58542b21d2b395db816952c202034319cbb4 (diff)
downloadlinux-89b1f496d2b659eaaac5a8d80b801661ab03854f.tar.gz
linux-89b1f496d2b659eaaac5a8d80b801661ab03854f.tar.bz2
linux-89b1f496d2b659eaaac5a8d80b801661ab03854f.zip
be2net: Explicitly clear the reserved field in the Tx Descriptor
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index cbd245afd8ab..c60782e299db 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -558,6 +558,7 @@ static inline void wrb_fill(struct be_eth_wrb *wrb, u64 addr, int len)
wrb->frag_pa_hi = upper_32_bits(addr);
wrb->frag_pa_lo = addr & 0xFFFFFFFF;
wrb->frag_len = len & ETH_WRB_FRAG_LEN_MASK;
+ wrb->rsvd0 = 0;
}
static inline u16 be_get_tx_vlan_tag(struct be_adapter *adapter,