Searched refs:fdb_tbl (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/ti/icssm/ |
| H A D | icssm_prueth_switch.c | 14 #define FDB_IDX_TBL_ENTRY(n) (&prueth->fdb_tbl->index_a->index_tbl_entry[n]) 16 #define FDB_MAC_TBL_ENTRY(n) (&prueth->fdb_tbl->mac_tbl_a->mac_tbl_entry[n]) 207 kfree(prueth->fdb_tbl); in icssm_prueth_sw_free_fdb_table() 208 prueth->fdb_tbl = NULL; in icssm_prueth_sw_free_fdb_table() 213 struct fdb_tbl *t = prueth->fdb_tbl; in icssm_prueth_sw_fdb_tbl_init() 239 static u8 icssm_pru_lock_done(struct fdb_tbl *fdb_tbl) in icssm_pru_lock_done() argument 241 return readb(&fdb_tbl->locks->pru_locks); in icssm_pru_lock_done() 244 static int icssm_prueth_sw_fdb_spin_lock(struct fdb_tbl *fdb_tbl) in icssm_prueth_sw_fdb_spin_lock() argument 250 writeb(1, &fdb_tbl->locks->host_lock); in icssm_prueth_sw_fdb_spin_lock() 254 1, 10, false, fdb_tbl); in icssm_prueth_sw_fdb_spin_lock() [all …]
|
| H A D | icssm_switchdev.c | 30 struct fdb_tbl *t = prueth->fdb_tbl; in icssm_prueth_sw_set_stp_state() 38 struct fdb_tbl *t = prueth->fdb_tbl; in icssm_prueth_sw_get_stp_state() 56 if (!prueth->fdb_tbl) in icssm_prueth_sw_attr_set() 108 if (!emac->prueth->fdb_tbl) in icssm_sw_event_work()
|
| /linux/drivers/net/ethernet/rocker/ |
| H A D | rocker_ofdpa.c | 181 DECLARE_HASHTABLE(fdb_tbl, 16); 1890 hash_for_each_possible(ofdpa->fdb_tbl, found, entry, match->key_crc32) in ofdpa_fdb_tbl_find() 1929 hash_add(ofdpa->fdb_tbl, &fdb->entry, in ofdpa_port_fdb() 1964 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, found, entry) { in ofdpa_port_fdb_flush() 1998 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, entry, entry) { in ofdpa_fdb_cleanup() 2359 hash_init(ofdpa->fdb_tbl); in ofdpa_init() 2403 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, fdb_entry, entry) in ofdpa_fini()
|