提交 0f8f27de 编写于 作者: Y Yuval Mintz 提交者: David S. Miller

bnx2x: Fix vxlan endianity issue

Commit f34fa14c ("bnx2x: Add vxlan RSS support") has introduced an
endianity issue when passing the vxlan UDP port to the HW.

Reported-by: <fengguang.wu@intel.com>
Signed-off-by: NYuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b86d598d
......@@ -967,7 +967,7 @@ static inline int bnx2x_func_start(struct bnx2x *bp)
else /* CHIP_IS_E1X */
start_params->network_cos_mode = FW_WRR;
start_params->vxlan_dst_port = cpu_to_le16(bp->vxlan_dst_port);
start_params->vxlan_dst_port = bp->vxlan_dst_port;
start_params->inner_rss = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册