linux/drivers/net
Petr Machata 8d0f7d3ac6 mlxsw: Add support for IFLA_OFFLOAD_XSTATS_L3_STATS
Spectrum machines support L3 stats by binding a counter to a RIF, a
hardware object representing a router interface. Recognize the netdevice
notifier events, NETDEV_OFFLOAD_XSTATS_*, to support enablement,
disablement, and reporting back to core.

As a netdevice gains a RIF, if L3 stats are enabled, install the counters,
and ping the core so that a userspace notification can be emitted.

Similarly, as a netdevice loses a RIF, push the as-yet-unreported
statistics to the core, so that they are not lost, and ping the core to
emit userspace notification.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-03-03 10:37:23 +00:00
..
appletalk
arcnet
bonding bonding: add new option ns_ip6_target 2022-02-21 12:13:45 +00:00
caif
can spi: Make remove() return void 2022-02-28 10:43:07 -08:00
dsa net: dsa: mv88e6xxx: support RMII cmode 2022-03-02 22:33:37 -08:00
ethernet mlxsw: Add support for IFLA_OFFLOAD_XSTATS_L3_STATS 2022-03-03 10:37:23 +00:00
fddi
fjes
hamradio net: hamradio: fix compliation error 2022-03-02 09:47:38 -08:00
hippi
hyperv Netvsc: Call hv_unmap_memory() in the netvsc_device_remove() 2022-02-09 11:54:05 +00:00
ieee802154 spi: Make remove() return void 2022-02-28 10:43:07 -08:00
ipa net: ipa: determine replenish doorbell differently 2022-02-04 10:16:08 +00:00
ipvlan
mctp mctp i2c: Fix hard head TX bounds length check 2022-02-25 22:23:33 -08:00
mdio Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-24 17:54:25 -08:00
netdevsim ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt 2022-02-17 09:48:24 -08:00
pcs
phy net: sfp: use %pe for printing errors 2022-03-02 22:03:34 -08:00
plip
ppp
slip
team teaming: deliver link-local packets with the link they arrive on 2022-02-18 11:40:52 +00:00
usb net: asix: remove code duplicates in asix_mdio_read/write and asix_mdio_read/write_nopm 2022-02-24 21:21:30 -08:00
vmxnet3
vxlan drivers: vxlan: vnifilter: add support for stats dumping 2022-03-01 08:38:02 +00:00
wan spi: Make remove() return void 2022-02-28 10:43:07 -08:00
wireguard
wireless spi: Make remove() return void 2022-02-28 10:43:07 -08:00
wwan net: wwan: iosm: drop debugfs dev reference 2022-02-14 14:09:59 +00:00
xen-netback Revert "xen-netback: Check for hotplug-status existence before watching" 2022-02-24 08:58:37 -08:00
Kconfig
LICENSE.SRC
Makefile vxlan: move to its own directory 2022-03-01 08:38:01 +00:00
Space.c
amt.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
bareudp.c
dummy.c
eql.c
geneve.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
gtp.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
ifb.c
loopback.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
macsec.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
macvlan.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
macvtap.c macvtap: advertise link netns via netlink 2022-03-01 17:59:28 -08:00
mdio.c
mhi_net.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
rionet.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
sb1000.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
sungem_phy.c
tap.c tuntap: add sanity checks about msg_controllen in sendmsg 2022-03-02 22:00:59 -08:00
thunderbolt.c
tun.c tuntap: add sanity checks about msg_controllen in sendmsg 2022-03-02 22:00:59 -08:00
veth.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
virtio_net.c virtio_net: Fix code indent error 2022-02-15 14:27:17 +00:00
vrf.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
vsockmon.c
xen-netfront.c