Somnath Kotur 1eb4ef1259 bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks
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: 442a35a5a7aa ("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>
2023-06-08 10:52:45 +02:00
..
2023-05-17 21:27:30 -07:00
2023-06-06 21:10:01 -07:00
2023-04-26 16:07:23 -07:00
2023-05-17 21:27:30 -07:00
2023-04-27 11:02:26 -07:00
2023-06-07 21:53:11 -07:00
2023-05-19 08:57:47 +01:00
2023-04-12 09:38:19 +01:00
2023-04-27 11:02:26 -07:00
2023-05-31 22:30:27 -07:00