mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04: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: <[email protected]>
Signed-off-by: Yuval Mintz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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