bnxt: convert to new udp_tunnel_nic infra
authorJakub Kicinski <kuba@kernel.org>
Fri, 10 Jul 2020 00:42:52 +0000 (17:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jul 2020 20:54:00 +0000 (13:54 -0700)
commit442a35a5a7aa7277ace9a2671260dbff1a04e029
tree685f5952a481d38ab87ec41fadda6cbe067759fe
parentdc221851ffd1e6ebb709f85e60f93262413a488a
bnxt: convert to new udp_tunnel_nic infra

Convert to new infra, taking advantage of sleeping in callbacks.

v2:
 - use bp->*_fw_dst_port_id != INVALID_HW_RING_ID as indication
   that the offload is active.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h