]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 14:06:29 +0000 (07:06 -0700)
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c

index 9369829ae423d7b792080230d48650d32da69e32..2890c971d0e9c1c3e8ac7b0bbc502d033d798ad8 100644 (file)
@@ -557,6 +557,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,