Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_eswitch.c24 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()
409 struct ice_vsi *uplink_vsi = pf->switchdev.uplink_vsi; in ice_eswitch_release_env()
410 struct ice_vsi *ctrl_vsi = pf->switchdev.control_vsi; in ice_eswitch_release_env()
484 pf->switchdev.control_vsi = ice_eswitch_vsi_setup(pf, pf->hw.port_info); in ice_eswitch_enable_switchdev()
485 if (!pf->switchdev.control_vsi) in ice_eswitch_enable_switchdev()
488 ctrl_vsi = pf->switchdev.control_vsi; in ice_eswitch_enable_switchdev()
[all …]
Dice.h602 struct ice_switchdev_info switchdev; member
795 return pf->switchdev.is_running; in ice_is_switchdev_running()
Dice_tc_lib.c684 fltr->dest_vsi = vsi->back->switchdev.uplink_vsi; in ice_eswitch_add_tc_fltr()
/Linux-v6.1/net/switchdev/
Dswitchdev.c464 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_fdb_event_to_device() local
502 switchdev = switchdev_lower_dev_find_rcu(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_fdb_event_to_device()
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()
[all …]
DMakefile6 obj-y += switchdev.o
/Linux-v6.1/Documentation/networking/
Drepresentors.rst10 :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 …]
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
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 …]
Dindex.rst104 switchdev
Dstatistics.rst64 switchdev mode for NICs).
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/mellanox/
Dmlx5.rst196 Metadata is applicable only for E-switch in switchdev mode and
217 - Change eswitch mode to switchdev mode where after choosing the metadata value::
219 $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev
223 The mlx5 driver implements support for offloading bridge rules when in switchdev
224 mode. Linux bridge FDBs are automatically offloaded when mlx5 switchdev
227 - Change device to switchdev mode::
229 $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev
231 - Attach mlx5 switchdev representor 'enp8s0f0' to bridge netdev 'bridge1'::
319 - Change device to switchdev mode::
321 $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev
[all …]
/Linux-v6.1/drivers/net/ethernet/mscc/
DKconfig23 used by switchdev as well as by DSA drivers.
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/ti/
Dam65_nuss_cpsw_switchdev.rst4 Texas Instruments K3 AM65 CPSW NUSS switchdev based ethernet driver
48 All configuration is implemented via switchdev API.
Dcpsw_switchdev.rst4 Texas Instruments CPSW switchdev based ethernet driver
98 All configuration is implemented via switchdev API.
/Linux-v6.1/drivers/net/ethernet/ti/
DMakefile29 ti-am65-cpsw-nuss-$(CONFIG_TI_K3_AM65_CPSW_SWITCHDEV) += am65-cpsw-switchdev.o
DKconfig66 tristate "TI CPSW Switch Support with switchdev"
116 This enables switchdev support for TI K3 CPSWxG Ethernet
/Linux-v6.1/net/
DMakefile74 obj-$(CONFIG_NET_SWITCHDEV) += switchdev/
DKconfig241 source "net/switchdev/Kconfig"
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
DKconfig98 If set to N, TC offloads in both NIC and switchdev modes will be disabled.
/Linux-v6.1/drivers/net/ethernet/broadcom/
DKconfig236 offload for eswitch. This option enables SR-IOV switchdev eswitch
/Linux-v6.1/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh605 devlink dev eswitch set $DL_HANDLE mode switchdev
/Linux-v6.1/drivers/net/ethernet/intel/
DKconfig324 #devlink dev eswitch set pci/0000:XX:XX.X mode switchdev
/Linux-v6.1/Documentation/networking/dsa/
Ddsa.rst436 - 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
/Linux-v6.1/
DMAINTAINERS12366 W: https://github.com/Marvell-switching/switchdev-prestera
19841 F: include/net/switchdev.h
19842 F: net/switchdev/