Lines Matching refs:pgid_idx
395 u16 pgid_idx, vid; in sparx5_handle_port_mdb_add() local
418 pgid_idx = LRN_MAC_ACCESS_CFG_2_MAC_ENTRY_ADDR_GET(mact_entry); in sparx5_handle_port_mdb_add()
421 pgid_idx += SPX5_PORTS; in sparx5_handle_port_mdb_add()
422 sparx5_pgid_update_mask(port, pgid_idx, true); in sparx5_handle_port_mdb_add()
424 err = sparx5_pgid_alloc_mcast(spx5, &pgid_idx); in sparx5_handle_port_mdb_add()
429 sparx5_pgid_update_mask(port, pgid_idx, true); in sparx5_handle_port_mdb_add()
430 err = sparx5_mact_learn(spx5, pgid_idx, v->addr, vid); in sparx5_handle_port_mdb_add()
433 sparx5_pgid_update_mask(port, pgid_idx, false); in sparx5_handle_port_mdb_add()
445 u16 pgid_idx) in sparx5_mdb_del_entry() argument
454 err = sparx5_pgid_free(spx5, pgid_idx); in sparx5_mdb_del_entry()
468 u16 pgid_idx, vid; in sparx5_handle_port_mdb_del() local
488 pgid_idx = LRN_MAC_ACCESS_CFG_2_MAC_ENTRY_ADDR_GET(mact_entry); in sparx5_handle_port_mdb_del()
491 pgid_idx += SPX5_PORTS; in sparx5_handle_port_mdb_del()
492 sparx5_pgid_update_mask(port, pgid_idx, false); in sparx5_handle_port_mdb_del()
494 sparx5_pgid_read_mask(spx5, pgid_idx, pgid_entry); in sparx5_handle_port_mdb_del()
497 err = sparx5_mdb_del_entry(dev, spx5, v->addr, vid, pgid_idx); in sparx5_handle_port_mdb_del()