Home
last modified time | relevance | path

Searched refs:spoofchk (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dsriov.h47 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()
Dsiena_sriov.h53 bool spoofchk);
/linux-6.6.21/drivers/net/ethernet/sfc/
Dsriov.c41 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()
Dsriov.h18 bool spoofchk);
Def10_sriov.h46 bool spoofchk);
Def10_sriov.c730 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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_lgcy.c179 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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c455 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()
/linux-6.6.21/include/linux/
Dif_link.h25 __u32 spoofchk; member
/linux-6.6.21/include/linux/pds/
Dpds_core_if.h373 u8 spoofchk; member
413 u8 spoofchk; member
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c584 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()
Dhinic_sriov.h45 bool spoofchk; member
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic.h33 u8 spoofchk; member
Dionic_lif.c2353 vfdata->spoofchk = comp.spoofchk; in ionic_get_fw_vf_config()
2427 ivf->spoofchk = vfdata.spoofchk; in ionic_get_vf_config()
2594 vfc.spoofchk = set; in ionic_set_vf_spoofchk()
2596 __func__, vf, vfc.spoofchk); in ionic_set_vf_spoofchk()
2600 ionic->vfs[vf].spoofchk = set; in ionic_set_vf_spoofchk()
2721 if (v->spoofchk) { in ionic_vf_attr_replay()
2723 vfc.spoofchk = v->spoofchk; in ionic_vf_attr_replay()
2725 vfc.spoofchk = 0; in ionic_vf_attr_replay()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h100 bool spoofchk; member
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/
Dfuneth.h38 u8 spoofchk:1; member
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_vf_lib.c500 if (ice_vsi_apply_spoofchk(vsi, vf->spoofchk)) in ice_vf_rebuild_host_cfg()
985 vf->spoofchk = true; in ice_initialize_vf_entry()
1291 err = ice_vsi_apply_spoofchk(vsi, vf->spoofchk); in ice_vf_init_host_cfg()
Dice_vf_lib.h110 u8 spoofchk:1; member
Dice_sriov.c1153 if (ena == vf->spoofchk) { in ice_set_vf_spoofchk()
1164 vf->spoofchk = ena; in ice_set_vf_spoofchk()
1204 ivi->spoofchk = vf->spoofchk; in ice_get_vf_cfg()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h133 bool spoofchk; member
Dqlcnic_sriov_pf.c701 if (vp->spoofchk == true) { in qlcnic_sriov_set_vf_acl()
2008 ivi->spoofchk = vp->spoofchk; in qlcnic_sriov_get_vf_config()
2044 vp->spoofchk = chk; in qlcnic_sriov_set_vf_spoofchk()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.c292 ivi->spoofchk = FIELD_GET(NFP_NET_VF_CFG_CTRL_SPOOF, flags); in nfp_app_get_vf_config()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h162 u8 spoofchk: 1; member
424 u16 vport, bool spoofchk);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2019 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()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_main.c1914 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 = spoofchk; in be_vf_setup()

123