Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.h219 void bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 mac, u8 vf);
220 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);
222 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable);
225 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid);
226 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac);
227 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status);
228 void bgx_lmac_internal_loopback(int node, int bgx_idx,
230 void bgx_config_timestamping(int node, int bgx_idx, int lmacid, bool enable);
231 void bgx_lmac_get_pfc(int node, int bgx_idx, int lmacid, void *pause);
[all …]
Dthunder_bgx.c169 static struct bgx *get_bgx(int node, int bgx_idx) in get_bgx() argument
171 int idx = (node * max_bgx_per_node) + bgx_idx; in get_bgx()
192 int bgx_get_lmac_count(int node, int bgx_idx) in bgx_get_lmac_count() argument
196 bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_count()
205 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status) in bgx_get_lmac_link_state() argument
211 bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_link_state()
223 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid) in bgx_get_lmac_mac() argument
225 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_mac()
234 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac) in bgx_set_lmac_mac() argument
236 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_lmac_mac()
[all …]
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
236 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats()
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
767 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); in nic_config_loopback()
770 bgx_lmac_internal_loopback(nic->node, bgx_idx, lmac_idx, lbk->enable); in nic_config_loopback()
[all …]