2021-11-27 09:40:59

by Guangbin Huang

[permalink] [raw]
Subject: [PATCH net-next 0/2] net: vxlan: add macro definition for number of IANA VXLAN-GPE port

This series add macro definition for number of IANA VXLAN-GPE port for
cleanup.

Hao Chen (2):
net: vxlan: add macro definition for number of IANA VXLAN-GPE port
net: hns3: use macro IANA_VXLAN_GPE_UDP_PORT to replace number 4790

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +-
drivers/net/vxlan.c | 2 +-
include/net/vxlan.h | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)

--
2.33.0



2021-11-27 09:40:59

by Guangbin Huang

[permalink] [raw]
Subject: [PATCH net-next 2/2] net: hns3: use macro IANA_VXLAN_GPE_UDP_PORT to replace number 4790

From: Hao Chen <[email protected]>

This patch uses macro IANA_VXLAN_GPE_UDP_PORT to replace number 4790 for
cleanup.

Signed-off-by: Hao Chen <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
index 496ddf397bd4..3eb2985b9c8d 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
@@ -1302,7 +1302,7 @@ static bool hns3_tunnel_csum_bug(struct sk_buff *skb)
if (!(!skb->encapsulation &&
(l4.udp->dest == htons(IANA_VXLAN_UDP_PORT) ||
l4.udp->dest == htons(GENEVE_UDP_PORT) ||
- l4.udp->dest == htons(4790))))
+ l4.udp->dest == htons(IANA_VXLAN_GPE_UDP_PORT))))
return false;

return true;
--
2.33.0


2021-11-29 13:46:00

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next 0/2] net: vxlan: add macro definition for number of IANA VXLAN-GPE port

Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <[email protected]>:

On Sat, 27 Nov 2021 17:34:03 +0800 you wrote:
> This series add macro definition for number of IANA VXLAN-GPE port for
> cleanup.
>
> Hao Chen (2):
> net: vxlan: add macro definition for number of IANA VXLAN-GPE port
> net: hns3: use macro IANA_VXLAN_GPE_UDP_PORT to replace number 4790
>
> [...]

Here is the summary with links:
- [net-next,1/2] net: vxlan: add macro definition for number of IANA VXLAN-GPE port
https://git.kernel.org/netdev/net-next/c/ed618bd80947
- [net-next,2/2] net: hns3: use macro IANA_VXLAN_GPE_UDP_PORT to replace number 4790
https://git.kernel.org/netdev/net-next/c/e54b708c5441

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html