|
@@ -1164,6 +1164,8 @@ struct net_device_ops {
|
|
bool new_carrier);
|
|
bool new_carrier);
|
|
int (*ndo_get_phys_port_id)(struct net_device *dev,
|
|
int (*ndo_get_phys_port_id)(struct net_device *dev,
|
|
struct netdev_phys_item_id *ppid);
|
|
struct netdev_phys_item_id *ppid);
|
|
|
|
+ int (*ndo_get_phys_port_name)(struct net_device *dev,
|
|
|
|
+ char *name, size_t len);
|
|
void (*ndo_add_vxlan_port)(struct net_device *dev,
|
|
void (*ndo_add_vxlan_port)(struct net_device *dev,
|
|
sa_family_t sa_family,
|
|
sa_family_t sa_family,
|
|
__be16 port);
|
|
__be16 port);
|
|
@@ -2947,6 +2949,8 @@ int dev_set_mac_address(struct net_device *, struct sockaddr *);
|
|
int dev_change_carrier(struct net_device *, bool new_carrier);
|
|
int dev_change_carrier(struct net_device *, bool new_carrier);
|
|
int dev_get_phys_port_id(struct net_device *dev,
|
|
int dev_get_phys_port_id(struct net_device *dev,
|
|
struct netdev_phys_item_id *ppid);
|
|
struct netdev_phys_item_id *ppid);
|
|
|
|
+int dev_get_phys_port_name(struct net_device *dev,
|
|
|
|
+ char *name, size_t len);
|
|
struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev);
|
|
struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev);
|
|
struct sk_buff *dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev,
|
|
struct sk_buff *dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev,
|
|
struct netdev_queue *txq, int *ret);
|
|
struct netdev_queue *txq, int *ret);
|