Marek Behún
77f7541248
net: dsa: deduplicate code adding / deleting the port address to fdb
...
The sequence
if (dsa_switch_supports_uc_filtering(ds))
dsa_port_standalone_host_fdb_add(dp, addr, 0);
if (!ether_addr_equal(addr, conduit->dev_addr))
dev_uc_add(conduit, addr);
is executed both in dsa_user_open() and dsa_user_set_mac_addr().
Its reverse is executed both in dsa_user_close() and
dsa_user_set_mac_addr().
Refactor these sequences into new functions dsa_user_host_uc_install()
and dsa_user_host_uc_uninstall().
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-06-10 13:48:06 +01:00
..
2024-02-09 14:12:01 -08:00
2024-05-29 09:25:15 -07:00
2023-10-28 11:29:28 +01:00
2024-05-07 16:19:14 -07:00
2024-05-09 10:01:01 -07:00
2024-05-13 18:19:09 -06:00
2024-06-01 15:49:42 -07:00
2024-05-22 20:14:47 -04:00
2024-05-18 10:32:39 -07:00
2024-06-05 09:41:33 +02:00
2024-06-05 10:04:47 +01:00
2024-06-05 10:18:06 +01:00
2024-02-20 15:32:45 +01:00
2024-03-06 12:43:01 +01:00
2024-06-10 13:15:40 +01:00
2023-08-01 21:07:46 -07:00
2024-06-10 11:54:18 +01:00
2024-06-05 10:24:57 +01:00
2024-01-11 10:07:29 -08:00
2024-06-10 13:48:06 +01:00
2024-05-25 10:48:57 -07:00
2024-06-06 12:06:56 -07:00
2024-04-16 17:14:55 -07:00
2024-05-09 10:01:01 -07:00
2024-05-28 07:27:29 -07:00
2023-12-15 10:50:18 +00:00
2024-06-10 11:54:18 +01:00
2024-06-06 12:06:56 -07:00
2024-05-21 12:09:36 -07:00
2024-03-11 09:53:22 +00:00
2024-02-09 14:12:01 -08:00
2024-05-17 12:15:22 -07:00
2024-05-13 18:19:09 -06:00
2024-05-29 15:58:54 +02:00
2024-03-06 21:01:26 +01:00
2024-02-29 14:24:56 -08:00
2024-05-03 13:29:41 +01:00
2024-06-06 12:06:56 -07:00
2024-06-01 16:21:44 -07:00
2024-05-31 14:10:28 -07:00
2024-05-13 14:58:12 -07:00
2024-06-10 13:15:40 +01:00
2024-05-18 10:32:39 -07:00
2024-05-23 12:49:37 -07:00
2024-04-26 12:20:01 +02:00
2024-06-04 16:06:37 +02:00
2024-05-23 14:14:36 -07:00
2024-05-13 18:19:09 -06:00
2024-04-01 10:49:28 +01:00
2024-05-16 09:47:45 +01:00
2024-05-13 18:19:09 -06:00
2024-03-25 15:40:22 +01:00
2024-05-13 18:19:09 -06:00
2024-05-09 10:01:01 -07:00
2024-06-06 12:06:56 -07:00
2024-05-13 18:19:09 -06:00
2024-06-06 12:06:56 -07:00
2024-05-23 13:51:09 -07:00
2024-05-08 12:19:12 +01:00
2024-05-22 20:14:47 -04:00
2024-06-04 13:23:30 +02:00
2024-06-06 12:06:56 -07:00
2024-05-23 12:04:36 -07:00
2024-05-29 15:25:25 +02:00
2024-05-13 18:19:09 -06:00
2024-06-05 09:42:30 +02:00
2024-05-29 17:34:49 -07:00
2023-12-12 14:24:14 +01:00
2024-06-06 13:18:48 +02:00
2024-01-31 16:41:16 -08:00
2024-05-13 18:19:19 -06:00
2024-04-24 09:43:54 +02:00