fm10k: convert to new udp_tunnel_nic infra
Straightforward conversion to new infra. Driver restores info after close/open cycle by calling its internal restore function so just use that, no need for udp_tunnel_nic_reset_ntf() here. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6a8c1a75e5
commit
f7529b4ba3
@@ -221,12 +221,6 @@ struct fm10k_iov_data {
|
||||
struct fm10k_vf_info vf_info[];
|
||||
};
|
||||
|
||||
struct fm10k_udp_port {
|
||||
struct list_head list;
|
||||
sa_family_t sa_family;
|
||||
__be16 port;
|
||||
};
|
||||
|
||||
enum fm10k_macvlan_request_type {
|
||||
FM10K_UC_MAC_REQUEST,
|
||||
FM10K_MC_MAC_REQUEST,
|
||||
@@ -370,8 +364,8 @@ struct fm10k_intfc {
|
||||
u32 rssrk[FM10K_RSSRK_SIZE];
|
||||
|
||||
/* UDP encapsulation port tracking information */
|
||||
struct list_head vxlan_port;
|
||||
struct list_head geneve_port;
|
||||
__be16 vxlan_port;
|
||||
__be16 geneve_port;
|
||||
|
||||
/* MAC/VLAN update queue */
|
||||
struct list_head macvlan_requests;
|
||||
|
||||
Reference in New Issue
Block a user