Home
last modified time | relevance | path

Searched refs:switchdev (Results 1 – 25 of 29) sorted by relevance

12

/linux/Documentation/networking/devlink/
A Ddevlink-eswitch-attr.rst7 Devlink E-Switch supports two modes of operation: legacy and switchdev.
12 On the other hand, switchdev mode allows for more advanced offloading
13 capabilities of the E-Switch to hardware. In switchdev mode, more switching
17 :ref:`Documentation/networking/switchdev.rst <switchdev>` and
40 * ``switchdev`` allows for more advanced offloading capabilities of
46 matching and steering. Support for both switchdev mode and legacy mode.
54 - The encapsulation mode of the device. Support for both switchdev mode
65 # enable switchdev mode
66 $ devlink dev eswitch set pci/0000:08:00.0 mode switchdev
73 pci/0000:08:00.0: mode switchdev inline-mode none encap-mode basic
A Dice.rst383 This feature is also dependent on switchdev being enabled in the system.
385 present, and those objects are only created in switchdev mode.
387 If the driver is set to the switchdev mode, it will export internal
428 # enable switchdev
429 $ devlink dev eswitch set pci/0000:4b:00.0 mode switchdev
A Dmlx5.rst92 for E-switch in switchdev mode and users may disable it when NONE of the
103 enabling switchdev mode.
/linux/net/switchdev/
A Dswitchdev.c628 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_fdb_event_to_device() local
667 if (!switchdev) in __switchdev_handle_fdb_event_to_device()
670 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_fdb_event_to_device()
709 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_port_obj_add() local
759 switchdev = switchdev_lower_dev_find(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_port_obj_add()
760 if (!switchdev) in __switchdev_handle_port_obj_add()
763 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_port_obj_add()
823 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_port_obj_del() local
870 switchdev = switchdev_lower_dev_find(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_port_obj_del()
871 if (!switchdev) in __switchdev_handle_port_obj_del()
[all …]
A DMakefile6 obj-y += switchdev.o
/linux/Documentation/networking/
A Dswitchdev.rst6 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
96 port netdevs. All of the switchdev driver ops are netdev ops or switchdev ops.
106 The switchdev driver must implement the net_device operation
175 To offloading L2 bridging, the switchdev driver/device should support:
269 To support learning, the driver implements switchdev op
295 driver of STP state change on a port using the switchdev op
[all …]
A Drepresentors.rst11 :ref:`Documentation/networking/switchdev.rst <switchdev>`.
44 This document uses the term "switchdev function" to refer to the PCIe function
48 Depending on NIC design, a multi-port NIC might have a single switchdev function
50 switchdev function, for each physical network port.
51 If the NIC supports nested switching, there might be separate switchdev
52 functions for each nested switch, in which case each switchdev function should
99 - VFs belonging to the switchdev function.
165 representee or of the switchdev function.
177 instance if the switchdev function is ``eth4`` then a representor with a
211 instead be the switchdev function's own uplink netdevice.
[all …]
A Dsriov.rst7 Modern NICs are strongly encouraged to focus on implementing the ``switchdev``
8 model (see :ref:`switchdev`) to configure forwarding and security of SR-IOV
A Dindex.rst115 switchdev
A Dbridge.rst241 hardware switches that support switchdev. With Linux Bridge Switchdev, certain
248 switchdev interface. This means that the switch hardware needs to have the
252 Please see the :ref:`switchdev` document for more details.
A Dstatistics.rst73 switchdev mode for NICs).
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
A Dswitchdev.rst15 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
A Dindex.rst16 switchdev
A Dkconfig.rst91 | 2) :ref:`Switchdev mode (eswitch offloads) <switchdev>`.
/linux/drivers/net/dsa/mv88e6xxx/
A DMakefile21 mv88e6xxx-objs += switchdev.o
/linux/Documentation/networking/device_drivers/ethernet/ti/
A Dam65_nuss_cpsw_switchdev.rst4 Texas Instruments K3 AM65 CPSW NUSS switchdev based ethernet driver
48 All configuration is implemented via switchdev API.
A Dcpsw_switchdev.rst4 Texas Instruments CPSW switchdev based ethernet driver
98 All configuration is implemented via switchdev API.
/linux/drivers/net/ethernet/mscc/
A DKconfig24 used by switchdev as well as by DSA drivers.
/linux/drivers/net/ethernet/ti/
A DMakefile31 ti-am65-cpsw-nuss-$(CONFIG_TI_K3_AM65_CPSW_SWITCHDEV) += am65-cpsw-switchdev.o
A DKconfig66 tristate "TI CPSW Switch Support with switchdev"
120 This enables switchdev support for TI K3 CPSWxG Ethernet
/linux/net/
A DMakefile74 obj-$(CONFIG_NET_SWITCHDEV) += switchdev/
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A DKconfig99 If set to N, TC offloads in both NIC and switchdev modes will be disabled.
/linux/drivers/net/ethernet/broadcom/
A DKconfig237 offload for eswitch. This option enables SR-IOV switchdev eswitch
/linux/tools/testing/selftests/drivers/net/netdevsim/
A Ddevlink.sh630 devlink dev eswitch set $DL_HANDLE mode switchdev
/linux/drivers/net/ethernet/intel/
A DKconfig328 #devlink dev eswitch set pci/0000:XX:XX.X mode switchdev

Completed in 34 milliseconds

12