Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/sfc/
Dsriov.c44 bool spoofchk) in efx_sriov_set_vf_spoofchk() argument
49 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk); in efx_sriov_set_vf_spoofchk()
Dsriov.h21 bool spoofchk);
Dsiena_sriov.h56 bool spoofchk);
Def10_sriov.h51 bool spoofchk);
Def10_sriov.c694 bool spoofchk) in efx_ef10_sriov_set_vf_spoofchk() argument
696 return spoofchk ? -EOPNOTSUPP : 0; in efx_ef10_sriov_set_vf_spoofchk()
Dsiena_sriov.c1634 bool spoofchk) in efx_siena_sriov_set_vf_spoofchk() argument
1647 spoofchk ? VF_TX_FILTER_ON : VF_TX_FILTER_OFF; in efx_siena_sriov_set_vf_spoofchk()
1675 ivi->spoofchk = vf->tx_filter_mode == VF_TX_FILTER_ON; in efx_siena_sriov_get_vf_config()
Dnet_driver.h1281 bool spoofchk);
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h91 bool spoofchk; member
216 int vport, bool spoofchk);
Deswitch.c1129 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) { in esw_vport_ingress_config()
1155 if (vport->info.spoofchk) { in esw_vport_ingress_config()
1728 if (evport->info.spoofchk && !is_valid_ether_addr(mac)) in mlx5_eswitch_set_vport_mac()
1809 ivi->spoofchk = evport->info.spoofchk; in mlx5_eswitch_get_vport_config()
1862 int vport, bool spoofchk) in mlx5_eswitch_set_vport_spoofchk() argument
1875 pschk = evport->info.spoofchk; in mlx5_eswitch_set_vport_spoofchk()
1876 evport->info.spoofchk = spoofchk; in mlx5_eswitch_set_vport_spoofchk()
1884 evport->info.spoofchk = pschk; in mlx5_eswitch_set_vport_spoofchk()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h110 bool spoofchk; member
Di40e_virtchnl_pf.c1294 vfs[i].spoofchk = true; in i40e_alloc_vfs()
3152 ivi->spoofchk = vf->spoofchk; in i40e_ndo_get_vf_config()
3257 if (enable == vf->spoofchk) in i40e_ndo_set_vf_spoofchk()
3260 vf->spoofchk = enable; in i40e_ndo_set_vf_spoofchk()
/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()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h134 bool spoofchk; member
Dqlcnic_sriov_pf.c700 if (vp->spoofchk == true) { in qlcnic_sriov_set_vf_acl()
2013 ivi->spoofchk = vp->spoofchk; in qlcnic_sriov_get_vf_config()
2049 vp->spoofchk = chk; in qlcnic_sriov_set_vf_spoofchk()
Dqlcnic_sriov_common.c214 vp->spoofchk = false; in qlcnic_sriov_init()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2031 vp_oper->state.spoofchk = vp_admin->spoofchk; in mlx4_master_activate_admin_state()
2052 if (vp_admin->spoofchk) { in mlx4_master_activate_admin_state()
3006 if (s_info->spoofchk && is_zero_ether_addr(mac)) { in mlx4_set_vf_mac()
3203 s_info->spoofchk = setting; in mlx4_set_vf_spoofchk()
3243 ivf->spoofchk = s_info->spoofchk; in mlx4_get_vf_config()
Dmlx4.h514 bool spoofchk; member
/drivers/net/ethernet/emulex/benet/
Dbe_main.c1834 vi->spoofchk = adapter->vf_cfg[vf].spoofchk; in be_get_vf_config()
2019 u8 spoofchk; in be_set_vf_spoofchk() local
2031 if (enable == vf_cfg->spoofchk) in be_set_vf_spoofchk()
2034 spoofchk = enable ? ENABLE_MAC_SPOOFCHK : DISABLE_MAC_SPOOFCHK; in be_set_vf_spoofchk()
2037 0, spoofchk); in be_set_vf_spoofchk()
2044 vf_cfg->spoofchk = enable; in be_set_vf_spoofchk()
4110 bool spoofchk; in be_vf_setup() local
4160 &spoofchk); in be_vf_setup()
4162 vf_cfg->spoofchk = spoofchk; in be_vf_setup()
Dbe_cmds.c3884 u32 domain, u16 intf_id, u16 hsw_mode, u8 spoofchk) in be_cmd_set_hsw_config() argument
3925 if (!BEx_chip(adapter) && spoofchk) { in be_cmd_set_hsw_config()
3927 ctxt, spoofchk); in be_cmd_set_hsw_config()
3929 ctxt, spoofchk); in be_cmd_set_hsw_config()
3942 u32 domain, u16 intf_id, u8 *mode, bool *spoofchk) in be_cmd_get_hsw_config() argument
3990 if (spoofchk) in be_cmd_get_hsw_config()
3991 *spoofchk = in be_cmd_get_hsw_config()
3993 spoofchk, &resp->context); in be_cmd_get_hsw_config()
Dbe_cmds.h1885 u8 spoofchk; member
2480 u16 intf_id, u16 hsw_mode, u8 spoofchk);
2482 u16 intf_id, u8 *mode, bool *spoofchk);
Dbe.h379 bool spoofchk; member
/drivers/net/
Ddummy.c260 ivi->spoofchk = priv->vfinfo[vf].spoofchk_enabled; in dummy_get_vf_config()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c146 ivi->spoofchk = !!(vf->flags & BNXT_VF_SPOOFCHK); in bnxt_get_vf_config()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c1708 ivi->spoofchk = adapter->vfinfo[vf].spoofchk_enabled; in ixgbe_ndo_get_vf_config()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2636 ivi->spoofchk = 1; /*always enabled */ in bnx2x_get_vf_config()

12