Searched refs:bgx_idx (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.h | 186 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable); 187 void bgx_add_dmac_addr(u64 dmac, int node, int bgx_idx, int lmac); 190 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid); 191 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac); 192 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status); 193 void bgx_lmac_internal_loopback(int node, int bgx_idx, 195 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx); 196 u64 bgx_get_tx_stats(int node, int bgx_idx, int lmac, int idx);
|
H A D | thunder_bgx.c | 137 int bgx_get_lmac_count(int node, int bgx_idx) bgx_get_lmac_count() argument 141 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_lmac_count() 150 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status) bgx_get_lmac_link_state() argument 156 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_lmac_link_state() 167 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid) bgx_get_lmac_mac() argument 169 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_lmac_mac() 178 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac) bgx_set_lmac_mac() argument 180 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_set_lmac_mac() 189 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable) bgx_lmac_rx_tx_enable() argument 191 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_lmac_rx_tx_enable() 311 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx) bgx_get_rx_stats() argument 315 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_rx_stats() 325 u64 bgx_get_tx_stats(int node, int bgx_idx, int lmac, int idx) bgx_get_tx_stats() argument 329 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_get_tx_stats() 350 void bgx_lmac_internal_loopback(int node, int bgx_idx, bgx_lmac_internal_loopback() argument 357 bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; bgx_lmac_internal_loopback()
|
H A D | nic_main.c | 144 int bgx_idx, lmac; nic_mbx_send_ready() local 153 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vf]); nic_mbx_send_ready() 156 mac = bgx_get_lmac_mac(nic->node, bgx_idx, lmac); nic_mbx_send_ready() 216 int bgx_idx, lmac; nic_get_bgx_stats() local 219 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); nic_get_bgx_stats() 227 mbx.bgx_stats.stats = bgx_get_rx_stats(nic->node, bgx_idx, nic_get_bgx_stats() 230 mbx.bgx_stats.stats = bgx_get_tx_stats(nic->node, bgx_idx, nic_get_bgx_stats() 605 int bgx_idx, lmac_idx; nic_config_loopback() local 610 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); nic_config_loopback() 613 bgx_lmac_internal_loopback(nic->node, bgx_idx, lmac_idx, lbk->enable); nic_config_loopback()
|
Completed in 104 milliseconds