/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | sriov.h | 47 bool spoofchk) 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()
|
H A D | siena_sriov.h | 53 bool spoofchk);
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H 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()
|
H A D | sriov.h | 18 bool spoofchk);
|
H A D | ef10_sriov.h | 46 bool spoofchk);
|
H A D | ef10_sriov.c | 730 int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i, bool spoofchk) in efx_ef10_sriov_set_vf_spoofchk() argument 737 spoofchk) in efx_ef10_sriov_set_vf_spoofchk() 742 spoofchk ? 0 : MC_CMD_PRIVILEGE_MASK_IN_GRP_MAC_SPOOFING_TX); in efx_ef10_sriov_set_vf_spoofchk()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
H A D | ingress_lgcy.c | 179 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) { in esw_acl_ingress_lgcy_setup() 216 if (vst_check_cvlan || vport->info.spoofchk) in esw_acl_ingress_lgcy_setup() 232 if (vport->info.spoofchk) { in esw_acl_ingress_lgcy_setup() 254 if (!vst_check_cvlan && !vport->info.spoofchk) in esw_acl_ingress_lgcy_setup()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | legacy.c | 455 u16 vport, bool spoofchk) in mlx5_eswitch_set_vport_spoofchk() argument 471 pschk = evport->info.spoofchk; in mlx5_eswitch_set_vport_spoofchk() 472 evport->info.spoofchk = spoofchk; in mlx5_eswitch_set_vport_spoofchk() 480 evport->info.spoofchk = pschk; in mlx5_eswitch_set_vport_spoofchk()
|
/openbmc/linux/include/linux/ |
H A D | if_link.h | 25 __u32 spoofchk; member
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_sriov.c | 584 ivi->spoofchk = vfinfo->spoofchk; in hinic_get_vf_config() 917 bool spoofchk) in hinic_set_vf_spoofchk() argument 930 spoofchk_cfg.state = spoofchk ? 1 : 0; in hinic_set_vf_spoofchk() 943 vf_infos[HW_VF_ID_TO_OS(vf_id)].spoofchk = spoofchk; in hinic_set_vf_spoofchk() 959 cur_spoofchk = nic_dev->hwdev->func_to_io.vf_infos[vf].spoofchk; in hinic_ndo_set_vf_spoofchk() 1142 if (vf_infos->spoofchk) in hinic_clear_vf_infos()
|
H A D | hinic_sriov.h | 45 bool spoofchk; member
|
/openbmc/linux/include/linux/pds/ |
H A D | pds_core_if.h | 373 u8 spoofchk; member 413 u8 spoofchk; member
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic.h | 33 u8 spoofchk; member
|
H A D | ionic_lif.c | 2351 vfdata->spoofchk = comp.spoofchk; in ionic_get_fw_vf_config() 2425 ivf->spoofchk = vfdata.spoofchk; in ionic_get_vf_config() 2592 vfc.spoofchk = set; in ionic_set_vf_spoofchk() 2594 __func__, vf, vfc.spoofchk); in ionic_set_vf_spoofchk() 2598 ionic->vfs[vf].spoofchk = set; in ionic_set_vf_spoofchk() 2719 if (v->spoofchk) { in ionic_vf_attr_replay() 2721 vfc.spoofchk = v->spoofchk; in ionic_vf_attr_replay() 2723 vfc.spoofchk = 0; in ionic_vf_attr_replay()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_virtchnl_pf.h | 102 bool spoofchk; member
|
/openbmc/qemu/linux-user/ |
H A D | fd-trans.c | 900 struct ifla_vf_spoofchk *spoofchk; in host_to_target_data_vfinfo_nlattr() local 932 spoofchk = NLA_DATA(nlattr); in host_to_target_data_vfinfo_nlattr() 933 spoofchk->vf = tswap32(spoofchk->vf); in host_to_target_data_vfinfo_nlattr() 934 spoofchk->setting = tswap32(spoofchk->setting); in host_to_target_data_vfinfo_nlattr()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth.h | 38 u8 spoofchk:1; member
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_sriov.c | 1151 if (ena == vf->spoofchk) { in ice_set_vf_spoofchk() 1162 vf->spoofchk = ena; in ice_set_vf_spoofchk() 1202 ivi->spoofchk = vf->spoofchk; in ice_get_vf_cfg()
|
H A D | ice_vf_lib.h | 110 u8 spoofchk:1; member
|
H A D | ice_vf_lib.c | 500 if (ice_vsi_apply_spoofchk(vsi, vf->spoofchk)) in ice_vf_rebuild_host_cfg() 1002 vf->spoofchk = true; in ice_initialize_vf_entry() 1319 err = ice_vsi_apply_spoofchk(vsi, vf->spoofchk); in ice_vf_init_host_cfg()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sriov.h | 133 bool spoofchk; member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_sriov.c | 292 ivi->spoofchk = FIELD_GET(NFP_NET_VF_CFG_CTRL_SPOOF, flags); in nfp_app_get_vf_config()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cmd.c | 2019 vp_oper->state.spoofchk = vp_admin->spoofchk; in mlx4_master_activate_admin_state() 2040 if (vp_admin->spoofchk) { in mlx4_master_activate_admin_state() 2994 if (s_info->spoofchk && is_zero_ether_addr(mac)) { in mlx4_set_vf_mac() 3191 s_info->spoofchk = setting; in mlx4_set_vf_spoofchk() 3231 ivf->spoofchk = s_info->spoofchk; in mlx4_get_vf_config()
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H 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() 4225 bool spoofchk; in be_vf_setup() local 4275 &spoofchk); in be_vf_setup() 4277 vf_cfg->spoofchk in be_vf_setup() [all...] |
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 210 if (vf->spoofchk) in bnx2x_vfop_qctor_prep() 1267 bnx2x_vf(bp, i, spoofchk) = 1; in bnx2x_iov_init_one() 2631 ivi->spoofchk = vf->spoofchk ? 1 : 0; in bnx2x_get_vf_config() 2961 if (vf->spoofchk == val) in bnx2x_set_vf_spoofchk() 2964 vf->spoofchk = val ? 1 : 0; in bnx2x_set_vf_spoofchk()
|