Searched refs:spoofchk (Results 1 - 25 of 51) sorted by relevance

123

/linux-master/drivers/net/ethernet/sfc/
H A Dsriov.h18 bool spoofchk);
H A Dsriov.c41 bool spoofchk)
46 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk);
40 efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, bool spoofchk) argument
H A Def10_sriov.h46 bool spoofchk);
H A Def10_sriov.c730 int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i, bool spoofchk) argument
734 /* Can't enable spoofchk if firmware doesn't support it. */
737 spoofchk)
742 spoofchk ? 0 : MC_CMD_PRIVILEGE_MASK_IN_GRP_MAC_SPOOFING_TX);
/linux-master/include/linux/
H A Dif_link.h25 __u32 spoofchk; member in struct:ifla_vf_info
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dsriov.h47 bool spoofchk)
52 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk);
46 efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, bool spoofchk) argument
H A Dsiena_sriov.h53 bool spoofchk);
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.h45 bool spoofchk; member in struct:vf_data_storage
H A Dhinic_sriov.c584 ivi->spoofchk = vfinfo->spoofchk;
917 bool spoofchk)
930 spoofchk_cfg.state = spoofchk ? 1 : 0;
937 dev_err(&hwdev->hwif->pdev->dev, "Failed to set VF(%d) spoofchk, err: %d, status: 0x%x, out size: 0x%x\n",
943 vf_infos[HW_VF_ID_TO_OS(vf_id)].spoofchk = spoofchk;
959 cur_spoofchk = nic_dev->hwdev->func_to_io.vf_infos[vf].spoofchk;
968 netif_info(nic_dev, drv, netdev, "Set VF %d spoofchk %s successfully\n",
972 "Current firmware doesn't support to set vf spoofchk, nee
916 hinic_set_vf_spoofchk(struct hinic_hwdev *hwdev, u16 vf_id, bool spoofchk) argument
[all...]
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic.h33 u8 spoofchk; member in struct:ionic_vf
H A Dionic_lif.c2323 ivf->spoofchk = vfdata->spoofchk;
2489 vfc.spoofchk = set;
2491 __func__, vf, vfc.spoofchk);
2495 ionic->vfs[vf].spoofchk = set;
2616 if (v->spoofchk) {
2618 vfc.spoofchk = v->spoofchk;
2620 vfc.spoofchk = 0;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_lgcy.c45 esw_warn(dev, "vport[%d] ingress create untagged spoofchk flow group, err(%d)\n",
78 esw_warn(dev, "vport[%d] ingress create spoofchk flow group, err(%d)\n",
179 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) {
216 if (vst_check_cvlan || vport->info.spoofchk)
232 if (vport->info.spoofchk) {
254 if (!vst_check_cvlan && !vport->info.spoofchk)
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h102 bool spoofchk; member in struct:i40e_vf
/linux-master/include/linux/pds/
H A Dpds_core_if.h358 * @spoofchk: enable address spoof checking
374 u8 spoofchk; member in union:pds_core_vf_setattr_cmd::__anon2419
414 u8 spoofchk; member in union:pds_core_vf_getattr_comp::__anon2421
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c455 u16 vport, bool spoofchk)
471 pschk = evport->info.spoofchk;
472 evport->info.spoofchk = spoofchk;
480 evport->info.spoofchk = pschk;
454 mlx5_eswitch_set_vport_spoofchk(struct mlx5_eswitch *esw, u16 vport, bool spoofchk) argument
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth.h38 u8 spoofchk:1; member in struct:fun_vport_info
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov.h133 bool spoofchk; member in struct:qlcnic_vport
H A Dqlcnic_sriov_pf.c701 if (vp->spoofchk == true) {
2008 ivi->spoofchk = vp->spoofchk;
2044 vp->spoofchk = chk;
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.h109 u8 spoofchk:1; member in struct:ice_vf
H A Dice_sriov.c1359 if (ena == vf->spoofchk) {
1360 dev_dbg(dev, "VF spoofchk already %s\n", ena ? "ON" : "OFF");
1367 dev_err(dev, "Failed to set spoofchk %s for VF %d VSI %d\n error %d\n",
1370 vf->spoofchk = ena;
1410 ivi->spoofchk = vf->spoofchk;
H A Dice_vf_lib.c510 if (ice_vsi_apply_spoofchk(vsi, vf->spoofchk))
511 dev_err(dev, "failed to rebuild spoofchk configuration for VF %d\n",
994 vf->spoofchk = true;
1300 err = ice_vsi_apply_spoofchk(vsi, vf->spoofchk);
1302 dev_warn(dev, "Failed to initialize spoofchk setting for VF %d\n",
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c186 "spoofchk", true);
199 "spoofchk");
292 ivi->spoofchk = FIELD_GET(NFP_NET_VF_CFG_CTRL_SPOOF, flags);
/linux-master/drivers/net/netdevsim/
H A Dnetdev.c201 ivi->spoofchk = nsim_dev->vfconfigs[vf].spoofchk_enabled;
/linux-master/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1914 vi->spoofchk = adapter->vf_cfg[vf].spoofchk;
2099 u8 spoofchk; local
2111 if (enable == vf_cfg->spoofchk)
2114 spoofchk = enable ? ENABLE_MAC_SPOOFCHK : DISABLE_MAC_SPOOFCHK;
2117 0, spoofchk);
2124 vf_cfg->spoofchk = enable;
4225 bool spoofchk; local
4275 &spoofchk);
4277 vf_cfg->spoofchk
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h162 u8 spoofchk: 1; member in struct:mlx5_vport_info
424 u16 vport, bool spoofchk);

Completed in 470 milliseconds

123