Lines Matching refs:dmacs
48 struct dmac_map *dmacs; /* DMAC:VFs tracking filter array */ member
271 lmac->dmacs[i].vf_map &= ~BIT_ULL(vf_id); in bgx_lmac_remove_filters()
272 if (!lmac->dmacs[i].vf_map) { in bgx_lmac_remove_filters()
274 lmac->dmacs[i].dmac = 0; in bgx_lmac_remove_filters()
275 lmac->dmacs[i].vf_map = 0; in bgx_lmac_remove_filters()
295 if (lmac->dmacs[i].dmac == dmac) { in bgx_lmac_save_filter()
296 lmac->dmacs[i].vf_map |= BIT_ULL(vf_id); in bgx_lmac_save_filter()
305 lmac->dmacs[lmac->dmacs_cfg].dmac = dmac; in bgx_lmac_save_filter()
306 lmac->dmacs[lmac->dmacs_cfg].vf_map = BIT_ULL(vf_id); in bgx_lmac_save_filter()
382 lmac->dmacs[i].dmac, i); in bgx_set_xcast_mode()
1089 lmac->dmacs = kcalloc(lmac->dmacs_count, sizeof(*lmac->dmacs), in bgx_lmac_enable()
1091 if (!lmac->dmacs) in bgx_lmac_enable()
1180 kfree(lmac->dmacs); in bgx_lmac_disable()