Home
last modified time | relevance | path

Searched refs:mac_type (Results 1 – 23 of 23) sorted by relevance

/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_ethdev.c282 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_mtu_setup()
287 } else if (hw->retimer.mac_type == in ipn3ke_mtu_setup()
303 uint64_t port_num, mac_type, index; in ipn3ke_hw_init() local
325 "LineSideMACType", &mac_type); in ipn3ke_hw_init()
326 hw->retimer.mac_type = (int)mac_type; in ipn3ke_hw_init()
355 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_hw_init()
379 } else if (hw->retimer.mac_type == in ipn3ke_hw_init()
428 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_hw_uninit()
448 } else if (hw->retimer.mac_type == in ipn3ke_hw_uninit()
H A Dipn3ke_representor.c51 (hw->retimer.mac_type == in ipn3ke_rpst_dev_infos_get()
54 ((hw->retimer.mac_type == in ipn3ke_rpst_dev_infos_get()
137 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_rpst_dev_start()
176 } else if (hw->retimer.mac_type == in ipn3ke_rpst_dev_start()
202 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_rpst_dev_stop()
222 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_rpst_dev_close()
242 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_rpst_dev_reset()
2097 } else if (hw->retimer.mac_type == in ipn3ke_rpst_stats_reset()
2628 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_rpst_promiscuous_enable()
2655 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_rpst_promiscuous_disable()
[all …]
H A Dipn3ke_rawdev_api.h53 enum ifpga_rawdev_retimer_mac_type mac_type; member
/dpdk/drivers/bus/dpaa/base/fman/
H A Dfman.c45 if (__if->__if.mac_type == fman_offline) in if_destructor()
156 if (__if->__if.mac_type == fman_mac_1g) { in fman_if_vsp_init()
179 } else if (__if->__if.mac_type == fman_mac_10g) { in fman_if_vsp_init()
420 __if->__if.mac_type = fman_mac_1g; in fman_if_init()
422 __if->__if.mac_type = fman_mac_10g; in fman_if_init()
430 __if->__if.mac_type = fman_mac_1g; in fman_if_init()
433 __if->__if.mac_type = fman_mac_2_5g; in fman_if_init()
435 __if->__if.mac_type = fman_mac_1g; in fman_if_init()
437 __if->__if.mac_type = fman_mac_1g; in fman_if_init()
440 __if->__if.mac_type = fman_mac_10g; in fman_if_init()
[all …]
H A Dnetcfg_layer.c47 (__if->mac_type == fman_mac_1g) ? "1G" : in dump_netcfg()
48 (__if->mac_type == fman_mac_2_5g) ? "2.5G" : "10G"); in dump_netcfg()
/dpdk/drivers/common/cnxk/
H A Droc_se.c177 roc_se_pdcp_mac_len_type mac_type = 0; in cpt_pdcp_mac_len_set() local
188 mac_type = ROC_SE_PDCP_MAC_LEN_32_BIT; in cpt_pdcp_mac_len_set()
191 mac_type = ROC_SE_PDCP_MAC_LEN_64_BIT; in cpt_pdcp_mac_len_set()
194 mac_type = ROC_SE_PDCP_MAC_LEN_128_BIT; in cpt_pdcp_mac_len_set()
200 zs_ctx->zuc.otk_ctx.w0.s.mac_len = mac_type; in cpt_pdcp_mac_len_set()
/dpdk/drivers/net/dpaa/
H A Ddpaa_flow.c654 if (fif->mac_type == fman_mac_1g) in get_port_type()
656 else if (fif->mac_type == fman_mac_2_5g) in get_port_type()
658 else if (fif->mac_type == fman_mac_10g) in get_port_type()
968 if (fif->mac_type == fman_mac_1g) { in dpaa_port_vsp_configure()
970 } else if (fif->mac_type == fman_mac_2_5g) { in dpaa_port_vsp_configure()
972 } else if (fif->mac_type == fman_mac_10g) { in dpaa_port_vsp_configure()
975 DPAA_PMD_ERR("Mac type %d error", fif->mac_type); in dpaa_port_vsp_configure()
H A Ddpaa_ethdev.c556 if (fif->mac_type == fman_mac_1g) { in dpaa_eth_dev_info()
562 } else if (fif->mac_type == fman_mac_2_5g) { in dpaa_eth_dev_info()
569 } else if (fif->mac_type == fman_mac_10g) { in dpaa_eth_dev_info()
579 dpaa_intf->name, fif->mac_type); in dpaa_eth_dev_info()
696 if (fif->mac_type == fman_mac_1g) in dpaa_eth_link_update()
698 else if (fif->mac_type == fman_mac_2_5g) in dpaa_eth_link_update()
700 else if (fif->mac_type == fman_mac_10g) in dpaa_eth_link_update()
704 dpaa_intf->name, fif->mac_type); in dpaa_eth_link_update()
H A Ddpaa_fmc.c214 const uint8_t mac_type[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2}; in dpaa_port_fmc_port_parse() local
217 mac_type[fif->mac_idx] != pport->type) in dpaa_port_fmc_port_parse()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.h653 uint16_t ixgbe_reta_size_get(enum ixgbe_mac_type mac_type);
655 uint32_t ixgbe_reta_reg_get(enum ixgbe_mac_type mac_type, uint16_t reta_idx);
657 uint32_t ixgbe_mrqc_reg_get(enum ixgbe_mac_type mac_type);
659 uint32_t ixgbe_rssrk_reg_get(enum ixgbe_mac_type mac_type, uint8_t i);
661 bool ixgbe_rss_update_sp(enum ixgbe_mac_type mac_type);
H A Dixgbe_ethdev.c7159 ixgbe_reta_size_get(enum ixgbe_mac_type mac_type) { in ixgbe_reta_size_get() argument
7160 switch (mac_type) { in ixgbe_reta_size_get()
7178 ixgbe_reta_reg_get(enum ixgbe_mac_type mac_type, uint16_t reta_idx) { in ixgbe_reta_reg_get() argument
7179 switch (mac_type) { in ixgbe_reta_reg_get()
7197 ixgbe_mrqc_reg_get(enum ixgbe_mac_type mac_type) { in ixgbe_mrqc_reg_get() argument
7198 switch (mac_type) { in ixgbe_mrqc_reg_get()
7209 ixgbe_rssrk_reg_get(enum ixgbe_mac_type mac_type, uint8_t i) { in ixgbe_rssrk_reg_get() argument
7210 switch (mac_type) { in ixgbe_rssrk_reg_get()
7221 ixgbe_rss_update_sp(enum ixgbe_mac_type mac_type) { in ixgbe_rss_update_sp() argument
7222 switch (mac_type) { in ixgbe_rss_update_sp()
/dpdk/drivers/net/thunderx/base/
H A Dnicvf_mbox.h127 uint8_t mac_type; member
/dpdk/drivers/bus/dpaa/include/
H A Dfman.h314 enum fman_mac_type mac_type; member
/dpdk/drivers/net/bnx2x/
H A Dbnx2x_stats.c283 if (sc->link_vars.mac_type == ELINK_MAC_TYPE_EMAC) { in bnx2x_port_stats_init()
334 switch (sc->link_vars.mac_type) { in bnx2x_port_stats_init()
785 switch (sc->link_vars.mac_type) { in bnx2x_hw_stats_update()
H A Delink.h471 uint8_t mac_type; member
H A Delink.c2428 vars->mac_type = ELINK_MAC_TYPE_UMAC; in elink_umac_enable()
2588 vars->mac_type = ELINK_MAC_TYPE_XMAC; in elink_xmac_enable()
2762 vars->mac_type = ELINK_MAC_TYPE_EMAC; in elink_emac_enable()
3267 vars->mac_type = ELINK_MAC_TYPE_BMAC; in elink_bmac_enable()
5663 vars->mac_type = ELINK_MAC_TYPE_NONE; in elink_sync_link()
6480 vars->mac_type = ELINK_MAC_TYPE_NONE; in elink_get_link_speed_duplex()
7572 vars->mac_type = ELINK_MAC_TYPE_NONE; in elink_update_link_down()
13770 vars->mac_type = ELINK_MAC_TYPE_BMAC; in elink_init_bmac_loopback()
13812 vars->mac_type = ELINK_MAC_TYPE_XMAC; in elink_init_xmac_loopback()
13835 vars->mac_type = ELINK_MAC_TYPE_UMAC; in elink_init_umac_loopback()
[all …]
H A Dbnx2x.c1414 int mac_type, uint8_t wait_for_comp) in bnx2x_del_all_macs() argument
1425 rte_bit_relaxed_set32(mac_type, &vlan_mac_flags); in bnx2x_del_all_macs()
2232 uint8_t mac_type = UNICAST_ADDRESS; in bnx2x_tx_encap() local
2238 mac_type = BROADCAST_ADDRESS; in bnx2x_tx_encap()
2240 mac_type = MULTICAST_ADDRESS; in bnx2x_tx_encap()
2243 (mac_type << ETH_TX_PARSE_BD_E2_ETH_ADDR_TYPE_SHIFT); in bnx2x_tx_encap()
2950 if (sc->link_vars.mac_type != ELINK_MAC_TYPE_EMAC) { in bnx2x_link_attn()
6732 struct ecore_vlan_mac_obj *obj, uint8_t set, int mac_type, in bnx2x_set_mac_one() argument
6749 rte_bit_relaxed_set32(mac_type, in bnx2x_set_mac_one()
7060 sc->link_vars.mac_type = ELINK_MAC_TYPE_EMAC; in bnx2x_link_status_update()
[all …]
/dpdk/drivers/net/ice/
H A Dice_dcf_parent.c431 parent_hw->mac_type = ICE_MAC_GENERIC; in ice_dcf_init_parent_adapter()
/dpdk/drivers/net/ice/base/
H A Dice_common.c149 hw->mac_type = ICE_MAC_E810; in ice_set_mac_type()
176 hw->mac_type = ICE_MAC_GENERIC; in ice_set_mac_type()
179 hw->mac_type = ICE_MAC_UNKNOWN; in ice_set_mac_type()
183 ice_debug(hw, ICE_DBG_INIT, "mac_type: %d\n", hw->mac_type); in ice_set_mac_type()
195 return hw->mac_type == ICE_MAC_GENERIC; in ice_is_generic_mac()
206 return hw->mac_type == ICE_MAC_E810; in ice_is_e810()
5784 if (hw->mac_type != ICE_MAC_E810) in ice_fw_supports_lldp_fltr_ctrl()
H A Dice_type.h1125 enum ice_mac_type mac_type; member
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.h506 bool txgbe_rss_update_sp(enum txgbe_mac_type mac_type);
H A Dtxgbe_ethdev.c4606 txgbe_rss_update_sp(enum txgbe_mac_type mac_type) in txgbe_rss_update_sp() argument
4608 switch (mac_type) { in txgbe_rss_update_sp()
/dpdk/drivers/net/bnxt/
H A Dbnxt.h276 uint8_t mac_type; member