Home
last modified time | relevance | path

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

12

/dpdk/drivers/net/hns3/
H A Dhns3_regs.c129 if (hns->is_vf) in hns3_get_regs_length()
140 if (!hns->is_vf) { in hns3_get_regs_length()
306 if (hns->is_vf) in hns3_direct_access_regs()
311 if (hns->is_vf) in hns3_direct_access_regs()
507 if (hns->is_vf) in hns3_get_regs()
H A Dhns3_stats.c463 if (hw->drop_stats_mode == HNS3_PKTS_DROP_STATS_MODE1 && !hns->is_vf) in hns3_update_rpu_drop_stats()
549 if (hw->drop_stats_mode == HNS3_PKTS_DROP_STATS_MODE1 && hns->is_vf) in hns3_update_imissed_stats()
552 if (hw->drop_stats_mode == HNS3_PKTS_DROP_STATS_MODE2 && !hns->is_vf) { in hns3_update_imissed_stats()
574 if (hw->drop_stats_mode == HNS3_PKTS_DROP_STATS_MODE1 || hns->is_vf) in hns3_update_oerror_stats()
794 if (hw->drop_stats_mode == HNS3_PKTS_DROP_STATS_MODE1 && hns->is_vf) in hns3_get_imissed_stats_num()
797 if (hw->drop_stats_mode == HNS3_PKTS_DROP_STATS_MODE2 && !hns->is_vf) in hns3_get_imissed_stats_num()
825 if (hns->is_vf) in hns3_xstats_calc_num()
1067 if (!hns->is_vf) { in hns3_dev_xstats_get()
1242 if (!hns->is_vf) { in hns3_dev_xstats_get_names()
1485 if (hns->is_vf) in hns3_dev_xstats_reset()
[all …]
H A Dhns3_common.c144 if (!hns->is_vf) { in hns3_dev_infos_get()
373 mac_addrs_capa = hns->is_vf ? HNS3_VF_UC_MACADDR_NUM : in hns3_set_mc_addr_chk_param()
481 hns->is_vf ? HNS3_VF_UC_MACADDR_NUM : HNS3_UC_MACADDR_NUM; in hns3_configure_all_mac_addr()
595 const char *memory_name = hns->is_vf ? "hns3vf-mac" : "hns3-mac"; in hns3_init_mac_addrs()
596 uint16_t mac_addrs_capa = hns->is_vf ? HNS3_VF_UC_MACADDR_NUM : in hns3_init_mac_addrs()
612 if (!hns->is_vf) { in hns3_init_mac_addrs()
H A Dhns3_mbx.c457 !rte_thread_is_intr()) && hns->is_vf; in hns3_dev_handle_mbx_msg()
502 handle_out = hns->is_vf && desc->opcode == 0; in hns3_dev_handle_mbx_msg()
H A Dhns3_ethdev.h860 bool is_vf; /* false - PF, true - VF */ member
1071 if (hns->is_vf) in is_reset_pending()
H A Dhns3_cmd.c731 if (hns->is_vf) in hns3_cmd_init()
781 if (!hns->is_vf) in hns3_cmd_uninit()
H A Dhns3_rss.c551 if (hns->is_vf) { in hns3_set_rss_tc_mode_entry()
H A Dhns3_flow.c212 if (hns->is_vf) in hns3_counter_query()
1223 if (hns->is_vf) in hns3_parse_fdir_filter()
1994 if (!hns->is_vf) { in hns3_flow_flush()
H A Dhns3_ethdev_dump.c903 if (hns->is_vf) in hns3_eth_dev_priv_dump()
H A Dhns3_rxtx.c819 if (hns->is_vf) in hns3_reset_all_tqps()
1899 if (hns->is_vf || hw->vlan_mode == HNS3_SW_SHIFT_AND_DISCARD_MODE) in hns3_rx_queue_setup()
3044 if (hns->is_vf || hw->vlan_mode == HNS3_SW_SHIFT_AND_DISCARD_MODE) in hns3_tx_queue_setup()
/dpdk/drivers/net/bnx2x/
H A Dbnx2x_ethdev.c619 bnx2x_common_dev_init(struct rte_eth_dev *eth_dev, int is_vf) in bnx2x_common_dev_init() argument
638 eth_dev->dev_ops = is_vf ? &bnx2xvf_eth_dev_ops : &bnx2x_eth_dev_ops; in bnx2x_common_dev_init()
655 if (is_vf) in bnx2x_common_dev_init()
660 if (is_vf) in bnx2x_common_dev_init()
/dpdk/drivers/net/qede/
H A Dqede_main.c48 uint32_t dp_module, uint8_t dp_level, bool is_vf) in qed_probe() argument
57 if (is_vf) in qed_probe()
65 if (is_vf) in qed_probe()
H A Dqede_if.h142 uint32_t dp_module, uint8_t dp_level, bool is_vf);
H A Dqede_ethdev.c2497 static int qede_common_dev_init(struct rte_eth_dev *eth_dev, bool is_vf) in qede_common_dev_init() argument
2550 dp_level, is_vf); in qede_common_dev_init()
2638 if (!is_vf) in qede_common_dev_init()
2661 if (!is_vf) { in qede_common_dev_init()
2704 eth_dev->dev_ops = (is_vf) ? &qede_eth_vf_dev_ops : &qede_eth_dev_ops; in qede_common_dev_init()
2720 if (is_vf) { in qede_common_dev_init()
/dpdk/lib/ethdev/
H A Drte_eth_ctrl.h293 uint8_t is_vf; /**< 1 for VF, 0 for port dev */ member
/dpdk/drivers/net/qede/base/
H A Decore_dev_api.h645 bool is_vf);
/dpdk/drivers/common/cnxk/
H A Droc_npc_priv.h188 bool is_vf; member
H A Droc_npc.c759 parse_state.is_vf = !roc_nix_is_pf(roc_npc->roc_nix); in roc_npc_flow_parse()
1244 parse_state.is_vf = !roc_nix_is_pf(roc_npc->roc_nix); in roc_npc_flow_create()
H A Droc_npc_mcam.c777 if (pst->is_vf && pst->flow->nix_intf == NIX_INTF_RX) { in npc_program_mcam()
/dpdk/drivers/net/bnxt/
H A Dbnxt_hwrm.h239 int bnxt_hwrm_set_default_vlan(struct bnxt *bp, int vf, uint8_t is_vf);
/dpdk/drivers/net/ice/base/
H A Dice_switch.c3536 u16 swid, u16 pf_vf_num, bool is_vf) in ice_init_port_info() argument
3543 pi->is_vf = is_vf; in ice_init_port_info()
3590 bool is_vf = false; in ice_get_initial_sw_cfg() local
3603 is_vf = true; in ice_get_initial_sw_cfg()
3610 if (hw->dcf_enabled && !is_vf) in ice_get_initial_sw_cfg()
3622 pf_vf_num, is_vf); in ice_get_initial_sw_cfg()
H A Dice_type.h1100 u8 is_vf:1; member
/dpdk/drivers/net/i40e/
H A Di40e_flow.c3082 filter->input.flow_ext.is_vf = 1; in i40e_flow_parse_fdir_pattern()
3084 if (filter->input.flow_ext.is_vf && in i40e_flow_parse_fdir_pattern()
3181 if ((!filter->input.flow_ext.is_vf && in i40e_flow_parse_fdir_action()
3183 (filter->input.flow_ext.is_vf && in i40e_flow_parse_fdir_action()
H A Di40e_fdir.c1744 if (filter->input.flow_ext.is_vf && in i40e_flow_add_del_fdir_filter()
1959 if (filter->input.flow_ext.is_vf) in i40e_flow_fdir_filter_programming()
H A Di40e_ethdev.h640 uint8_t is_vf; /* 1 for VF, 0 for port dev */ member

12