]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: convert to new udp_tunnel infrastructure
authorJakub Kicinski <kuba@kernel.org>
Sat, 26 Sep 2020 00:56:44 +0000 (17:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2020 19:50:12 +0000 (12:50 -0700)
commita07c520139d510fcca0c9ef05a46ea8af0298f31
tree5a8e94ba404a17b889df2d47ea74f51609b77b39
parent37c6761633b435df3e159c2d347233492ba75f9d
i40e: convert to new udp_tunnel infrastructure

Make use of the "shared port table" to convert i40e to the new
infra.

i40e did not have any reference tracking, locking is also dodgy
because rtnl gets released while talking to FW, so port may get
removed from the table while it's getting added etc.

On the good side i40e does not seem to be using the ports for
TX so we can remove the table from the driver state completely.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c