Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/ti/icssg/
Dicssg_switchdev.c321 u8 port_mask, fid_c2; in prueth_switchdev_mdb_add() local
332 fid_c2 = icssg_fdb_lookup(emac, mdb->addr, mdb->vid); in prueth_switchdev_mdb_add()
334 err = icssg_fdb_add_del(emac, mdb->addr, mdb->vid, fid_c2 | port_mask, true); in prueth_switchdev_mdb_add()
345 int del_mask, ret, fid_c2; in prueth_switchdev_mdb_del() local
355 fid_c2 = icssg_fdb_lookup(emac, mdb->addr, mdb->vid); in prueth_switchdev_mdb_del()
357 if (fid_c2 & ~del_mask) in prueth_switchdev_mdb_del()
358 ret = icssg_fdb_add_del(emac, mdb->addr, mdb->vid, fid_c2 & ~del_mask, true); in prueth_switchdev_mdb_del()
Dicssg_config.c676 u8 vid, u8 fid_c2, bool add) in icssg_fdb_add_del() argument
685 fid_c2 |= ICSSG_FDB_ENTRY_VALID; in icssg_fdb_add_del()
686 fdb_cmd.cmd_args[1] |= ((fid << 16) | (fid_c2 << 24)); in icssg_fdb_add_del()
722 return (slot->fid_c2 & ~ICSSG_FDB_ENTRY_VALID); in icssg_fdb_lookup()
Dicssg_config.h273 u8 fid_c2; member
Dicssg_prueth.h373 u8 vid, u8 fid_c2, bool add);