be2net: Explicitly clear the reserved field in the Tx Descriptor
authorSomnath Kotur <somnath.kotur@emulex.com>
Sun, 24 Jun 2012 19:40:55 +0000 (19:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:10:11 +0000 (16:10 -0700)
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c

index cbd245a..c60782e 100644 (file)
@@ -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,