Home
last modified time | relevance | path

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

12

/Linux-v5.10/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);
Dsiena_sriov.h53 bool spoofchk);
Def10_sriov.h48 bool spoofchk);
Def10_sriov.c738 int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i, bool spoofchk) in efx_ef10_sriov_set_vf_spoofchk() argument
745 spoofchk) in efx_ef10_sriov_set_vf_spoofchk()
750 spoofchk ? 0 : MC_CMD_PRIVILEGE_MASK_IN_GRP_MAC_SPOOFING_TX); in efx_ef10_sriov_set_vf_spoofchk()
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-v5.10/include/linux/
Dif_link.h25 __u32 spoofchk; member
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c564 ivi->spoofchk = vfinfo->spoofchk; in hinic_get_vf_config()
901 bool spoofchk) in hinic_set_vf_spoofchk() argument
914 spoofchk_cfg.state = spoofchk ? 1 : 0; in hinic_set_vf_spoofchk()
927 vf_infos[HW_VF_ID_TO_OS(vf_id)].spoofchk = spoofchk; in hinic_set_vf_spoofchk()
943 cur_spoofchk = nic_dev->hwdev->func_to_io.vf_infos[vf].spoofchk; in hinic_ndo_set_vf_spoofchk()
1126 if (vf_infos->spoofchk) in hinic_clear_vf_infos()
Dhinic_sriov.h45 bool spoofchk; member
/Linux-v5.10/drivers/net/ethernet/pensando/ionic/
Dionic.h28 u8 spoofchk; member
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h102 bool spoofchk; member
Di40e_virtchnl_pf.c1683 vfs[i].spoofchk = true; in i40e_alloc_vfs()
3647 if (vf->spoofchk) { in i40e_vc_add_qch_msg()
4423 ivi->spoofchk = vf->spoofchk; in i40e_ndo_get_vf_config()
4540 if (enable == vf->spoofchk) in i40e_ndo_set_vf_spoofchk()
4543 vf->spoofchk = enable; in i40e_ndo_set_vf_spoofchk()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_lgcy.c174 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) { in esw_acl_ingress_lgcy_setup()
208 if (vport->info.spoofchk) { in esw_acl_ingress_lgcy_setup()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.h84 u8 spoofchk:1; member
Dice_virtchnl_pf.c1514 vf->spoofchk = true; in ice_set_dflt_settings_vfs()
2241 if (ena == vf->spoofchk) { in ice_set_vf_spoofchk()
2275 vf->spoofchk = ena; in ice_set_vf_spoofchk()
3790 ivi->spoofchk = vf->spoofchk; in ice_get_vf_cfg()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1831 if (evport->info.spoofchk && !is_valid_ether_addr(mac)) in mlx5_esw_set_vport_mac_locked()
2001 ivi->spoofchk = evport->info.spoofchk; in mlx5_eswitch_get_vport_config()
2057 u16 vport, bool spoofchk) in mlx5_eswitch_set_vport_spoofchk() argument
2069 pschk = evport->info.spoofchk; in mlx5_eswitch_set_vport_spoofchk()
2070 evport->info.spoofchk = spoofchk; in mlx5_eswitch_set_vport_spoofchk()
2078 evport->info.spoofchk = pschk; in mlx5_eswitch_set_vport_spoofchk()
Deswitch.h124 bool spoofchk; member
309 u16 vport, bool spoofchk);
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h133 bool spoofchk; member
Dqlcnic_sriov_pf.c699 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-v5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.c239 ivi->spoofchk = FIELD_GET(NFP_NET_VF_CFG_CTRL_SPOOF, flags); in nfp_app_get_vf_config()
/Linux-v5.10/drivers/net/netdevsim/
Dnetdev.c178 ivi->spoofchk = nsim_bus_dev->vfconfigs[vf].spoofchk_enabled; in nsim_get_vf_config()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2024 vp_oper->state.spoofchk = vp_admin->spoofchk; in mlx4_master_activate_admin_state()
2045 if (vp_admin->spoofchk) { in mlx4_master_activate_admin_state()
2996 if (s_info->spoofchk && is_zero_ether_addr(mac)) { in mlx4_set_vf_mac()
3193 s_info->spoofchk = setting; in mlx4_set_vf_spoofchk()
3233 ivf->spoofchk = s_info->spoofchk; in mlx4_get_vf_config()
/Linux-v5.10/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()
4224 bool spoofchk; in be_vf_setup() local
4274 &spoofchk); in be_vf_setup()
4276 vf_cfg->spoofchk = spoofchk; in be_vf_setup()
Dbe_cmds.c3878 u32 domain, u16 intf_id, u16 hsw_mode, u8 spoofchk) in be_cmd_set_hsw_config() argument
3919 if (!BEx_chip(adapter) && spoofchk) { in be_cmd_set_hsw_config()
3921 ctxt, spoofchk); in be_cmd_set_hsw_config()
3923 ctxt, spoofchk); in be_cmd_set_hsw_config()
3936 u32 domain, u16 intf_id, u8 *mode, bool *spoofchk) in be_cmd_get_hsw_config() argument
3984 if (spoofchk) in be_cmd_get_hsw_config()
3985 *spoofchk = in be_cmd_get_hsw_config()
3987 spoofchk, &resp->context); in be_cmd_get_hsw_config()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c210 if (vf->spoofchk) in bnx2x_vfop_qctor_prep()
1253 bnx2x_vf(bp, i, spoofchk) = 1; in bnx2x_iov_init_one()
2623 ivi->spoofchk = vf->spoofchk ? 1 : 0; in bnx2x_get_vf_config()
2953 if (vf->spoofchk == val) in bnx2x_set_vf_spoofchk()
2956 vf->spoofchk = val ? 1 : 0; in bnx2x_set_vf_spoofchk()

12