/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | sriov.c | 41 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()
|
D | sriov.h | 18 bool spoofchk);
|
D | siena_sriov.h | 53 bool spoofchk);
|
D | ef10_sriov.h | 48 bool spoofchk);
|
D | ef10_sriov.c | 690 bool spoofchk) in efx_ef10_sriov_set_vf_spoofchk() argument 692 return spoofchk ? -EOPNOTSUPP : 0; in efx_ef10_sriov_set_vf_spoofchk()
|
D | siena_sriov.c | 1631 bool spoofchk) in efx_siena_sriov_set_vf_spoofchk() argument 1644 spoofchk ? VF_TX_FILTER_ON : VF_TX_FILTER_OFF; in efx_siena_sriov_set_vf_spoofchk() 1672 ivi->spoofchk = vf->tx_filter_mode == VF_TX_FILTER_ON; in efx_siena_sriov_get_vf_config()
|
D | net_driver.h | 1401 bool spoofchk);
|
/Linux-v5.4/include/linux/ |
D | if_link.h | 25 __u32 spoofchk; member
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 103 bool spoofchk; member
|
D | i40e_virtchnl_pf.c | 1611 vfs[i].spoofchk = true; in i40e_alloc_vfs() 3563 if (vf->spoofchk) { in i40e_vc_add_qch_msg() 4339 ivi->spoofchk = vf->spoofchk; in i40e_ndo_get_vf_config() 4456 if (enable == vf->spoofchk) in i40e_ndo_set_vf_spoofchk() 4459 vf->spoofchk = enable; in i40e_ndo_set_vf_spoofchk()
|
/Linux-v5.4/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl_pf.h | 76 u8 spoofchk:1; member
|
D | ice_virtchnl_pf.c | 1341 vfs[i].spoofchk = true; in ice_alloc_vfs() 3051 ivi->spoofchk = vf->spoofchk; in ice_get_vf_cfg() 3093 if (ena == vf->spoofchk) { in ice_set_vf_spoofchk() 3118 vf->spoofchk = ena; in ice_set_vf_spoofchk()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 1252 if (!vport->info.vlan && !vport->info.qos && !vport->info.spoofchk) { in esw_vport_ingress_config() 1278 if (vport->info.spoofchk) { in esw_vport_ingress_config() 2063 if (evport->info.spoofchk && !is_valid_ether_addr(mac)) in mlx5_eswitch_set_vport_mac() 2139 ivi->spoofchk = evport->info.spoofchk; in mlx5_eswitch_get_vport_config() 2194 u16 vport, bool spoofchk) in mlx5_eswitch_set_vport_spoofchk() argument 2206 pschk = evport->info.spoofchk; in mlx5_eswitch_set_vport_spoofchk() 2207 evport->info.spoofchk = spoofchk; in mlx5_eswitch_set_vport_spoofchk() 2215 evport->info.spoofchk = pschk; in mlx5_eswitch_set_vport_spoofchk()
|
D | eswitch.h | 101 bool spoofchk; member 281 u16 vport, bool spoofchk);
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov.h | 134 bool spoofchk; member
|
D | qlcnic_sriov_pf.c | 700 if (vp->spoofchk == true) { in qlcnic_sriov_set_vf_acl() 2009 ivi->spoofchk = vp->spoofchk; in qlcnic_sriov_get_vf_config() 2045 vp->spoofchk = chk; in qlcnic_sriov_set_vf_spoofchk()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_sriov.c | 239 ivi->spoofchk = FIELD_GET(NFP_NET_VF_CFG_CTRL_SPOOF, flags); in nfp_app_get_vf_config()
|
/Linux-v5.4/drivers/net/netdevsim/ |
D | netdev.c | 177 ivi->spoofchk = nsim_bus_dev->vfconfigs[vf].spoofchk_enabled; in nsim_get_vf_config()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 2024 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.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 210 if (vf->spoofchk) in bnx2x_vfop_qctor_prep() 1274 bnx2x_vf(bp, i, spoofchk) = 1; in bnx2x_iov_init_one() 2638 ivi->spoofchk = vf->spoofchk ? 1 : 0; in bnx2x_get_vf_config() 2968 if (vf->spoofchk == val) in bnx2x_set_vf_spoofchk() 2971 vf->spoofchk = val ? 1 : 0; in bnx2x_set_vf_spoofchk()
|
D | bnx2x_sriov.h | 146 u8 spoofchk; member
|
/Linux-v5.4/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1915 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() 4208 bool spoofchk; in be_vf_setup() local 4258 &spoofchk); in be_vf_setup() 4260 vf_cfg->spoofchk = spoofchk; in be_vf_setup()
|
D | be_cmds.c | 3878 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()
|
D | be_cmds.h | 1881 u8 spoofchk; member 2476 u16 intf_id, u16 hsw_mode, u8 spoofchk); 2478 u16 intf_id, u8 *mode, bool *spoofchk);
|
D | be.h | 354 bool spoofchk; member
|