Lines Matching full:mode
8 Legacy mode operates based on traditional MAC/VLAN steering rules. Switching
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
34 * - ``mode``
36 - The mode of the device. The mode can be one of the following:
42 * ``switchdev_inactive`` switchdev mode but starts inactive, doesn't allow traffic
43 until explicitly activated. This mode is useful for orchestrators that
44 want to prepare the device in switchdev mode but only activate it when
46 * - ``inline-mode``
50 matching and steering. Support for both switchdev mode and legacy mode.
53 * ``link`` L2 mode.
54 * ``network`` L3 mode.
55 * ``transport`` L4 mode.
56 * - ``encap-mode``
58 - The encapsulation mode of the device. Support for both switchdev mode
59 and legacy mode. The mode can be one of the following:
69 # enable switchdev mode
70 $ devlink dev eswitch set pci/0000:08:00.0 mode switchdev
72 # set inline-mode and encap-mode
73 $ devlink dev eswitch set pci/0000:08:00.0 inline-mode none encap-mode basic
77 pci/0000:08:00.0: mode switchdev inline-mode none encap-mode basic
79 # enable encap-mode with legacy mode
80 $ devlink dev eswitch set pci/0000:08:00.0 mode legacy inline-mode none encap-mode basic
82 # start switchdev mode in inactive state
83 $ devlink dev eswitch set pci/0000:08:00.0 mode switchdev_inactive
88 # activate switchdev mode to allow traffic
89 $ devlink dev eswitch set pci/0000:08:00.0 mode switchdev