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

/linux-4.4.14/include/linux/
H A Dif_link.h22 __u32 spoofchk; member in struct:ifla_vf_info
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dsriov.h21 bool spoofchk);
H A Dsriov.c41 bool spoofchk) efx_sriov_set_vf_spoofchk()
46 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk); efx_sriov_set_vf_spoofchk()
40 efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, bool spoofchk) efx_sriov_set_vf_spoofchk() argument
H A Def10_sriov.h51 bool spoofchk);
H A Dsiena_sriov.h56 bool spoofchk);
H A Def10_sriov.c665 bool spoofchk) efx_ef10_sriov_set_vf_spoofchk()
667 return spoofchk ? -EOPNOTSUPP : 0; efx_ef10_sriov_set_vf_spoofchk()
664 efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i, bool spoofchk) efx_ef10_sriov_set_vf_spoofchk() argument
H A Dsiena_sriov.c1634 bool spoofchk) efx_siena_sriov_set_vf_spoofchk()
1647 spoofchk ? VF_TX_FILTER_ON : VF_TX_FILTER_OFF; efx_siena_sriov_set_vf_spoofchk()
1675 ivi->spoofchk = vf->tx_filter_mode == VF_TX_FILTER_ON; efx_siena_sriov_get_vf_config()
1633 efx_siena_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i, bool spoofchk) efx_siena_sriov_set_vf_spoofchk() argument
H A Dnet_driver.h1339 bool spoofchk);
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h108 bool spoofchk; member in struct:i40e_vf
H A Di40e_virtchnl_pf.c968 vfs[i].spoofchk = true; i40e_alloc_vfs()
2367 ivi->spoofchk = vf->spoofchk; i40e_ndo_get_vf_config()
2464 if (enable == vf->spoofchk) i40e_ndo_set_vf_spoofchk()
2467 vf->spoofchk = enable; i40e_ndo_set_vf_spoofchk()
H A Di40e_main.c8909 if (pf->vf[vsi->vf_id].spoofchk) { i40e_add_vsi()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov.h134 bool spoofchk; member in struct:qlcnic_vport
H A Dqlcnic_sriov_pf.c700 if (vp->spoofchk == true) { qlcnic_sriov_set_vf_acl()
2010 ivi->spoofchk = vp->spoofchk; qlcnic_sriov_get_vf_config()
2046 vp->spoofchk = chk; qlcnic_sriov_set_vf_spoofchk()
H A Dqlcnic_sriov_common.c206 vp->spoofchk = false; qlcnic_sriov_init()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c3226 u32 domain, u16 intf_id, u16 hsw_mode, u8 spoofchk) be_cmd_set_hsw_config()
3263 if (!BEx_chip(adapter) && spoofchk) { be_cmd_set_hsw_config()
3265 ctxt, spoofchk); be_cmd_set_hsw_config()
3267 ctxt, spoofchk); be_cmd_set_hsw_config()
3280 u32 domain, u16 intf_id, u8 *mode, bool *spoofchk) be_cmd_get_hsw_config()
3328 if (spoofchk) be_cmd_get_hsw_config()
3329 *spoofchk = be_cmd_get_hsw_config()
3331 spoofchk, &resp->context); be_cmd_get_hsw_config()
3225 be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, u32 domain, u16 intf_id, u16 hsw_mode, u8 spoofchk) be_cmd_set_hsw_config() argument
3279 be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, u32 domain, u16 intf_id, u8 *mode, bool *spoofchk) be_cmd_get_hsw_config() argument
H A Dbe_main.c1626 vi->spoofchk = adapter->vf_cfg[vf].spoofchk; be_get_vf_config()
1807 u8 spoofchk; be_set_vf_spoofchk() local
1819 if (enable == vf_cfg->spoofchk) be_set_vf_spoofchk()
1822 spoofchk = enable ? ENABLE_MAC_SPOOFCHK : DISABLE_MAC_SPOOFCHK; be_set_vf_spoofchk()
1825 0, spoofchk); be_set_vf_spoofchk()
1832 vf_cfg->spoofchk = enable; be_set_vf_spoofchk()
3914 bool spoofchk; be_vf_setup() local
3964 &spoofchk); for_all_vfs()
3966 vf_cfg->spoofchk = spoofchk; for_all_vfs()
H A Dbe_cmds.h1814 u8 spoofchk; member in struct:amap_get_hsw_resp_context
2375 u16 intf_id, u16 hsw_mode, u8 spoofchk);
2377 u16 intf_id, u8 *mode, bool *spoofchk);
H A Dbe.h374 bool spoofchk; member in struct:be_vf_cfg
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c2018 if (vp_admin->spoofchk) { mlx4_master_activate_admin_state()
3089 s_info->spoofchk = setting; mlx4_set_vf_spoofchk()
3128 ivf->spoofchk = s_info->spoofchk; mlx4_get_vf_config()
H A Dmlx4.h510 bool spoofchk; member in struct:mlx4_vport_state
H A Dresource_tracker.c804 if (vp_oper->state.spoofchk) { update_vport_qp_param()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c99 ivi->spoofchk = vf->flags & BNXT_VF_SPOOFCHK; bnxt_get_vf_config()
/linux-4.4.14/net/core/
H A Drtnetlink.c1097 ivi.spoofchk = -1; rtnl_fill_vfinfo()
1123 vf_spoofchk.setting = ivi.spoofchk; rtnl_fill_vfinfo()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c1526 ivi->spoofchk = adapter->vfinfo[vf].spoofchk_enabled; ixgbe_ndo_get_vf_config()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c2618 ivi->spoofchk = 1; /*always enabled */ bnx2x_get_vf_config()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A Digb_main.c7892 ivi->spoofchk = adapter->vf_data[vf].spoofchk_enabled; igb_ndo_get_vf_config()

Completed in 1374 milliseconds