diff options
author | Somnath Kotur <[email protected]> | 2023-06-07 00:54:09 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-06-08 10:52:45 +0200 |
commit | 1eb4ef12591348c440ac9d6efcf7521e73cf2b10 (patch) | |
tree | 360a4259331709075f9fff9818ff0717eeb389c9 /lib/mpi/mpi-sub-ui.c | |
parent | 319a7827df9784048abe072afe6b4fb4501d8de4 (diff) |
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 <[email protected]>
Signed-off-by: Somnath Kotur <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions