Home
last modified time | relevance | path

Searched refs:pgid_idx (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/microchip/sparx5/
Dsparx5_switchdev.c395 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()
[all …]