port.c (022bba63c3ca02fc074c68b4e7b949bddcf320d6) | port.c (09f92341681a23346c456938bcb2670de2cd99d4) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Handling of a single switch port 4 * 5 * Copyright (c) 2017 Savoir-faire Linux Inc. 6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com> 7 */ 8 9#include <linux/if_bridge.h> 10#include <linux/netdevice.h> 11#include <linux/notifier.h> 12#include <linux/of_mdio.h> 13#include <linux/of_net.h> 14 15#include "dsa_priv.h" 16#include "port.h" | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Handling of a single switch port 4 * 5 * Copyright (c) 2017 Savoir-faire Linux Inc. 6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com> 7 */ 8 9#include <linux/if_bridge.h> 10#include <linux/netdevice.h> 11#include <linux/notifier.h> 12#include <linux/of_mdio.h> 13#include <linux/of_net.h> 14 15#include "dsa_priv.h" 16#include "port.h" |
17#include "slave.h" |
|
17 18/** 19 * dsa_port_notify - Notify the switching fabric of changes to a port 20 * @dp: port on which change occurred 21 * @e: event, must be of type DSA_NOTIFIER_* 22 * @v: event-specific value. 23 * 24 * Notify all switches in the DSA tree that this port's switch belongs to, --- 2058 unchanged lines hidden --- | 18 19/** 20 * dsa_port_notify - Notify the switching fabric of changes to a port 21 * @dp: port on which change occurred 22 * @e: event, must be of type DSA_NOTIFIER_* 23 * @v: event-specific value. 24 * 25 * Notify all switches in the DSA tree that this port's switch belongs to, --- 2058 unchanged lines hidden --- |