Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
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()
136 return lan966x_mac_ip_learn(lan966x, cpu_copy, 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()
171 if (!mdb_entry->ports && !mdb_entry->cpu_copy) { in lan966x_mdb_ip_del()
178 return lan966x_mac_ip_learn(lan966x, mdb_entry->cpu_copy, in lan966x_mdb_ip_del()
[all …]
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()
Dlan966x_main.h354 bool cpu_copy,
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
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()
Dsparx5_main.h223 bool cpu_copy; member