/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_eswitch.c | 24 struct ice_vsi *ctrl_vsi = pf->switchdev.control_vsi; in ice_eswitch_add_vf_mac_rule() 116 struct ice_vsi *uplink_vsi = pf->switchdev.uplink_vsi; in ice_eswitch_setup_env() 118 struct ice_vsi *ctrl_vsi = pf->switchdev.control_vsi; in ice_eswitch_setup_env() 175 struct ice_vsi *vsi = pf->switchdev.control_vsi; in ice_eswitch_remap_rings_to_vectors() 253 struct ice_vsi *ctrl_vsi = pf->switchdev.control_vsi; in ice_eswitch_setup_reprs() 491 if (!pf->switchdev.control_vsi) in ice_eswitch_enable_switchdev() 494 ctrl_vsi = pf->switchdev.control_vsi; in ice_eswitch_enable_switchdev() 495 pf->switchdev.uplink_vsi = ice_get_main_vsi(pf); in ice_eswitch_enable_switchdev() 496 if (!pf->switchdev.uplink_vsi) in ice_eswitch_enable_switchdev() 620 pf->switchdev.is_running = false; in ice_eswitch_release() [all …]
|
A D | ice.h | 628 struct ice_switchdev_info switchdev; member 821 return pf->switchdev.is_running; in ice_is_switchdev_running()
|
/linux-6.3-rc2/net/switchdev/ |
A D | switchdev.c | 464 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_fdb_event_to_device() local 503 if (!switchdev) in __switchdev_handle_fdb_event_to_device() 506 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_fdb_event_to_device() 545 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_port_obj_add() local 595 switchdev = switchdev_lower_dev_find(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_port_obj_add() 596 if (!switchdev) in __switchdev_handle_port_obj_add() 599 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_port_obj_add() 659 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_port_obj_del() local 706 switchdev = switchdev_lower_dev_find(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_port_obj_del() 707 if (!switchdev) in __switchdev_handle_port_obj_del() [all …]
|
A D | Makefile | 6 obj-y += switchdev.o
|
/linux-6.3-rc2/Documentation/networking/ |
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. 164 representee or of the switchdev function. 174 instance if the switchdev function is ``eth4`` then a representor with a 208 instead be the switchdev function's own uplink netdevice. [all …]
|
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 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 D | index.rst | 104 switchdev
|
A D | statistics.rst | 64 switchdev mode for NICs).
|
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
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':: 113 - Change device to switchdev mode:: 115 $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev 141 This is supported only when the eswitch mode is set to switchdev. Port function
|
A D | index.rst | 17 switchdev
|
A D | devlink.rst | 100 Metadata is applicable only for E-switch in switchdev mode and 121 - Change eswitch mode to switchdev mode where after choosing the metadata value:: 123 $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev
|
/linux-6.3-rc2/drivers/net/dsa/mv88e6xxx/ |
A D | Makefile | 18 mv88e6xxx-objs += switchdev.o
|
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/ti/ |
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.
|
A D | cpsw_switchdev.rst | 4 Texas Instruments CPSW switchdev based ethernet driver 98 All configuration is implemented via switchdev API.
|
/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | Kconfig | 24 used by switchdev as well as by DSA drivers.
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | Makefile | 29 ti-am65-cpsw-nuss-$(CONFIG_TI_K3_AM65_CPSW_SWITCHDEV) += am65-cpsw-switchdev.o
|
A D | Kconfig | 66 tristate "TI CPSW Switch Support with switchdev" 116 This enables switchdev support for TI K3 CPSWxG Ethernet
|
/linux-6.3-rc2/Documentation/networking/devlink/ |
A D | ice.rst | 287 This feature is also dependent on switchdev being enabled in the system. 289 present, and those objects are only created in switchdev mode. 291 If the driver is set to the switchdev mode, it will export internal 332 # enable switchdev 333 $ devlink dev eswitch set pci/0000:4b:00.0 mode switchdev
|
/linux-6.3-rc2/net/ |
A D | Makefile | 75 obj-$(CONFIG_NET_SWITCHDEV) += switchdev/
|
A D | Kconfig | 241 source "net/switchdev/Kconfig"
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | Kconfig | 98 If set to N, TC offloads in both NIC and switchdev modes will be disabled.
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/ |
A D | Kconfig | 237 offload for eswitch. This option enables SR-IOV switchdev eswitch
|
/linux-6.3-rc2/tools/testing/selftests/drivers/net/netdevsim/ |
A D | devlink.sh | 623 devlink dev eswitch set $DL_HANDLE mode switchdev
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ |
A D | Kconfig | 325 #devlink dev eswitch set pci/0000:XX:XX.X mode switchdev
|
/linux-6.3-rc2/Documentation/networking/dsa/ |
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
|