Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mdb.c20 u8 cpu_copy; member
113 bool cpu_copy = false; in lan966x_mdb_ip_add() local
126 mdb_entry->cpu_copy++; in lan966x_mdb_ip_add()
132 mdb_entry->cpu_copy) in lan966x_mdb_ip_add()
133 cpu_copy = true; in lan966x_mdb_ip_add()
159 mdb_entry->cpu_copy--; in lan966x_mdb_ip_del()
160 if (mdb_entry->cpu_copy) in lan966x_mdb_ip_del()
271 mdb_entry->cpu_copy++; in lan966x_mdb_l2_add()
317 mdb_entry->cpu_copy--; in lan966x_mdb_l2_del()
530 bool cpu_copy = false; in lan966x_mdb_restore_entries() local
[all …]
H A Dlan966x_mac.c74 bool cpu_copy, in __lan966x_mac_learn_locked() argument
86 ANA_MACACCESS_MAC_CPU_COPY_SET(cpu_copy) | in __lan966x_mac_learn_locked()
96 bool cpu_copy, in __lan966x_mac_learn() argument
104 ret = __lan966x_mac_learn_locked(lan966x, pgid, cpu_copy, mac, vid, type); in __lan966x_mac_learn()
114 bool cpu_copy, in lan966x_mac_ip_learn() argument
121 return __lan966x_mac_learn(lan966x, 0, cpu_copy, mac, vid, type); in lan966x_mac_ip_learn()
H A Dlan966x_main.h458 bool cpu_copy,
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_switchdev.c556 if (is_host && !entry->cpu_copy) { in sparx5_handle_port_mdb_add()
558 entry->cpu_copy = true; in sparx5_handle_port_mdb_add()
595 if (is_host && entry->cpu_copy) { in sparx5_handle_port_mdb_del()
597 entry->cpu_copy = false; in sparx5_handle_port_mdb_del()
607 if (bitmap_empty(entry->port_mask, SPX5_PORTS) && !entry->cpu_copy) { in sparx5_handle_port_mdb_del()
H A Dsparx5_main.h204 bool cpu_copy; member