Commit 0f8f27de authored by Yuval Mintz's avatar Yuval Mintz Committed by 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: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b86d598d
...@@ -967,7 +967,7 @@ static inline int bnx2x_func_start(struct bnx2x *bp) ...@@ -967,7 +967,7 @@ static inline int bnx2x_func_start(struct bnx2x *bp)
else /* CHIP_IS_E1X */ else /* CHIP_IS_E1X */
start_params->network_cos_mode = FW_WRR; 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; start_params->inner_rss = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment