OpenCloudOS-Kernel/drivers/net
Amit Cohen b382092265 mlxsw: reg: Add support for VLAN RIF as part of RITR register
Router interfaces (RIFs) constructed on top of VLAN-aware bridges are of
"VLAN" type, whereas RIFs constructed on top of VLAN-unaware bridges of
"FID" type.

In other words, the RIF type is derived from the underlying FID type.
VLAN RIFs are used on top of 802.1Q FIDs, whereas FID RIFs are used on
top of 802.1D FIDs.

Currently 802.1Q FIDs are emulated using 802.1D FIDs, and therefore VLAN
RIFs are emulated using FID RIFs.

As part of converting the driver to use unified bridge, 802.1Q FIDs and
VLAN RIFs will be used.

Add the relevant fields to RITR register, add pack() function for VLAN
RIF and rename one field to fit the internal name.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-06-20 10:03:34 +01:00
..
appletalk net: appletalk: remove Apple/Farallon LocalTalk PC support 2022-05-11 13:08:38 +01:00
arcnet
bonding bonding: cleanup bond_create 2022-06-09 23:02:55 -07:00
caif caif_virtio: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
can can: ctucanfd: platform: add missing dependency to HAS_IOMEM 2022-05-23 22:00:06 +02:00
dsa net: dsa: felix: update base time of time-aware shaper when adjusting PTP time 2022-06-19 09:53:59 +01:00
ethernet mlxsw: reg: Add support for VLAN RIF as part of RITR register 2022-06-20 10:03:34 +01:00
fddi net: fddi: skfp: smt: Remove extra parameters to vararg macro 2022-05-22 23:05:56 +01:00
fjes
hamradio net: hamradio: remove support for DMA SCC devices 2022-04-27 12:22:56 +01:00
hippi drivers: net: hippi: Fix deadlock in rr_close() 2022-04-21 10:30:45 +02:00
hyperv Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-23 21:19:17 -07:00
ieee802154 Stefan Schmidt says: 2022-05-02 13:57:56 -07:00
ipa net: ipa: move more code out of gsi_channel_update() 2022-06-16 20:44:04 -07:00
ipvlan ipvlan: adopt u64_stats_t 2022-06-09 21:53:10 -07:00
mctp
mdio Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-05 13:03:18 -07:00
netdevsim netdevsim: rely on XFRM state direction instead of flags 2022-05-06 08:34:33 +02:00
pcs net: pcs: pcs-xpcs: use mii_bmcr_encode_fixed() 2022-06-19 10:38:26 +01:00
phy net: phy: marvell: use mii_bmcr_encode_fixed() 2022-06-19 10:38:26 +01:00
plip
ppp ppp: Fix typo in comment 2022-06-17 20:17:04 -07:00
slip
team team: adopt u64_stats_t 2022-06-09 21:53:12 -07:00
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-06-16 20:13:52 -07:00
vmxnet3 vmxnet3: disable overlay offloads if UPT device does not support 2022-06-20 09:12:46 +01:00
vxlan net: adopt u64_stats_t in struct pcpu_sw_netstats 2022-06-09 21:53:11 -07:00
wan WAN: Fix syntax errors in comments 2022-06-07 10:45:25 +02:00
wireguard wireguard: receive: use dev_sw_netstats_rx_add() 2022-06-09 21:53:10 -07:00
wireless wireless-next patches for v5.20 2022-06-10 08:57:35 -07:00
wwan wwan: iosm: use a flexible array rather than allocate short objects 2022-05-20 17:56:50 -07:00
xen-netback xen/netback: do some code cleanup 2022-06-08 21:05:03 -07:00
Kconfig
LICENSE.SRC
Makefile
Space.c eth: amd: remove NI6510 support (ni65) 2022-05-11 13:09:59 +01:00
amt.c amt: fix wrong type string definition 2022-06-06 14:27:35 -07:00
bareudp.c
dummy.c
eql.c net: rename reference+tracking helpers 2022-06-09 21:52:55 -07:00
geneve.c geneve: avoid indirect calls in GRO path, when possible 2022-04-15 10:52:29 +01:00
gtp.c
ifb.c
loopback.c net: loopback: enable BIG TCP packets 2022-05-16 10:18:56 +01:00
macsec.c net: adopt u64_stats_t in struct pcpu_sw_netstats 2022-06-09 21:53:11 -07:00
macvlan.c vlan: adopt u64_stats_t 2022-06-09 21:53:09 -07:00
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c net: rename reference+tracking helpers 2022-06-09 21:52:55 -07:00
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c sungem: Prepare cleanup of powerpc's asm/prom.h 2022-05-05 15:52:27 -07:00
tap.c
thunderbolt.c
tun.c net: switch to netif_napi_add_tx() 2022-05-05 15:54:12 -07:00
veth.c veth: enable BIG TCP packets 2022-05-16 10:18:56 +01:00
virtio_net.c net: virtio: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
vrf.c net: rename reference+tracking helpers 2022-06-09 21:52:55 -07:00
vsockmon.c
xen-netfront.c xen: switch gnttab_end_foreign_access() to take a struct page pointer 2022-05-27 11:05:29 +02:00