Chapter XXIV. DPDK Driver
Flow Control
Flow control pause Tx/Rx is disabled by default and can be enabled via Testpmd as follows:
testpmd> set flow_ctrl rx on tx on 0 0 0 0 mac_ctrl_frame_fwd off autoneg
off 0
testpmd> set flow_ctrl rx on tx on 0 0 0 0 mac_ctrl_frame_fwd off autoneg
off 1
The PEER should be advertising the PAUSE capabilities for the Tx and Rx pause
Note
to be enabled on the link.
To disable again, run:
testpmd> set flow_ctrl rx off tx off 0 0 0 0 mac_ctrl_frame_fwd off autoneg
on 0
testpmd> set flow_ctrl rx off tx off 0 0 0 0 mac_ctrl_frame_fwd off autoneg
on 1
Important
Changing Flow Control settings on VFs is not supported.
RSS
RSS is enabled by default and can be disabled via Testpmd as follows:
testpmd> port config all rss none
To enable again, run:
testpmd> port config all rss [ip|tcp|udp]
Important
RSS is enabled by default for VFs. Changing RSS options is currently not
supported on VFs.
Jumbo Mode
There are multiple ways to enable sending and receiving of jumbo frames: the first method
involves using the command prompt and the other two via testpmd application.
•
Command Prompt
Run the following command at the prompt:
[root@host~]# testpmd -c ffff -n 3 -- -i --nb-cores=8 --txq=4 --rxq=4 --max-
pkt-len=9018
Chelsio Unified Wire for Linux
340
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers