Home
last modified time | relevance | path

Searched refs:pcaps (Results 1 – 9 of 9) sorted by relevance

/dpdk/drivers/net/pcap/
H A Dpcap_ethdev.c1377 if (pcaps->queue[0].pcap) in eth_release_pcaps()
1378 pcap_close(pcaps->queue[0].pcap); in eth_release_pcaps()
1391 if (pcaps->queue[i].pcap) in eth_release_pcaps()
1392 pcap_close(pcaps->queue[i].pcap); in eth_release_pcaps()
1401 struct pmd_devargs pcaps = {0}; in pmd_pcap_probe() local
1454 &open_rx_tx_iface, &pcaps); in pmd_pcap_probe()
1465 dumpers.phy_mac = pcaps.phy_mac; in pmd_pcap_probe()
1468 pcaps.num_of_queue = 1; in pmd_pcap_probe()
1483 pcaps.num_of_queue = 0; in pmd_pcap_probe()
1516 &open_rx_pcap, &pcaps); in pmd_pcap_probe()
[all …]
/dpdk/drivers/net/ice/base/
H A Dice_common.c371 pcaps->eee_cap); in ice_aq_get_phy_caps()
373 pcaps->eeer_value); in ice_aq_get_phy_caps()
980 if (!pcaps) { in ice_init_hw()
988 ice_free(hw, pcaps); in ice_init_hw()
3302 if (!pcaps) in ice_update_link_info()
3313 ice_free(hw, pcaps); in ice_update_link_info()
3422 if (!pcaps) in ice_cfg_phy_fc()
3493 if (!pcaps) in ice_set_fc()
3549 ice_free(hw, pcaps); in ice_set_fc()
3639 if (!pcaps) in ice_cfg_phy_fec()
[all …]
/dpdk/drivers/net/ice/
H A Dice_dcf_parent.c304 struct ice_aqc_get_phy_caps_data *pcaps; in ice_dcf_init_parent_hw() local
328 pcaps = (struct ice_aqc_get_phy_caps_data *) in ice_dcf_init_parent_hw()
329 ice_malloc(hw, sizeof(*pcaps)); in ice_dcf_init_parent_hw()
330 if (!pcaps) { in ice_dcf_init_parent_hw()
337 ICE_AQC_REPORT_TOPO_CAP_MEDIA, pcaps, NULL); in ice_dcf_init_parent_hw()
338 ice_free(hw, pcaps); in ice_dcf_init_parent_hw()
H A Dice_ethdev.c3950 struct ice_aqc_get_phy_caps_data *pcaps; in ice_force_phys_link_state() local
3959 pcaps = (struct ice_aqc_get_phy_caps_data *) in ice_force_phys_link_state()
3960 ice_malloc(hw, sizeof(*pcaps)); in ice_force_phys_link_state()
3961 if (!pcaps) in ice_force_phys_link_state()
3965 pcaps, NULL); in ice_force_phys_link_state()
3974 cfg.phy_type_low = pcaps->phy_type_low; in ice_force_phys_link_state()
3975 cfg.phy_type_high = pcaps->phy_type_high; in ice_force_phys_link_state()
3978 cfg.eee_cap = pcaps->eee_cap; in ice_force_phys_link_state()
3979 cfg.eeer_value = pcaps->eeer_value; in ice_force_phys_link_state()
3980 cfg.link_fec_opt = pcaps->link_fec_options; in ice_force_phys_link_state()
[all …]
/dpdk/drivers/net/cxgbe/base/
H A Dt4_hw.c4350 if (!(lc->pcaps & fw_speed_cap)) in t4_set_link_speed()
4371 if (!(lc->pcaps & FW_PORT_CAP32_ANEG)) in t4_set_link_pause()
4384 if (lc->pcaps & FW_PORT_CAP32_MDIAUTO) in t4_set_link_pause()
4391 if (lc->pcaps & FW_PORT_CAP32_802_3_PAUSE) in t4_set_link_pause()
4399 if (lc->pcaps & FW_PORT_CAP32_802_3_PAUSE) in t4_set_link_pause()
4512 pcaps = be32_to_cpu(cmd->u.info32.pcaps32); in t4_handle_get_port_info()
4642 lc->pcaps = pcaps; in t4_init_link_config()
4657 if (lc->pcaps & FW_PORT_CAP32_FORCE_PAUSE) in t4_init_link_config()
4674 if (lc->pcaps & FW_PORT_CAP32_FORCE_FEC) in t4_init_link_config()
4678 if (lc->pcaps & FW_PORT_CAP32_MDIAUTO) { in t4_init_link_config()
[all …]
H A Dt4vf_hw.c739 u32 param, val, pcaps, acaps; in t4vf_port_init() local
811 pcaps = be32_to_cpu(port_rpl.u.info32.pcaps32); in t4vf_port_init()
814 t4_init_link_config(p, pcaps, acaps, mdio_addr, port_type, in t4vf_port_init()
H A Dcommon.h273 u32 pcaps; /* Physically supported link caps */ member
491 void t4_init_link_config(struct port_info *pi, u32 pcaps, u32 acaps,
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_ethdev.c1119 if (lc->pcaps & FW_PORT_CAP32_FORCE_PAUSE) in cxgbe_flow_ctrl_set()
1482 if (lc->pcaps & FW_PORT_CAP32_SPEED_100G) { in cxgbe_fec_get_capa_speed_to_fec()
1491 if (lc->pcaps & FW_PORT_CAP32_SPEED_50G) { in cxgbe_fec_get_capa_speed_to_fec()
1500 if (lc->pcaps & FW_PORT_CAP32_SPEED_25G) { in cxgbe_fec_get_capa_speed_to_fec()
1521 if (!(lc->pcaps & V_FW_PORT_CAP32_FEC(M_FW_PORT_CAP32_FEC))) in cxgbe_fec_get_capability()
1537 if (!(lc->pcaps & V_FW_PORT_CAP32_FEC(M_FW_PORT_CAP32_FEC))) in cxgbe_fec_get()
1559 if (!(lc->pcaps & V_FW_PORT_CAP32_FEC(M_FW_PORT_CAP32_FEC))) in cxgbe_fec_set()
1582 if (lc->pcaps & FW_PORT_CAP32_FORCE_FEC) in cxgbe_fec_set()
H A Dcxgbe_main.c716 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100M) in cxgbe_print_port_info()
718 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_1G) in cxgbe_print_port_info()
720 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_10G) in cxgbe_print_port_info()
722 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_25G) in cxgbe_print_port_info()
724 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_40G) in cxgbe_print_port_info()
726 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_50G) in cxgbe_print_port_info()
728 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100G) in cxgbe_print_port_info()
1949 fw_caps_to_speed_caps(pi->link_cfg.port_type, pi->link_cfg.pcaps, in cxgbe_get_speed_caps()
1952 if (!(pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG)) in cxgbe_get_speed_caps()