/linux/drivers/net/ethernet/sfc/ |
A D | sriov.c | 41 bool spoofchk) 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()
|
A D | sriov.h | 18 bool spoofchk);
|
A D | siena_sriov.h | 53 bool spoofchk);
|
A D | ef10_sriov.h | 48 bool spoofchk);
|
A D | ef10_sriov.c | 736 int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i, bool spoofchk) in efx_ef10_sriov_set_vf_spoofchk() argument 743 spoofchk) in efx_ef10_sriov_set_vf_spoofchk() 748 spoofchk ? 0 : MC_CMD_PRIVILEGE_MASK_IN_GRP_MAC_SPOOFING_TX); in efx_ef10_sriov_set_vf_spoofchk()
|
A D | siena_sriov.c | 1632 bool spoofchk) in efx_siena_sriov_set_vf_spoofchk() argument 1645 spoofchk ? VF_TX_FILTER_ON : VF_TX_FILTER_OFF; in efx_siena_sriov_set_vf_spoofchk() 1673 ivi->spoofchk = vf->tx_filter_mode == VF_TX_FILTER_ON; in efx_siena_sriov_get_vf_config()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | legacy.c | 456 u16 vport, bool spoofchk) in mlx5_eswitch_set_vport_spoofchk() argument 472 pschk = evport->info.spoofchk; in mlx5_eswitch_set_vport_spoofchk() 473 evport->info.spoofchk = spoofchk; in mlx5_eswitch_set_vport_spoofchk() 481 evport->info.spoofchk = pschk; in mlx5_eswitch_set_vport_spoofchk()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_sriov.c | 565 ivi->spoofchk = vfinfo->spoofchk; in hinic_get_vf_config() 904 bool spoofchk) in hinic_set_vf_spoofchk() argument 917 spoofchk_cfg.state = spoofchk ? 1 : 0; in hinic_set_vf_spoofchk() 930 vf_infos[HW_VF_ID_TO_OS(vf_id)].spoofchk = spoofchk; in hinic_set_vf_spoofchk() 946 cur_spoofchk = nic_dev->hwdev->func_to_io.vf_infos[vf].spoofchk; in hinic_ndo_set_vf_spoofchk() 1129 if (vf_infos->spoofchk) in hinic_clear_vf_infos()
|
A D | hinic_sriov.h | 45 bool spoofchk; member
|
/linux/include/linux/ |
A D | if_link.h | 25 __u32 spoofchk; member
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic.h | 33 u8 spoofchk; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
A D | ingress_lgcy.c | 176 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) { in esw_acl_ingress_lgcy_setup() 210 if (vport->info.spoofchk) { in esw_acl_ingress_lgcy_setup()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_virtchnl_pf.h | 103 bool spoofchk; member
|
A D | i40e_virtchnl_pf.c | 1765 vfs[i].spoofchk = true; in i40e_alloc_vfs() 3767 if (vf->spoofchk) { in i40e_vc_add_qch_msg() 4477 ivi->spoofchk = vf->spoofchk; in i40e_ndo_get_vf_config() 4589 if (enable == vf->spoofchk) in i40e_ndo_set_vf_spoofchk() 4592 vf->spoofchk = enable; in i40e_ndo_set_vf_spoofchk()
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_sriov.h | 133 bool spoofchk; member
|
A D | qlcnic_sriov_pf.c | 701 if (vp->spoofchk == true) { in qlcnic_sriov_set_vf_acl() 2010 ivi->spoofchk = vp->spoofchk; in qlcnic_sriov_get_vf_config() 2046 vp->spoofchk = chk; in qlcnic_sriov_set_vf_spoofchk()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_sriov.c | 239 ivi->spoofchk = FIELD_GET(NFP_NET_VF_CFG_CTRL_SPOOF, flags); in nfp_app_get_vf_config()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | eswitch.h | 151 u8 spoofchk: 1; member 361 u16 vport, bool spoofchk);
|
A D | eswitch.c | 1642 if (evport->info.spoofchk && !is_valid_ether_addr(mac)) in mlx5_esw_set_vport_mac_locked() 1836 ivi->spoofchk = evport->info.spoofchk; in mlx5_eswitch_get_vport_config()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_virtchnl_pf.h | 125 u8 spoofchk:1; member
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | cmd.c | 2024 vp_oper->state.spoofchk = vp_admin->spoofchk; in mlx4_master_activate_admin_state() 2045 if (vp_admin->spoofchk) { in mlx4_master_activate_admin_state() 3005 if (s_info->spoofchk && is_zero_ether_addr(mac)) { in mlx4_set_vf_mac() 3202 s_info->spoofchk = setting; in mlx4_set_vf_spoofchk() 3242 ivf->spoofchk = s_info->spoofchk; in mlx4_get_vf_config()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_main.c | 1914 vi->spoofchk = adapter->vf_cfg[vf].spoofchk; in be_get_vf_config() 2099 u8 spoofchk; in be_set_vf_spoofchk() local 2111 if (enable == vf_cfg->spoofchk) in be_set_vf_spoofchk() 2114 spoofchk = enable ? ENABLE_MAC_SPOOFCHK : DISABLE_MAC_SPOOFCHK; in be_set_vf_spoofchk() 2117 0, spoofchk); in be_set_vf_spoofchk() 2124 vf_cfg->spoofchk = enable; in be_set_vf_spoofchk() 4224 bool spoofchk; in be_vf_setup() local 4274 &spoofchk); in be_vf_setup() 4276 vf_cfg->spoofchk = spoofchk; in be_vf_setup()
|
A D | be_cmds.c | 3880 u32 domain, u16 intf_id, u16 hsw_mode, u8 spoofchk) in be_cmd_set_hsw_config() argument 3921 if (!BEx_chip(adapter) && spoofchk) { in be_cmd_set_hsw_config() 3923 ctxt, spoofchk); in be_cmd_set_hsw_config() 3925 ctxt, spoofchk); in be_cmd_set_hsw_config() 3938 u32 domain, u16 intf_id, u8 *mode, bool *spoofchk) in be_cmd_get_hsw_config() argument 3986 if (spoofchk) in be_cmd_get_hsw_config() 3987 *spoofchk = in be_cmd_get_hsw_config() 3989 spoofchk, &resp->context); in be_cmd_get_hsw_config()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_sriov.c | 210 if (vf->spoofchk) in bnx2x_vfop_qctor_prep() 1254 bnx2x_vf(bp, i, spoofchk) = 1; in bnx2x_iov_init_one() 2618 ivi->spoofchk = vf->spoofchk ? 1 : 0; in bnx2x_get_vf_config() 2948 if (vf->spoofchk == val) in bnx2x_set_vf_spoofchk() 2951 vf->spoofchk = val ? 1 : 0; in bnx2x_set_vf_spoofchk()
|
/linux/drivers/net/netdevsim/ |
A D | netdev.c | 183 ivi->spoofchk = nsim_dev->vfconfigs[vf].spoofchk_enabled; in nsim_get_vf_config()
|