mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-10 09:34:16 -05:00
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:
committed by
David S. Miller
parent
b86d598d0c
commit
0f8f27de19
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user