Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/sfc/siena/
H A 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()
H A Dsiena_sriov.h53 bool spoofchk);
H A Dsiena_sriov.c1632 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/sfc/
H A 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()
H A Dsriov.h18 bool spoofchk);
H A Def10_sriov.h46 bool spoofchk);
H A Def10_sriov.c729 int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i, bool spoofchk) in efx_ef10_sriov_set_vf_spoofchk() argument
736 spoofchk) in efx_ef10_sriov_set_vf_spoofchk()
741 spoofchk ? 0 : MC_CMD_PRIVILEGE_MASK_IN_GRP_MAC_SPOOFING_TX); in efx_ef10_sriov_set_vf_spoofchk()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c453 u16 vport, bool spoofchk) in mlx5_eswitch_set_vport_spoofchk() argument
469 pschk = evport->info.spoofchk; in mlx5_eswitch_set_vport_spoofchk()
470 evport->info.spoofchk = spoofchk; in mlx5_eswitch_set_vport_spoofchk()
478 evport->info.spoofchk = pschk; in mlx5_eswitch_set_vport_spoofchk()
/linux/include/linux/
H A Dif_link.h25 __u32 spoofchk; member
/linux/drivers/net/ethernet/huawei/hinic/
H A 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()
H A Dhinic_sriov.h45 bool spoofchk; member
/linux/include/linux/pds/
H A Dpds_core_if.h374 u8 spoofchk; member
414 u8 spoofchk; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h111 bool spoofchk; member
H A Di40e_virtchnl_pf.c1862 vfs[i].spoofchk = true; in i40e_alloc_vfs()
4055 if (vf->spoofchk) { in i40e_vc_add_qch_msg()
4778 ivi->spoofchk = vf->spoofchk; in i40e_ndo_get_vf_config()
4924 if (enable == vf->spoofchk) in i40e_ndo_set_vf_spoofchk()
4927 vf->spoofchk = enable; in i40e_ndo_set_vf_spoofchk()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.c516 if (ice_vsi_apply_spoofchk(vsi, vf->spoofchk)) in ice_vf_rebuild_host_cfg()
1009 vf->spoofchk = true; in ice_initialize_vf_entry()
1332 err = ice_vsi_apply_spoofchk(vsi, vf->spoofchk); in ice_vf_init_host_cfg()
H A Dice_sriov.c1224 if (ena == vf->spoofchk) { in ice_set_vf_spoofchk()
1235 vf->spoofchk = ena; in ice_set_vf_spoofchk()
1275 ivi->spoofchk = vf->spoofchk; in ice_get_vf_cfg()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov.h133 bool spoofchk; member
H A 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/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c292 ivi->spoofchk = FIELD_GET(NFP_NET_VF_CFG_CTRL_SPOOF, flags); in nfp_app_get_vf_config()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1915 vi->spoofchk = adapter->vf_cfg[vf].spoofchk; in be_get_vf_config()
2100 u8 spoofchk; in be_set_vf_spoofchk() local
2112 if (enable == vf_cfg->spoofchk) in be_set_vf_spoofchk()
2115 spoofchk = enable ? ENABLE_MAC_SPOOFCHK : DISABLE_MAC_SPOOFCHK; in be_set_vf_spoofchk()
2118 0, spoofchk); in be_set_vf_spoofchk()
2125 vf_cfg->spoofchk = enable; in be_set_vf_spoofchk()
4226 bool spoofchk; in be_vf_setup() local
4276 &spoofchk); in be_vf_setup()
4278 vf_cfg->spoofchk = spoofchk; in be_vf_setup()
H A Dbe_cmds.c3886 u32 domain, u16 intf_id, u16 hsw_mode, u8 spoofchk) in be_cmd_set_hsw_config() argument
3927 if (!BEx_chip(adapter) && spoofchk) { in be_cmd_set_hsw_config()
3929 ctxt, spoofchk); in be_cmd_set_hsw_config()
3931 ctxt, spoofchk); in be_cmd_set_hsw_config()
3944 u32 domain, u16 intf_id, u8 *mode, bool *spoofchk) in be_cmd_get_hsw_config() argument
3992 if (spoofchk) in be_cmd_get_hsw_config()
3993 *spoofchk = in be_cmd_get_hsw_config()
3995 spoofchk, &resp->context); in be_cmd_get_hsw_config()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c210 if (vf->spoofchk) in bnx2x_vfop_qctor_prep()
1264 bnx2x_vf(bp, i, spoofchk) = 1; in bnx2x_iov_init_one()
2627 ivi->spoofchk = vf->spoofchk ? 1 : 0; in bnx2x_get_vf_config()
2957 if (vf->spoofchk == val) in bnx2x_set_vf_spoofchk()
2960 vf->spoofchk = val ? 1 : 0; in bnx2x_set_vf_spoofchk()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h162 u8 spoofchk: 1; member
453 u16 vport, bool spoofchk);
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c2363 ivf->spoofchk = vfdata->spoofchk; in ionic_get_vf_config()
2529 vfc.spoofchk = set; in ionic_set_vf_spoofchk()
2531 __func__, vf, vfc.spoofchk); in ionic_set_vf_spoofchk()
2535 ionic->vfs[vf].spoofchk = set; in ionic_set_vf_spoofchk()
2656 if (v->spoofchk) { in ionic_vf_attr_replay()
2658 vfc.spoofchk = v->spoofchk; in ionic_vf_attr_replay()
2660 vfc.spoofchk = 0; in ionic_vf_attr_replay()

12