Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c145 static int max_bgx_per_node; variable
150 if (max_bgx_per_node) in set_max_bgx_per_node()
157 max_bgx_per_node = MAX_BGX_PER_CN81XX; in set_max_bgx_per_node()
160 max_bgx_per_node = MAX_BGX_PER_CN83XX; in set_max_bgx_per_node()
164 max_bgx_per_node = MAX_BGX_PER_CN88XX; in set_max_bgx_per_node()
171 int idx = (node * max_bgx_per_node) + bgx_idx; in get_bgx()
182 for (i = 0; i < max_bgx_per_node; i++) { in bgx_get_map()
183 if (bgx_vnic[(node * max_bgx_per_node) + i]) in bgx_get_map()
1628 bgx->bgx_id += nic_get_node_id(pdev) * max_bgx_per_node; in bgx_probe()