linux/drivers/net
Vladimir Oltean 8f6a19c031 net: dsa: introduce dsa_port_get_master()
There is a desire to support for DSA masters in a LAG.

That configuration is intended to work by simply enslaving the master to
a bonding/team device. But the physical DSA master (the LAG slave) still
has a dev->dsa_ptr, and that cpu_dp still corresponds to the physical
CPU port.

However, we would like to be able to retrieve the LAG that's the upper
of the physical DSA master. In preparation for that, introduce a helper
called dsa_port_get_master() that replaces all occurrences of the
dp->cpu_dp->master pattern. The distinction between LAG and non-LAG will
be made later within the helper itself.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-09-20 10:32:35 +02:00
..
appletalk
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-08 18:38:30 +02:00
caif
can can: dev: add CAN XL support to virtual CAN 2022-09-15 09:08:09 +02:00
dsa net: dsa: introduce dsa_port_get_master() 2022-09-20 10:32:35 +02:00
ethernet net: dsa: introduce dsa_port_get_master() 2022-09-20 10:32:35 +02:00
fddi
fjes net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
hamradio net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
hippi
hyperv net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
ieee802154 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-01 12:58:02 -07:00
ipa net: ipa: don't have gsi_channel_update() return a value 2022-09-09 11:45:25 +01:00
ipvlan net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
mctp
mdio Immutable branch between MFD Net and Pinctrl due for the v6.0 merge window 2022-09-19 14:21:54 -07:00
netdevsim netdevsim: remove redundant variable ret 2022-09-01 20:50:48 -07:00
pcs net: pcs: add new PCS driver for altera TSE PCS 2022-09-05 10:16:53 +01:00
phy net: phy: micrel: Cable Diag feature for lan8814 phy 2022-09-19 17:57:46 -07:00
plip
ppp
slip
team net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-08 18:38:30 +02:00
vmxnet3 net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
vxlan net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
wan
wireguard genetlink: start to validate reserved header bytes 2022-08-29 12:47:15 +01:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-08 18:38:30 +02:00
wwan net: wwan: t7xx: Fix return type of t7xx_ccmni_start_xmit 2022-09-19 18:28:50 -07:00
xen-netback xen-netback: only remove 'hotplug-status' when the vif is actually destroyed 2022-09-03 09:53:02 +01:00
amt.c
bareudp.c
dummy.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
eql.c
geneve.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
gtp.c genetlink: start to validate reserved header bytes 2022-08-29 12:47:15 +01:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c net/macsec: Move some code for sharing with various drivers that implements offload 2022-09-07 14:02:08 +01:00
macvlan.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
netconsole.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
nlmon.c
ntb_netdev.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
rionet.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
sb1000.c
Space.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
sungem_phy.c
tap.c
thunderbolt.c net: thunderbolt: Update module description with mention of USB4 2022-08-31 14:05:12 +01:00
tun.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
veth.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
virtio_net.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
vrf.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
vsockmon.c
xen-netfront.c