Searched refs:lmacid (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/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 | 219 void bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 mac, u8 vf); 220 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf); 221 void bgx_set_xcast_mode(int node, int bgx_idx, int lmacid, u8 mode); 223 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable); 227 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid); 228 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac); 229 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status); 232 void bgx_config_timestamping(int node, int bgx_idx, int lmacid, bool enable); 233 void bgx_lmac_get_pfc(int node, int bgx_idx, int lmacid, void *pause); 234 void bgx_lmac_set_pfc(int node, int bgx_idx, int lmacid, void *pause);
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cn10k.c | 504 static void __rvu_rpm_set_channels(int cgxid, int lmacid, u16 base) in __rvu_rpm_set_channels() argument 508 cfg = cgx_lmac_read(cgxid, lmacid, RPMX_CMRX_LINK_CFG); in __rvu_rpm_set_channels() 516 cgx_lmac_write(cgxid, lmacid, RPMX_CMRX_LINK_CFG, cfg); in __rvu_rpm_set_channels()
|
D | rvu.h | 661 u8 lmacid, u8 chan) in rvu_nix_chan_cgx() argument 668 return NIX_CHAN_CGX_LMAC_CHX(cgxid, lmacid, chan); in rvu_nix_chan_cgx() 671 (cgxid * hw->lmac_per_cgx + lmacid) * cgx_chans + chan; in rvu_nix_chan_cgx()
|