drivers/net: fixup comments after "Future-proof tunnel offload handlers"
Some comments weren't updated to reflect the renaming of ndo's and the change of arguments. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Acked-by: Alexander Duyck <aduyck@mirantis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
752e6d5dfa
commit
e5de25dce9
@@ -432,9 +432,7 @@ static void fm10k_restore_vxlan_port(struct fm10k_intfc *interface)
|
|||||||
/**
|
/**
|
||||||
* fm10k_add_vxlan_port
|
* fm10k_add_vxlan_port
|
||||||
* @netdev: network interface device structure
|
* @netdev: network interface device structure
|
||||||
* @sa_family: Address family of new port
|
* @ti: Tunnel endpoint information
|
||||||
* @port: port number used for VXLAN
|
|
||||||
* @type: Enumerated value specifying udp encapsulation type
|
|
||||||
*
|
*
|
||||||
* This function is called when a new VXLAN interface has added a new port
|
* This function is called when a new VXLAN interface has added a new port
|
||||||
* number to the range that is currently in use for VXLAN. The new port
|
* number to the range that is currently in use for VXLAN. The new port
|
||||||
@@ -480,9 +478,7 @@ insert_tail:
|
|||||||
/**
|
/**
|
||||||
* fm10k_del_vxlan_port
|
* fm10k_del_vxlan_port
|
||||||
* @netdev: network interface device structure
|
* @netdev: network interface device structure
|
||||||
* @sa_family: Address family of freed port
|
* @ti: Tunnel endpoint information
|
||||||
* @port: port number used for VXLAN
|
|
||||||
* @type: Enumerated value specifying udp encapsulation type
|
|
||||||
*
|
*
|
||||||
* This function is called when a new VXLAN interface has freed a port
|
* This function is called when a new VXLAN interface has freed a port
|
||||||
* number from the range that is currently in use for VXLAN. The freed
|
* number from the range that is currently in use for VXLAN. The freed
|
||||||
|
@@ -8851,9 +8851,7 @@ static int ixgbe_set_features(struct net_device *netdev,
|
|||||||
/**
|
/**
|
||||||
* ixgbe_add_vxlan_port - Get notifications about VXLAN ports that come up
|
* ixgbe_add_vxlan_port - Get notifications about VXLAN ports that come up
|
||||||
* @dev: The port's netdev
|
* @dev: The port's netdev
|
||||||
* @sa_family: Socket Family that VXLAN is notifiying us about
|
* @ti: Tunnel endpoint information
|
||||||
* @port: New UDP port number that VXLAN started listening to
|
|
||||||
* @type: Enumerated type specifying UDP tunnel type
|
|
||||||
**/
|
**/
|
||||||
static void ixgbe_add_vxlan_port(struct net_device *dev,
|
static void ixgbe_add_vxlan_port(struct net_device *dev,
|
||||||
struct udp_tunnel_info *ti)
|
struct udp_tunnel_info *ti)
|
||||||
@@ -8888,9 +8886,7 @@ static void ixgbe_add_vxlan_port(struct net_device *dev,
|
|||||||
/**
|
/**
|
||||||
* ixgbe_del_vxlan_port - Get notifications about VXLAN ports that go away
|
* ixgbe_del_vxlan_port - Get notifications about VXLAN ports that go away
|
||||||
* @dev: The port's netdev
|
* @dev: The port's netdev
|
||||||
* @sa_family: Socket Family that VXLAN is notifying us about
|
* @ti: Tunnel endpoint information
|
||||||
* @port: UDP port number that VXLAN stopped listening to
|
|
||||||
* @type: Enumerated type specifying UDP tunnel type
|
|
||||||
**/
|
**/
|
||||||
static void ixgbe_del_vxlan_port(struct net_device *dev,
|
static void ixgbe_del_vxlan_port(struct net_device *dev,
|
||||||
struct udp_tunnel_info *ti)
|
struct udp_tunnel_info *ti)
|
||||||
|
@@ -1134,9 +1134,9 @@ static struct device_type geneve_type = {
|
|||||||
.name = "geneve",
|
.name = "geneve",
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Calls the ndo_add_udp_enc_port of the caller in order to
|
/* Calls the ndo_udp_tunnel_add of the caller in order to
|
||||||
* supply the listening GENEVE udp ports. Callers are expected
|
* supply the listening GENEVE udp ports. Callers are expected
|
||||||
* to implement the ndo_add_udp_enc_port.
|
* to implement the ndo_udp_tunnel_add.
|
||||||
*/
|
*/
|
||||||
static void geneve_push_rx_ports(struct net_device *dev)
|
static void geneve_push_rx_ports(struct net_device *dev)
|
||||||
{
|
{
|
||||||
|
@@ -2475,9 +2475,9 @@ static struct device_type vxlan_type = {
|
|||||||
.name = "vxlan",
|
.name = "vxlan",
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Calls the ndo_add_udp_enc_port of the caller in order to
|
/* Calls the ndo_udp_tunnel_add of the caller in order to
|
||||||
* supply the listening VXLAN udp ports. Callers are expected
|
* supply the listening VXLAN udp ports. Callers are expected
|
||||||
* to implement the ndo_add_udp_enc_port.
|
* to implement the ndo_udp_tunnel_add.
|
||||||
*/
|
*/
|
||||||
static void vxlan_push_rx_ports(struct net_device *dev)
|
static void vxlan_push_rx_ports(struct net_device *dev)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user