Searched refs:lmacid (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/ |
D | thunder_bgx.c | 55 int lmacid; /* ID within BGX */ member 205 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status) in bgx_get_lmac_link_state() argument 215 lmac = &bgx->lmac[lmacid]; 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 228 return bgx->lmac[lmacid].mac; 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 241 ether_addr_copy(bgx->lmac[lmacid].mac, mac); in bgx_set_lmac_mac() 245 static void bgx_flush_dmac_cam_filter(struct bgx *bgx, int lmacid) in bgx_flush_dmac_cam_filter() argument 250 lmac = &bgx->lmac[lmacid]; in bgx_flush_dmac_cam_filter() 254 ((lmacid * lmac->dmacs_count) + idx) * in bgx_flush_dmac_cam_filter() [all …]
|
D | thunder_bgx.h | 210 void bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 mac, u8 vf); 211 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf); 212 void bgx_set_xcast_mode(int node, int bgx_idx, int lmacid, u8 mode); 214 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable); 218 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid); 219 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac); 220 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status); 223 void bgx_config_timestamping(int node, int bgx_idx, int lmacid, bool enable); 224 void bgx_lmac_get_pfc(int node, int bgx_idx, int lmacid, void *pause); 225 void bgx_lmac_set_pfc(int node, int bgx_idx, int lmacid, void *pause);
|