|
@@ -8626,9 +8626,6 @@ static void i40e_add_vxlan_port(struct net_device *netdev,
|
|
|
u8 next_idx;
|
|
|
u8 idx;
|
|
|
|
|
|
- if (sa_family == AF_INET6)
|
|
|
- return;
|
|
|
-
|
|
|
idx = i40e_get_udp_port_idx(pf, port);
|
|
|
|
|
|
/* Check if port already exists */
|
|
@@ -8668,9 +8665,6 @@ static void i40e_del_vxlan_port(struct net_device *netdev,
|
|
|
struct i40e_pf *pf = vsi->back;
|
|
|
u8 idx;
|
|
|
|
|
|
- if (sa_family == AF_INET6)
|
|
|
- return;
|
|
|
-
|
|
|
idx = i40e_get_udp_port_idx(pf, port);
|
|
|
|
|
|
/* Check if port already exists */
|
|
@@ -8707,9 +8701,6 @@ static void i40e_add_geneve_port(struct net_device *netdev,
|
|
|
if (!(pf->flags & I40E_FLAG_GENEVE_OFFLOAD_CAPABLE))
|
|
|
return;
|
|
|
|
|
|
- if (sa_family == AF_INET6)
|
|
|
- return;
|
|
|
-
|
|
|
idx = i40e_get_udp_port_idx(pf, port);
|
|
|
|
|
|
/* Check if port already exists */
|
|
@@ -8751,9 +8742,6 @@ static void i40e_del_geneve_port(struct net_device *netdev,
|
|
|
struct i40e_pf *pf = vsi->back;
|
|
|
u8 idx;
|
|
|
|
|
|
- if (sa_family == AF_INET6)
|
|
|
- return;
|
|
|
-
|
|
|
if (!(pf->flags & I40E_FLAG_GENEVE_OFFLOAD_CAPABLE))
|
|
|
return;
|
|
|
|