/openbmc/linux/net/switchdev/ |
H A D | switchdev.c | 537 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_fdb_event_to_device() local 575 switchdev = switchdev_lower_dev_find_rcu(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_fdb_event_to_device() 576 if (!switchdev) in __switchdev_handle_fdb_event_to_device() 579 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_fdb_event_to_device() 618 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_port_obj_add() local 668 switchdev = switchdev_lower_dev_find(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_port_obj_add() 669 if (!switchdev) in __switchdev_handle_port_obj_add() 672 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_port_obj_add() 732 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_port_obj_del() local 779 switchdev = switchdev_lower_dev_find(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_port_obj_del() [all …]
|
H A D | Makefile | 6 obj-y += switchdev.o
|
/openbmc/linux/Documentation/networking/ |
H A D | switchdev.rst | 6 Ethernet switch device driver model (switchdev) 14 The Ethernet switch device driver model (switchdev) is an in-kernel driver 18 Figure 1 is a block diagram showing the components of the switchdev model for 72 #include <net/switchdev.h> 78 Use "depends NET_SWITCHDEV" in driver's Kconfig to ensure switchdev model 85 On switchdev driver initialization, the driver will allocate and register a 96 port netdevs. All of the switchdev driver ops are netdev ops or switchdev ops. 98 A switch management port is outside the scope of the switchdev driver model. 106 The switchdev driver must implement the net_device operation 142 If the switchdev driver (and device) only supports offloading of the default [all …]
|
H A D | representors.rst | 10 :ref:`Documentation/networking/switchdev.rst <switchdev>`. 43 This document uses the term "switchdev function" to refer to the PCIe function 47 Depending on NIC design, a multi-port NIC might have a single switchdev function 49 switchdev function, for each physical network port. 50 If the NIC supports nested switching, there might be separate switchdev 51 functions for each nested switch, in which case each switchdev function should 98 - VFs belonging to the switchdev function. 146 The driver instance attached to the switchdev function should, for each virtual 148 in-kernel reference to the switchdev function's own netdevice or driver private 154 through the switchdev function. For example, ``ndo_start_xmit()`` might send [all …]
|
H A D | index.rst | 106 switchdev
|
H A D | statistics.rst | 64 switchdev mode for NICs).
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | switchdev.rst | 15 The mlx5 driver implements support for offloading bridge rules when in switchdev 16 mode. Linux bridge FDBs are automatically offloaded when mlx5 switchdev 19 - Change device to switchdev mode:: 21 $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev 23 - Attach mlx5 switchdev representor 'enp8s0f0' to bridge netdev 'bridge1':: 135 - Change device to switchdev mode:: 137 $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev 163 This is supported only when the eswitch mode is set to switchdev. Port function
|
H A D | index.rst | 16 switchdev
|
H A D | kconfig.rst | 91 | 2) :ref:`Switchdev mode (eswitch offloads) <switchdev>`.
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | Makefile | 21 mv88e6xxx-objs += switchdev.o
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | am65_nuss_cpsw_switchdev.rst | 4 Texas Instruments K3 AM65 CPSW NUSS switchdev based ethernet driver 48 All configuration is implemented via switchdev API.
|
H A D | cpsw_switchdev.rst | 4 Texas Instruments CPSW switchdev based ethernet driver 98 All configuration is implemented via switchdev API.
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | Kconfig | 24 used by switchdev as well as by DSA drivers.
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | ice.rst | 302 This feature is also dependent on switchdev being enabled in the system. 304 present, and those objects are only created in switchdev mode. 306 If the driver is set to the switchdev mode, it will export internal 347 # enable switchdev 348 $ devlink dev eswitch set pci/0000:4b:00.0 mode switchdev
|
H A D | mlx5.rst | 92 for E-switch in switchdev mode and users may disable it when NONE of the
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | Makefile | 31 ti-am65-cpsw-nuss-$(CONFIG_TI_K3_AM65_CPSW_SWITCHDEV) += am65-cpsw-switchdev.o
|
H A D | Kconfig | 66 tristate "TI CPSW Switch Support with switchdev" 120 This enables switchdev support for TI K3 CPSWxG Ethernet
|
/openbmc/linux/net/ |
H A D | Makefile | 75 obj-$(CONFIG_NET_SWITCHDEV) += switchdev/
|
H A D | Kconfig | 266 source "net/switchdev/Kconfig"
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | Kconfig | 99 If set to N, TC offloads in both NIC and switchdev modes will be disabled.
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | Kconfig | 237 offload for eswitch. This option enables SR-IOV switchdev eswitch
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink.sh | 623 devlink dev eswitch set $DL_HANDLE mode switchdev
|
/openbmc/linux/drivers/net/ethernet/intel/ |
H A D | Kconfig | 308 #devlink dev eswitch set pci/0000:XX:XX.X mode switchdev
|
/openbmc/linux/Documentation/networking/dsa/ |
H A D | dsa.rst | 436 - Switchdev:``net/switchdev/*`` 798 FDB entries belonging to these databases, through switchdev, asynchronously 1037 are treated similarly: DSA offloads the same switchdev object / port attribute 1076 listens for the bare minimum switchdev objects required for the software assist
|
/openbmc/linux/ |
H A D | MAINTAINERS | 12810 W: https://github.com/Marvell-switching/switchdev-prestera 20790 F: include/net/switchdev.h 20791 F: net/switchdev/
|