Searched refs:lmacid (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/ |
D | thunder_bgx.c | 58 int lmacid; /* ID within BGX */ member 208 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status) in bgx_get_lmac_link_state() argument 218 lmac = &bgx->lmac[lmacid]; in bgx_get_lmac_link_state() 226 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid) in bgx_get_lmac_mac() argument 231 return bgx->lmac[lmacid].mac; in bgx_get_lmac_mac() 237 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac) in bgx_set_lmac_mac() argument 244 ether_addr_copy(bgx->lmac[lmacid].mac, mac); in bgx_set_lmac_mac() 248 static void bgx_flush_dmac_cam_filter(struct bgx *bgx, int lmacid) in bgx_flush_dmac_cam_filter() argument 253 lmac = &bgx->lmac[lmacid]; in bgx_flush_dmac_cam_filter() 257 ((lmacid * lmac->dmacs_count) + idx) * in bgx_flush_dmac_cam_filter() [all …]
|
D | thunder_bgx.h | 213 void bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 mac, u8 vf); 214 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf); 215 void bgx_set_xcast_mode(int node, int bgx_idx, int lmacid, u8 mode); 217 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable); 221 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid); 222 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac); 223 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status); 226 void bgx_config_timestamping(int node, int bgx_idx, int lmacid, bool enable); 227 void bgx_lmac_get_pfc(int node, int bgx_idx, int lmacid, void *pause); 228 void bgx_lmac_set_pfc(int node, int bgx_idx, int lmacid, void *pause);
|