Home
last modified time | relevance | path

Searched refs:bgx_idx (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.h220 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf);
221 void bgx_set_xcast_mode(int node, int bgx_idx, int lmacid, u8 mode);
223 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable);
224 void bgx_add_dmac_addr(u64 dmac, int node, int bgx_idx, int lmac);
227 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid);
228 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac);
230 void bgx_lmac_internal_loopback(int node, int bgx_idx,
233 void bgx_lmac_get_pfc(int node, int bgx_idx, int lmacid, void *pause);
234 void bgx_lmac_set_pfc(int node, int bgx_idx, int lmacid, void *pause);
239 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx);
[all …]
H A Dthunder_bgx.c196 bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_count()
211 bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_link_state()
225 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_mac()
236 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_lmac_mac()
334 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_dmac_cam_filter()
356 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_xcast_mode()
390 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_reset_xcast_mode()
397 bgx_set_xcast_mode(node, bgx_idx, lmacid, in bgx_reset_xcast_mode()
631 bgx = get_bgx(node, bgx_idx); in bgx_get_rx_stats()
645 bgx = get_bgx(node, bgx_idx); in bgx_get_tx_stats()
[all …]
H A Dnic_main.c161 int bgx_idx, lmac; in nic_mbx_send_ready() local
170 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vf]); in nic_mbx_send_ready()
173 mac = bgx_get_lmac_mac(nic->node, bgx_idx, lmac); in nic_mbx_send_ready()
233 int bgx_idx, lmac; in nic_get_bgx_stats() local
244 mbx.bgx_stats.stats = bgx_get_rx_stats(nic->node, bgx_idx, in nic_get_bgx_stats()
247 mbx.bgx_stats.stats = bgx_get_tx_stats(nic->node, bgx_idx, in nic_get_bgx_stats()
762 int bgx_idx, lmac_idx; in nic_config_loopback() local
889 u8 lmac, bgx_idx; in nic_config_timestamp() local
898 pkind_idx = lmac + bgx_idx * MAX_LMAC_PER_BGX; in nic_config_timestamp()
909 bgx_config_timestamping(nic->node, bgx_idx, lmac, true); in nic_config_timestamp()
[all …]