mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00: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:
parent
b86d598d0c
commit
0f8f27de19
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue