/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | sriov.h | 15 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_sriov_set_vf_mac() argument 20 return efx->type->sriov_set_vf_mac(efx, vf_i, mac); in efx_sriov_set_vf_mac() 26 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, in efx_sriov_set_vf_vlan() argument 39 return efx->type->sriov_set_vf_vlan(efx, vf_i, vlan, qos); in efx_sriov_set_vf_vlan() 46 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_spoofchk() argument 52 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk); in efx_sriov_set_vf_spoofchk() 58 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_sriov_get_vf_config() argument 64 return efx->type->sriov_get_vf_config(efx, vf_i, ivi); in efx_sriov_get_vf_config() 70 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_link_state() argument 76 return efx->type->sriov_set_vf_link_state(efx, vf_i, in efx_sriov_set_vf_link_state()
|
A D | siena_sriov.c | 515 unsigned vf_i; in map_vi_index() local 520 if (vf_i >= efx->vf_init_count) in map_vi_index() 1467 vf = nic_data->vf + vf_i; in efx_siena_sriov_flr() 1555 unsigned int vf_i; in efx_siena_sriov_reset() local 1570 for (vf_i = 0; vf_i < efx->vf_init_count; ++vf_i) { in efx_siena_sriov_reset() 1571 vf = nic_data->vf + vf_i; in efx_siena_sriov_reset() 1602 vf = nic_data->vf + vf_i; in efx_siena_sriov_set_vf_mac() 1621 vf = nic_data->vf + vf_i; in efx_siena_sriov_set_vf_vlan() 1641 vf = nic_data->vf + vf_i; in efx_siena_sriov_set_vf_spoofchk() 1665 vf = nic_data->vf + vf_i; in efx_siena_sriov_get_vf_config() [all …]
|
A D | net_driver.h | 1437 void (*sriov_flr)(struct efx_nic *efx, unsigned vf_i); 1438 int (*sriov_set_vf_mac)(struct efx_nic *efx, int vf_i, const u8 *mac); 1439 int (*sriov_set_vf_vlan)(struct efx_nic *efx, int vf_i, u16 vlan, 1441 int (*sriov_set_vf_spoofchk)(struct efx_nic *efx, int vf_i, 1443 int (*sriov_get_vf_config)(struct efx_nic *efx, int vf_i, 1445 int (*sriov_set_vf_link_state)(struct efx_nic *efx, int vf_i,
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | sriov.c | 11 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_sriov_set_vf_mac() argument 16 return efx->type->sriov_set_vf_mac(efx, vf_i, mac); in efx_sriov_set_vf_mac() 21 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, in efx_sriov_set_vf_vlan() argument 34 return efx->type->sriov_set_vf_vlan(efx, vf_i, vlan, qos); in efx_sriov_set_vf_vlan() 40 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_spoofchk() argument 46 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk); in efx_sriov_set_vf_spoofchk() 51 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_sriov_get_vf_config() argument 57 return efx->type->sriov_get_vf_config(efx, vf_i, ivi); in efx_sriov_get_vf_config() 62 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_link_state() argument 68 return efx->type->sriov_set_vf_link_state(efx, vf_i, in efx_sriov_set_vf_link_state()
|
A D | sriov.h | 14 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac); 15 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, 17 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, 19 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, 21 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i,
|
A D | ef10_sriov.c | 157 unsigned int vf_i) in efx_ef10_sriov_assign_vf_vport() argument 160 struct ef10_vf *vf = nic_data->vf + vf_i; in efx_ef10_sriov_assign_vf_vport() 496 if (vf_i >= efx->vf_count) in efx_ef10_sriov_set_vf_mac() 498 vf = nic_data->vf + vf_i; in efx_ef10_sriov_set_vf_mac() 561 if (vf_i >= efx->vf_count) in efx_ef10_sriov_set_vf_vlan() 566 vf = nic_data->vf + vf_i; in efx_ef10_sriov_set_vf_vlan() 694 PRIVILEGE_MASK_IN_FUNCTION_VF, vf_i); in efx_ef10_sriov_set_privilege_mask() 760 LINK_STATE_MODE_IN_FUNCTION_VF, vf_i); in efx_ef10_sriov_set_vf_link_state() 777 if (vf_i >= efx->vf_count) in efx_ef10_sriov_get_vf_config() 783 vf = nic_data->vf + vf_i; in efx_ef10_sriov_get_vf_config() [all …]
|
A D | ef10_sriov.h | 40 static inline void efx_ef10_sriov_flr(struct efx_nic *efx, unsigned vf_i) {} in efx_ef10_sriov_flr() argument 44 int efx_ef10_sriov_set_vf_vlan(struct efx_nic *efx, int vf_i, 50 int efx_ef10_sriov_get_vf_config(struct efx_nic *efx, int vf_i, 53 int efx_ef10_sriov_set_vf_link_state(struct efx_nic *efx, int vf_i,
|
A D | net_driver.h | 1532 void (*sriov_flr)(struct efx_nic *efx, unsigned vf_i); 1533 int (*sriov_set_vf_mac)(struct efx_nic *efx, int vf_i, const u8 *mac); 1534 int (*sriov_set_vf_vlan)(struct efx_nic *efx, int vf_i, u16 vlan, 1536 int (*sriov_set_vf_spoofchk)(struct efx_nic *efx, int vf_i, 1538 int (*sriov_get_vf_config)(struct efx_nic *efx, int vf_i, 1540 int (*sriov_set_vf_link_state)(struct efx_nic *efx, int vf_i,
|