[dpdk-dev] Flow action not supported in testpmd

diptyaroop diptyaroop at cse.iitb.ac.in
Mon Apr 27 17:09:56 CEST 2020


Hello,

I am trying to check different flow rules using testpmd (DPDK v19.11), but 
facing the following error for any rule that I try:


testpmd> flow validate 0 ingress pattern eth / end actions queue index 6 / 
end
port_flow_complain(): Caught PMD error type 16 (specific action): cause: 
0x7ffe62373c18, Not supported action.: Invalid argument
testpmd> flow validate 1 ingress pattern eth / end actions queue index 6 / 
end
port_flow_complain(): Caught PMD error type 16 (specific action): cause: 
0x7ffe62373c18, Not supported action.: Invalid argument
testpmd>
testpmd>
testpmd> flow validate 1 ingress pattern end actions end
port_flow_complain(): Caught PMD error type 16 (specific action): cause: 
0x7ffe62373bf8, Not supported action.: Invalid argument
testpmd> flow validate 1  pattern end actions end
port_flow_complain(): Caught PMD error type 16 (specific action): cause: 
0x7ffe62373bf8, Not supported action.: Invalid argument
testpmd> flow validate 1 ingress pattern eth / ipv4 / end actions end
port_flow_complain(): Caught PMD error type 16 (specific action): cause: 
0x7ffe62373c38, Not supported action.: Invalid argument
testpmd> flow validate 1 ingress pattern eth / ipv4 / end actions drop / end
port_flow_complain(): Caught PMD error type 16 (specific action): cause: 
0x7ffe62373c38, Not supported action.: Invalid argument


I have configured 8 rxqs earlier:

testpmd> show config rxtx
   io packet forwarding packets/burst=32
   nb forwarding cores=1 - nb forwarding ports=2
   port 0: RX queue number: 8 Tx queue number: 8
     Rx offloads=0x0 Tx offloads=0x0
     RX queue: 0
       RX desc=1024 - RX free threshold=32
       RX threshold registers: pthresh=8 hthresh=8  wthresh=0
       RX Offloads=0x0
     TX queue: 0
       TX desc=1024 - TX free threshold=32
       TX threshold registers: pthresh=32 hthresh=0  wthresh=0
       TX offloads=0x0 - TX RS bit threshold=32
   port 1: RX queue number: 8 Tx queue number: 8
     Rx offloads=0x0 Tx offloads=0x0
     RX queue: 0
       RX desc=1024 - RX free threshold=32
       RX threshold registers: pthresh=8 hthresh=8  wthresh=0
       RX Offloads=0x0
     TX queue: 0
       TX desc=1024 - TX free threshold=32
       TX threshold registers: pthresh=32 hthresh=0  wthresh=0
       TX offloads=0x0 - TX RS bit threshold=32

Kindly let me know if I am doing anything wrong or if my NIC does not support 
rte_flow.
Also, is there any resource available where I can find which patterns/actions 
are supported in my NIC (for DPDK v19.11)?
I am trying to develop an application which will match GTP packets and 
perform decap + queue action on them.

Configuration:
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              24
On-line CPU(s) list: 0-23
Thread(s) per core:  1
Core(s) per socket:  12
Socket(s):           2
NUMA node(s):        2
Vendor ID:           GenuineIntel
CPU family:          6
Model:               79
Model name:          Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
NIC: 03:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit 
SFI/SFP+ Network Connection (rev 01)
      03:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit 
SFI/SFP+ Network Connection (rev 01)



Thanks and Regards,
Diptyaroop Maji
Department of CSE
IIT Bombay


More information about the dev mailing list