| /f-stack/dpdk/drivers/bus/dpaa/base/fman/ |
| H A D | fman.c | 45 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() 335 __if->__if.mac_type = fman_mac_1g; in fman_if_init() 337 __if->__if.mac_type = fman_mac_10g; in fman_if_init() 345 __if->__if.mac_type = fman_mac_1g; in fman_if_init() 348 __if->__if.mac_type = fman_mac_2_5g; in fman_if_init() 350 __if->__if.mac_type = fman_mac_1g; in fman_if_init() 352 __if->__if.mac_type = fman_mac_1g; in fman_if_init() 355 __if->__if.mac_type = fman_mac_10g; in fman_if_init() [all …]
|
| H A D | netcfg_layer.c | 47 (__if->mac_type == fman_mac_1g) ? "1G" : in dump_netcfg() 48 (__if->mac_type == fman_mac_2_5g) ? "2.5G" : "10G"); in dump_netcfg()
|
| /f-stack/dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_ethdev.c | 282 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 D | ipn3ke_representor.c | 51 (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() 2107 } else if (hw->retimer.mac_type == in ipn3ke_rpst_stats_reset() 2638 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_rpst_promiscuous_enable() 2665 if (hw->retimer.mac_type == IFPGA_RAWDEV_RETIMER_MAC_TYPE_10GE_XFI) { in ipn3ke_rpst_promiscuous_disable() [all …]
|
| H A D | ipn3ke_rawdev_api.h | 53 enum ifpga_rawdev_retimer_mac_type mac_type; member
|
| /f-stack/dpdk/drivers/net/dpaa/ |
| H A D | dpaa_flow.c | 654 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 D | dpaa_fmc.c | 214 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()
|
| H A D | dpaa_ethdev.c | 563 if (fif->mac_type == fman_mac_1g) { in dpaa_eth_dev_info() 569 } else if (fif->mac_type == fman_mac_2_5g) { in dpaa_eth_dev_info() 576 } else if (fif->mac_type == fman_mac_10g) { in dpaa_eth_dev_info() 586 dpaa_intf->name, fif->mac_type); in dpaa_eth_dev_info() 697 if (fif->mac_type == fman_mac_1g) in dpaa_eth_link_update() 699 else if (fif->mac_type == fman_mac_2_5g) in dpaa_eth_link_update() 701 else if (fif->mac_type == fman_mac_10g) in dpaa_eth_link_update() 705 dpaa_intf->name, fif->mac_type); in dpaa_eth_link_update()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.h | 662 uint16_t ixgbe_reta_size_get(enum ixgbe_mac_type mac_type); 664 uint32_t ixgbe_reta_reg_get(enum ixgbe_mac_type mac_type, uint16_t reta_idx); 666 uint32_t ixgbe_mrqc_reg_get(enum ixgbe_mac_type mac_type); 668 uint32_t ixgbe_rssrk_reg_get(enum ixgbe_mac_type mac_type, uint8_t i); 670 bool ixgbe_rss_update_sp(enum ixgbe_mac_type mac_type);
|
| H A D | ixgbe_ethdev.c | 7353 ixgbe_reta_size_get(enum ixgbe_mac_type mac_type) { in ixgbe_reta_size_get() argument 7354 switch (mac_type) { in ixgbe_reta_size_get() 7372 ixgbe_reta_reg_get(enum ixgbe_mac_type mac_type, uint16_t reta_idx) { in ixgbe_reta_reg_get() argument 7373 switch (mac_type) { in ixgbe_reta_reg_get() 7391 ixgbe_mrqc_reg_get(enum ixgbe_mac_type mac_type) { in ixgbe_mrqc_reg_get() argument 7392 switch (mac_type) { in ixgbe_mrqc_reg_get() 7403 ixgbe_rssrk_reg_get(enum ixgbe_mac_type mac_type, uint8_t i) { in ixgbe_rssrk_reg_get() argument 7404 switch (mac_type) { in ixgbe_rssrk_reg_get() 7415 ixgbe_rss_update_sp(enum ixgbe_mac_type mac_type) { in ixgbe_rss_update_sp() argument 7416 switch (mac_type) { in ixgbe_rss_update_sp()
|
| /f-stack/freebsd/contrib/ncsw/inc/flib/ |
| H A D | fsl_enet.h | 65 enum mac_type { enum
|
| /f-stack/dpdk/drivers/net/thunderx/base/ |
| H A D | nicvf_mbox.h | 127 uint8_t mac_type; member
|
| /f-stack/dpdk/drivers/bus/dpaa/include/ |
| H A D | fman.h | 314 enum fman_mac_type mac_type; member
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.h | 279 bool txgbe_rss_update_sp(enum txgbe_mac_type mac_type);
|
| H A D | txgbe_ethdev.c | 3904 txgbe_rss_update_sp(enum txgbe_mac_type mac_type) in txgbe_rss_update_sp() argument 3906 switch (mac_type) { in txgbe_rss_update_sp()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_dcf_parent.c | 376 parent_hw->mac_type = ICE_MAC_GENERIC; in ice_dcf_init_parent_adapter()
|
| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_stats.c | 283 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 D | elink.h | 471 uint8_t mac_type; member
|
| H A D | elink.c | 2428 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 D | bnx2x.c | 1410 int mac_type, uint8_t wait_for_comp) in bnx2x_del_all_macs() argument 1421 rte_bit_relaxed_set32(mac_type, &vlan_mac_flags); in bnx2x_del_all_macs() 2228 uint8_t mac_type = UNICAST_ADDRESS; in bnx2x_tx_encap() local 2234 mac_type = BROADCAST_ADDRESS; in bnx2x_tx_encap() 2236 mac_type = MULTICAST_ADDRESS; in bnx2x_tx_encap() 2239 (mac_type << ETH_TX_PARSE_BD_E2_ETH_ADDR_TYPE_SHIFT); in bnx2x_tx_encap() 2946 if (sc->link_vars.mac_type != ELINK_MAC_TYPE_EMAC) { in bnx2x_link_attn() 6728 struct ecore_vlan_mac_obj *obj, uint8_t set, int mac_type, in bnx2x_set_mac_one() argument 6745 rte_bit_relaxed_set32(mac_type, in bnx2x_set_mac_one() 7056 sc->link_vars.mac_type = ELINK_MAC_TYPE_EMAC; in bnx2x_link_status_update() [all …]
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_common.c | 35 hw->mac_type = ICE_MAC_E810; in ice_set_mac_type() 51 hw->mac_type = ICE_MAC_GENERIC; in ice_set_mac_type() 54 hw->mac_type = ICE_MAC_UNKNOWN; in ice_set_mac_type() 58 ice_debug(hw, ICE_DBG_INIT, "mac_type: %d\n", hw->mac_type); in ice_set_mac_type() 4768 if (hw->mac_type != ICE_MAC_E810) in ice_fw_supports_lldp_fltr_ctrl()
|
| H A D | ice_type.h | 856 enum ice_mac_type mac_type; member
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt.h | 279 uint8_t mac_type; member
|
| /f-stack/freebsd/contrib/alpine-hal/eth/ |
| H A D | al_hal_eth.h | 993 enum AL_ETH_FWD_CTRL_IDX_MAC_DA_TYPE mac_type; member
|
| H A D | al_hal_eth_main.c | 2884 if ((index->mac_type != AL_ETH_FWD_CTRL_IDX_MAC_DA_TYPE_ANY) in al_eth_ctrl_index_match() 2885 && (index->mac_type != AL_REG_FIELD_GET(i, AL_FIELD_MASK(10,9),9))) in al_eth_ctrl_index_match()
|