PKTIO
Set/Display TX/PacketWatcher with streamlined pktio driver type
- PKTIO
Show or switch which implementation the shell uses for
TXandPacketWatcher. In PKTIO mode both commands go through the streamlined “PKTIO” packet driver instead, and they accept a smaller set of options. With no argument the command printsTX/PW using PKTIO mode is on(oroff).on/offmust be written in full. Any other word printsPKTIO subcommand '<word>' not foundand the help.Whether the mode can be switched depends on the
pktio_driver_typesetting inconfig.bcm. The mode is reset from that setting whenever the shell or the system is initialised. On SONiC Trident 3 PKTIO mode is normally off.pktiochanges only which shell commands run; it does not touch the switch.Hardware-validated
drivshell> pktio TX/PW using PKTIO mode is off
- PKTIO ON
Switch
TXandPacketWatcherto the PKTIO driver. Whenpktio_driver_typeis not set, it only printsPKTIO is not available when spn_PKTIO_DRIVER_TYPE = 0.Unvalidated
drivshell> pktio on
- PKTIO OFF
Switch back to the standard
TXandPacketWatcher. Whenpktio_driver_typeis set to 1 this is refused withDisabling PKTIO mode when spn_PKTIO_DRIVER_TYPE = 1 is not allowed.Unvalidated
drivshell> pktio off
Built-in help
pktio [on|off] on - Enable TX/PacketWatcher command with streamlined PKTIO driver type. off - Disable TX/PacketWatcher command with streamlined PKTIO driver type. NOTE: This command is used to switched different command parameter set according to PKTIO driver type. User should deploy spn_PKTIO_driver_type config to specify driver type.