bnx2x: Fix vxlan endianity issue

Commit f34fa14cc0 ("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: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Yuval Mintz 2015-08-19 10:21:58 +03:00 committed by David S. Miller
parent b86d598d0c
commit 0f8f27de19

View file

@ -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;