* [PATCH net-next] bnx2x: Fix vxlan endianity issue
@ 2015-08-19 7:21 Yuval Mintz
2015-08-20 21:08 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Yuval Mintz @ 2015-08-19 7:21 UTC (permalink / raw)
To: davem, netdev; +Cc: Ariel.Elior, Rajesh.Borundia, Yuval Mintz
Commit f34fa14cc033 ("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>
---
Hi Dave,
Please apply this to 'net-next'.
Thanks,
Yuval
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
index d276de3..b7d32e8 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
@@ -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;
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] bnx2x: Fix vxlan endianity issue
2015-08-19 7:21 [PATCH net-next] bnx2x: Fix vxlan endianity issue Yuval Mintz
@ 2015-08-20 21:08 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-08-20 21:08 UTC (permalink / raw)
To: Yuval.Mintz; +Cc: netdev, Ariel.Elior, Rajesh.Borundia
From: Yuval Mintz <Yuval.Mintz@qlogic.com>
Date: Wed, 19 Aug 2015 10:21:58 +0300
> Commit f34fa14cc033 ("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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-20 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-19 7:21 [PATCH net-next] bnx2x: Fix vxlan endianity issue Yuval Mintz
2015-08-20 21:08 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).