1
2
3
4
5
6
7
8
9
10#ifndef EFX_SRIOV_H
11#define EFX_SRIOV_H
12
13#include "net_driver.h"
14
15#ifdef CONFIG_SFC_SRIOV
16
17int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac);
18int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan,
19 u8 qos, __be16 vlan_proto);
20int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i,
21 bool spoofchk);
22int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i,
23 struct ifla_vf_info *ivi);
24int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i,
25 int link_state);
26int efx_sriov_get_phys_port_id(struct net_device *net_dev,
27 struct netdev_phys_item_id *ppid);
28
29#endif
30
31#endif
32