Home
last modified time | relevance | path

Searched refs:lmac (Results 1 – 7 of 7) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Droc_bphy_cgx.c83 roc_bphy_cgx_ack(roc_cgx, lmac, scr0); in roc_bphy_cgx_wait_for_ownership()
157 roc_cgx->id, lmac, in roc_bphy_cgx_intf_req()
163 roc_bphy_cgx_ack(roc_cgx, lmac, scr0); in roc_bphy_cgx_intf_req()
216 return (lmac < MAX_LMACS_PER_CGX) && in roc_bphy_cgx_lmac_exists()
217 (roc_cgx->lmac_bmap & BIT_ULL(lmac)); in roc_bphy_cgx_lmac_exists()
229 if (!roc_bphy_cgx_lmac_exists(roc_cgx, lmac)) in roc_bphy_cgx_start_stop_rxtx()
256 if (!roc_bphy_cgx_lmac_exists(roc_cgx, lmac)) in roc_bphy_cgx_intlbk_ena_dis()
277 if (!roc_bphy_cgx_lmac_exists(roc_cgx, lmac)) in roc_bphy_cgx_ptp_rx_ena_dis()
307 if (!roc_bphy_cgx_lmac_exists(roc_cgx, lmac)) in roc_bphy_cgx_set_link_state()
326 if (!roc_bphy_cgx_lmac_exists(roc_cgx, lmac)) in roc_bphy_cgx_get_linkinfo()
[all …]
H A Droc_bphy_cgx.h99 unsigned int lmac);
101 unsigned int lmac);
103 unsigned int lmac, bool state);
105 unsigned int lmac,
108 unsigned int lmac,
111 unsigned int lmac);
113 unsigned int lmac);
115 unsigned int lmac);
117 unsigned int lmac);
119 unsigned int lmac,
[all …]
/dpdk/drivers/raw/cnxk_bphy/
H A Drte_pmd_bphy.h298 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); in rte_pmd_bphy_cgx_intlbk_disable()
308 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); in rte_pmd_bphy_cgx_intlbk_enable()
318 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); in rte_pmd_bphy_cgx_ptp_rx_disable()
328 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); in rte_pmd_bphy_cgx_ptp_rx_enable()
340 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); in rte_pmd_bphy_cgx_set_link_mode()
354 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); in rte_pmd_bphy_cgx_set_link_state()
358 rte_pmd_bphy_cgx_start_rxtx(uint16_t dev_id, uint16_t lmac) in rte_pmd_bphy_cgx_start_rxtx() argument
364 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); in rte_pmd_bphy_cgx_start_rxtx()
368 rte_pmd_bphy_cgx_stop_rxtx(uint16_t dev_id, uint16_t lmac) in rte_pmd_bphy_cgx_stop_rxtx() argument
374 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); in rte_pmd_bphy_cgx_stop_rxtx()
[all …]
H A Dcnxk_bphy_cgx.c16 unsigned int lmac; member
66 unsigned int lmac = qp->lmac; in cnxk_bphy_cgx_process_buf() local
93 ret = roc_bphy_cgx_intlbk_disable(cgx->rcgx, lmac); in cnxk_bphy_cgx_process_buf()
96 ret = roc_bphy_cgx_intlbk_enable(cgx->rcgx, lmac); in cnxk_bphy_cgx_process_buf()
99 ret = roc_bphy_cgx_ptp_rx_disable(cgx->rcgx, lmac); in cnxk_bphy_cgx_process_buf()
102 ret = roc_bphy_cgx_ptp_rx_enable(cgx->rcgx, lmac); in cnxk_bphy_cgx_process_buf()
117 ret = roc_bphy_cgx_set_link_state(cgx->rcgx, lmac, in cnxk_bphy_cgx_process_buf()
121 ret = roc_bphy_cgx_start_rxtx(cgx->rcgx, lmac); in cnxk_bphy_cgx_process_buf()
124 ret = roc_bphy_cgx_stop_rxtx(cgx->rcgx, lmac); in cnxk_bphy_cgx_process_buf()
136 ret = roc_bphy_cgx_fec_set(cgx->rcgx, lmac, *fec); in cnxk_bphy_cgx_process_buf()
[all …]
/dpdk/drivers/net/octeontx/base/
H A Docteontx_bgx.c34 conf->lmac = bgx_conf.lmac; in octeontx_bgx_port_open()
118 conf->lmac = bgx_conf.lmac; in octeontx_bgx_port_get_config()
H A Docteontx_bgx.h55 uint8_t lmac; member
/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_os.c683 struct rte_ether_addr lmac; in mlx5_os_mac_addr_add() local
685 if (mlx5_get_mac(dev, &lmac.addr_bytes)) { in mlx5_os_mac_addr_add()
692 if (!rte_is_same_ether_addr(&lmac, mac)) { in mlx5_os_mac_addr_add()