提交 89b1f496 编写于 作者: S Somnath Kotur 提交者: David S. Miller

be2net: Explicitly clear the reserved field in the Tx Descriptor

Signed-off-by: NSomnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 deaa5854
...@@ -558,6 +558,7 @@ static inline void wrb_fill(struct be_eth_wrb *wrb, u64 addr, int len) ...@@ -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_hi = upper_32_bits(addr);
wrb->frag_pa_lo = addr & 0xFFFFFFFF; wrb->frag_pa_lo = addr & 0xFFFFFFFF;
wrb->frag_len = len & ETH_WRB_FRAG_LEN_MASK; wrb->frag_len = len & ETH_WRB_FRAG_LEN_MASK;
wrb->rsvd0 = 0;
} }
static inline u16 be_get_tx_vlan_tag(struct be_adapter *adapter, static inline u16 be_get_tx_vlan_tag(struct be_adapter *adapter,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册