Home
last modified time | relevance | path

Searched refs:MAX_BGX_PER_CN88XX (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/vnic/
H A Dthunder_bgx.c156 bgx->bgx_id += nic_get_node_id(bgx->reg_base) * MAX_BGX_PER_CN88XX; in thunder_bgx_attach()
270 for (i = 0; i < MAX_BGX_PER_CN88XX; i++) { in bgx_get_map()
271 if (bgx_vnic[(node * MAX_BGX_PER_CN88XX) + i]) in bgx_get_map()
284 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_lmac_count()
299 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_lmac_link_state()
312 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_lmac_mac()
323 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_set_lmac_mac()
451 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_rx_stats()
465 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_tx_stats()
495 bgx_idx += node * MAX_BGX_PER_CN88XX; in bgx_add_dmac_addr()
[all …]
H A Dthunder_bgx.h32 #define MAX_BGX_PER_CN88XX 2 macro
40 #define MAX_LMAC (MAX_BGX_PER_CN88XX * MAX_LMAC_PER_BGX)
H A Dnic.h88 #define NIC_MAX_BGX MAX_BGX_PER_CN88XX
H A Dnic_main.c578 for (lmac = 0; lmac < (MAX_BGX_PER_CN88XX * MAX_LMAC_PER_BGX); lmac++) { in nic_set_tx_pkt_pad()