summaryrefslogtreecommitdiff
path: root/net/dsa/user.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2024-06-10 13:48:06 +0100
committerDavid S. Miller <davem@davemloft.net>2024-06-10 13:48:06 +0100
commit2ba6d15786f6c11b6e497eebe68b8baec52f7984 (patch)
treeed103d96d1b627bcc4e09ab6d3e0db29dcaf9ba8 /net/dsa/user.h
parent395059c52e0104a5e01832f866caa8b15284dd9a (diff)
parenteef8e906aea270f4b8912a0b51403b80aec54d30 (diff)
Merge branch 'fix-changing-dsa-conduit'
Marek BehĂșn says: ==================== Fix changing DSA conduit This series fixes an issue in the DSA code related to host interface UC address installed into port FDB and port conduit address database when live-changing port conduit. The first patch refactores/deduplicates the installation/uninstallation of the interface's MAC address and the second patch fixes the issue. Cover letter for v1 and v2: https://patchwork.kernel.org/project/netdevbpf/cover/20240429163627.16031-1-kabel@kernel.org/ https://patchwork.kernel.org/project/netdevbpf/cover/20240502122922.28139-1-kabel@kernel.org/ ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/user.h')
-rw-r--r--net/dsa/user.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dsa/user.h b/net/dsa/user.h
index 996069130bea..016884bead3c 100644
--- a/net/dsa/user.h
+++ b/net/dsa/user.h
@@ -42,6 +42,8 @@ int dsa_user_suspend(struct net_device *user_dev);
int dsa_user_resume(struct net_device *user_dev);
int dsa_user_register_notifier(void);
void dsa_user_unregister_notifier(void);
+int dsa_user_host_uc_install(struct net_device *dev, const u8 *addr);
+void dsa_user_host_uc_uninstall(struct net_device *dev);
void dsa_user_sync_ha(struct net_device *dev);
void dsa_user_unsync_ha(struct net_device *dev);
void dsa_user_setup_tagger(struct net_device *user);