Home
last modified time | relevance | path

Searched refs:link_params (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/examples/ip_pipeline/
H A Dlink.h41 struct link_params { struct
61 link_create(const char *name, struct link_params *params); argument
H A Dlink.c100 link_create(const char *name, struct link_params *params) in link_create()
255 struct rte_eth_link link_params; in link_is_up() local
267 if (rte_eth_link_get(link->port_id, &link_params) < 0) in link_is_up()
270 return (link_params.link_status == ETH_LINK_DOWN) ? 0 : 1; in link_is_up()
H A Dcli.c139 struct link_params p; in cmd_link()
/f-stack/dpdk/drivers/net/qede/
H A Dqede_main.c605 struct ecore_mcp_link_params *link_params; in qed_set_link() local
618 link_params = ecore_mcp_get_link_params(hwfn); in qed_set_link()
620 link_params->speed.autoneg = params->autoneg; in qed_set_link()
624 link_params->pause.autoneg = true; in qed_set_link()
626 link_params->pause.autoneg = false; in qed_set_link()
628 link_params->pause.forced_rx = true; in qed_set_link()
630 link_params->pause.forced_rx = false; in qed_set_link()
632 link_params->pause.forced_tx = true; in qed_set_link()
634 link_params->pause.forced_tx = false; in qed_set_link()
638 memcpy(&link_params->eee, &params->eee, in qed_set_link()
[all …]
H A Dqede_ethdev.c1848 struct qed_link_params link_params; in qede_dev_set_link_state() local
1852 memset(&link_params, 0, sizeof(link_params)); in qede_dev_set_link_state()
1853 link_params.link_up = link_up; in qede_dev_set_link_state()
1854 rc = qdev->ops->common->set_link(edev, &link_params); in qede_dev_set_link_state()
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c7047 sc->link_params.sc = sc; in bnx2x_link_status_update()
8076 sc->link_params.sc = sc; in bnx2x_get_shmem_info()
8077 sc->link_params.port = port; in bnx2x_get_shmem_info()
8084 sc->link_params.hw_led_mode = in bnx2x_get_shmem_info()
8101 sc->link_params.lane_config = in bnx2x_get_shmem_info()
8850 sc->link_params.eee_mode = 0; in bnx2x_get_phy_info()
11905 sc->link_params.mac_addr[0],
11906 sc->link_params.mac_addr[1],
11907 sc->link_params.mac_addr[2],
11908 sc->link_params.mac_addr[3],
[all …]
H A Dbnx2x_vfpf.c55 rte_memcpy(&sc->link_params.mac_addr, bull->mac, ETH_ALEN); in bnx2x_check_bull()
300 sc->link_params.chip_id = sc->devinfo.chip_id; in bnx2x_vf_get_resources()
310 (struct rte_ether_addr *)sc->link_params.mac_addr); in bnx2x_vf_get_resources()
312 rte_eth_random_addr(sc->link_params.mac_addr); in bnx2x_vf_get_resources()
572 rte_memcpy(query->filters[0].mac, sc->link_params.mac_addr, ETH_ALEN); in bnx2x_vf_set_mac()
586 rte_memcpy(sc->link_params.mac_addr, sc->pf2vf_bulletin->mac, in bnx2x_vf_set_mac()
H A Dbnx2x_ethdev.c121 link_status = REG_RD(sc, sc->link_params.shmem_base + in bnx2x_interrupt_action()
123 port_mb[sc->link_params.port].link_status)); in bnx2x_interrupt_action()
714 (struct rte_ether_addr *)sc->link_params.mac_addr; in bnx2x_common_dev_init()
H A Dbnx2x.h1144 struct elink_params link_params; member
/f-stack/dpdk/examples/pipeline/
H A Dobj.h65 struct link_params { struct
96 struct link_params *params); argument
H A Dobj.c165 link_create(struct obj *obj, const char *name, struct link_params *params) in link_create()
321 struct rte_eth_link link_params; in link_is_up() local
333 if (rte_eth_link_get(link->port_id, &link_params) < 0) in link_is_up()
336 return (link_params.link_status == ETH_LINK_DOWN) ? 0 : 1; in link_is_up()
H A Dcli.c241 struct link_params p; in cmd_link()
/f-stack/freebsd/contrib/alpine-hal/
H A Dal_hal_pcie.c175 const struct al_pcie_link_params *link_params) in al_pcie_port_link_config() argument
180 if ((link_params->max_payload_size != AL_PCIE_MPS_DEFAULT) && in al_pcie_port_link_config()
181 (link_params->max_payload_size != AL_PCIE_MPS_128) && in al_pcie_port_link_config()
182 (link_params->max_payload_size != AL_PCIE_MPS_256)) { in al_pcie_port_link_config()
184 pcie_port->port_id, link_params->max_payload_size); in al_pcie_port_link_config()
188 al_pcie_port_link_speed_ctrl_set(pcie_port, link_params->max_speed); in al_pcie_port_link_config()
193 if (link_params->max_payload_size != AL_PCIE_MPS_DEFAULT) in al_pcie_port_link_config()
196 link_params->max_payload_size << in al_pcie_port_link_config()
1729 if (params->link_params) in al_pcie_port_config()
1730 status = al_pcie_port_link_config(pcie_port, params->link_params); in al_pcie_port_config()
[all …]
H A Dal_hal_pcie.h480 struct al_pcie_link_params *link_params; member
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_sriov.c1120 struct ecore_mcp_link_params link_params; in ecore_iov_init_hw_for_vf() local
1228 OSAL_MEMCPY(&link_params, ecore_mcp_get_link_params(p_hwfn), in ecore_iov_init_hw_for_vf()
1229 sizeof(link_params)); in ecore_iov_init_hw_for_vf()
1235 &link_params, &link_state, &link_caps); in ecore_iov_init_hw_for_vf()