linux/drivers/net/ethernet/broadcom
Somnath Kotur f9b9c84696 bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks
[ Upstream commit 1eb4ef1259 ]

As per the new udp tunnel framework, drivers which need to know the
details of a port entry (i.e. port type) when it gets deleted should
use the .set_port / .unset_port callbacks.

Implementing the current .udp_tunnel_sync callback would mean that the
deleted tunnel port entry would be all zeros.  This used to work on
older firmware because it would not check the input when deleting a
tunnel port.  With newer firmware, the delete will now fail and
subsequent tunnel port allocation will fail as a result.

Fixes: 442a35a5a7 ("bnxt: convert to new udp_tunnel_nic infra")
Reviewed-by: Kalesh Anakkur Purayil <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-14 11:15:23 +02:00
..
bnx2x
bnxt bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks 2023-06-14 11:15:23 +02:00
genet net: bcmgenet: Fix EEE implementation 2023-06-14 11:15:22 +02:00
b44.c
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bcm4908_enet.c
bcm4908_enet.h
bcmsysport.c
bcmsysport.h
bgmac-bcma-mdio.c
bgmac-bcma.c net: bgmac: fix BCM5358 support by setting correct flags 2023-02-22 12:59:51 +01:00
bgmac-platform.c
bgmac.c bgmac: fix *initial* chip reset to support BCM5358 2023-03-17 08:50:22 +01:00
bgmac.h bgmac: fix *initial* chip reset to support BCM5358 2023-03-17 08:50:22 +01:00
bnx2_fw.h
bnx2.c
bnx2.h
cnic_defs.h
cnic_if.h
cnic.c
cnic.h
Kconfig
Makefile
sb1250-mac.c
tg3.c net/tg3: resolve deadlock in tg3_reset_task() during EEH 2023-02-01 08:34:48 +01:00
tg3.h
unimac.h