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:
Родитель
b86d598d0c
Коммит
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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче