diff options
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 69f242c71865..1e8a5c734d72 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -946,7 +946,8 @@ struct netdev_xdp { | |||
| 946 | * | 946 | * |
| 947 | * SR-IOV management functions. | 947 | * SR-IOV management functions. |
| 948 | * int (*ndo_set_vf_mac)(struct net_device *dev, int vf, u8* mac); | 948 | * int (*ndo_set_vf_mac)(struct net_device *dev, int vf, u8* mac); |
| 949 | * int (*ndo_set_vf_vlan)(struct net_device *dev, int vf, u16 vlan, u8 qos); | 949 | * int (*ndo_set_vf_vlan)(struct net_device *dev, int vf, u16 vlan, |
| 950 | * u8 qos, __be16 proto); | ||
| 950 | * int (*ndo_set_vf_rate)(struct net_device *dev, int vf, int min_tx_rate, | 951 | * int (*ndo_set_vf_rate)(struct net_device *dev, int vf, int min_tx_rate, |
| 951 | * int max_tx_rate); | 952 | * int max_tx_rate); |
| 952 | * int (*ndo_set_vf_spoofchk)(struct net_device *dev, int vf, bool setting); | 953 | * int (*ndo_set_vf_spoofchk)(struct net_device *dev, int vf, bool setting); |
| @@ -1187,7 +1188,8 @@ struct net_device_ops { | |||
| 1187 | int (*ndo_set_vf_mac)(struct net_device *dev, | 1188 | int (*ndo_set_vf_mac)(struct net_device *dev, |
| 1188 | int queue, u8 *mac); | 1189 | int queue, u8 *mac); |
| 1189 | int (*ndo_set_vf_vlan)(struct net_device *dev, | 1190 | int (*ndo_set_vf_vlan)(struct net_device *dev, |
| 1190 | int queue, u16 vlan, u8 qos); | 1191 | int queue, u16 vlan, |
| 1192 | u8 qos, __be16 proto); | ||
| 1191 | int (*ndo_set_vf_rate)(struct net_device *dev, | 1193 | int (*ndo_set_vf_rate)(struct net_device *dev, |
| 1192 | int vf, int min_tx_rate, | 1194 | int vf, int min_tx_rate, |
| 1193 | int max_tx_rate); | 1195 | int max_tx_rate); |
