a3a2e2c8 | 13-Jun-2017 |
Qi Zhang <qi.z.zhang@intel.com> |
ethdev: add fuzzy match in flow API
Add new meta pattern item RTE_FLOW_TYPE_ITEM_FUZZY in flow API.
This is for device that support fuzzy match option. Usually a fuzzy match is fast but the cost is
ethdev: add fuzzy match in flow API
Add new meta pattern item RTE_FLOW_TYPE_ITEM_FUZZY in flow API.
This is for device that support fuzzy match option. Usually a fuzzy match is fast but the cost is accuracy. i.e. Signature Match only match pattern's hash value, but it is possible that two different patterns have the same hash value.
Matching accuracy level can be configured by subfield threshold. Driver can divide the range of threshold and map to different accuracy levels that device support.
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
show more ...
|
323f811a | 14-Jun-2017 |
Adrien Mazarguil <adrien.mazarguil@6wind.com> |
ethdev: add isolated mode to flow API
Isolated mode can be requested by applications on individual ports to avoid ingress traffic outside of the flow rules they define.
Besides making ingress more
ethdev: add isolated mode to flow API
Isolated mode can be requested by applications on individual ports to avoid ingress traffic outside of the flow rules they define.
Besides making ingress more deterministic, it allows PMDs to safely reuse resources otherwise assigned to handle the remaining traffic, such as global RSS configuration settings, VLAN filters, MAC address entries, legacy filter API rules and so on in order to expand the set of possible flow rule types.
To minimize code complexity, PMDs implementing this mode may provide partial (or even no) support for flow rules when not enabled (e.g. no priorities, no RSS action). Applications written to use the flow API are therefore encouraged to enable it.
Once effective, leaving isolated mode may not be possible depending on PMD implementation.
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
b6b63dfd | 06-May-2017 |
Gaetan Rivet <gaetan.rivet@6wind.com> |
app/testpmd: print all or no events
Adds the "all" option to the print-event and mask-event parameters. This option will enable or disable all event notifications from being displayed.
Signed-off-b
app/testpmd: print all or no events
Adds the "all" option to the print-event and mask-event parameters. This option will enable or disable all event notifications from being displayed.
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
3af72783 | 02-May-2017 |
Gaetan Rivet <gaetan.rivet@6wind.com> |
app/testpmd: configure event display
Add two parameters to testpmd:
--print-event <event name> --mask-event <event name>
To enable or disable to printing of events. This display is configured
app/testpmd: configure event display
Add two parameters to testpmd:
--print-event <event name> --mask-event <event name>
To enable or disable to printing of events. This display is configured on a per-event basis. By default, all except VF_MBOX are displayed.
Fixes: 76ad4a2d82d4 ("app/testpmd: add generic event handler")
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
bef3bfe7 | 18-Apr-2017 |
Bernard Iremonger <bernard.iremonger@intel.com> |
doc: revise sample testpmd flow commands
Stop port before enabling QinQ. Add commands to set inner and outer TPID's and start port. Remove TPID's from flow validate and and flow create commands.
Si
doc: revise sample testpmd flow commands
Stop port before enabling QinQ. Add commands to set inner and outer TPID's and start port. Remove TPID's from flow validate and and flow create commands.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
a8c6a1ae | 31-Mar-2017 |
Allain Legacy <allain.legacy@windriver.com> |
app/testpmd: load commands from file at runtime
Adds support to testpmd to load a set of cmdline CLI commands at runtime. This can be helpful when needing to cut-n-paste many commands where cut-n-pa
app/testpmd: load commands from file at runtime
Adds support to testpmd to load a set of cmdline CLI commands at runtime. This can be helpful when needing to cut-n-paste many commands where cut-n-paste may not be practical.
testpmd> load /home/ubuntu/somefile.txt
Signed-off-by: Allain Legacy <allain.legacy@windriver.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
81ef862b | 31-Mar-2017 |
Allain Legacy <allain.legacy@windriver.com> |
app/testpmd: load commands from file at startup
Adds support to testpmd to load a set of cmdline CLI commands at startup. This can be helpful when needing to cut-n-paste many commands each time test
app/testpmd: load commands from file at startup
Adds support to testpmd to load a set of cmdline CLI commands at startup. This can be helpful when needing to cut-n-paste many commands each time testpmd is restarted. This option will work in both interactive and non-interactive modes.
./testpmd -n4 -c3 ... -- --cmdline-file=/home/ubuntu/somefile.txt
Signed-off-by: Allain Legacy <allain.legacy@windriver.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
e25e6c70 | 28-Apr-2017 |
Remy Horton <remy.horton@intel.com> |
app/testpmd: add --bitrate-stats option
Bit-rate collation should only be done by one core. This patch adds an option to select which core performs the bit-rate calculation, which is also disabled b
app/testpmd: add --bitrate-stats option
Bit-rate collation should only be done by one core. This patch adds an option to select which core performs the bit-rate calculation, which is also disabled by default.
Fixes: 7e4441c8efb9 ("app/testpmd: add bitrate statistics calculation")
Signed-off-by: Remy Horton <remy.horton@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
b8628a0e | 25-Apr-2017 |
Gaetan Rivet <gaetan.rivet@6wind.com> |
doc: add LSC and RMV interrupt to testpmd guide
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: John McNamara <john.mcnamara@intel.com> |
e4840ef2 | 26-Apr-2017 |
Adrien Mazarguil <adrien.mazarguil@6wind.com> |
ethdev: fix incomplete items in flow API
E-Tag and NVGRE pattern items have been added hastily without updating documentation nor testpmd.
This commit also adds default masks for these items based
ethdev: fix incomplete items in flow API
E-Tag and NVGRE pattern items have been added hastily without updating documentation nor testpmd.
This commit also adds default masks for these items based on the ixgbe implementation.
Fixes: 99e7003831c3 ("net/ixgbe: parse L2 tunnel filter") Cc: stable@dpdk.org
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
show more ...
|
999b2ee0 | 24-Mar-2017 |
Bruce Richardson <bruce.richardson@intel.com> |
app/testpmd: enable NUMA support by default
There is little reason for NUMA support in testpmd to be off by default, so enable it, and add in a new commandline parameter to disable it, if that is wa
app/testpmd: enable NUMA support by default
There is little reason for NUMA support in testpmd to be off by default, so enable it, and add in a new commandline parameter to disable it, if that is wanted by users.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
5a1affd8 | 07-Apr-2017 |
Bernard Iremonger <bernard.iremonger@intel.com> |
doc: add QinQ flow to testpmd guide
Add information on validating and creating QinQ flow rules to the flow rules management section of the Testpmd User Guide.
Signed-off-by: Bernard Iremonger <bern
doc: add QinQ flow to testpmd guide
Add information on validating and creating QinQ flow rules to the flow rules management section of the Testpmd User Guide.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
156a31b5 | 12-Apr-2017 |
Qi Zhang <qi.z.zhang@intel.com> |
app/testpmd: add commands for packet type mapping
Add below command line to configure ptype mapping. ptype mapping get <port_id> <valid_only>. ptype mapping replace <port_id> <target> <mask> <pkt_ty
app/testpmd: add commands for packet type mapping
Add below command line to configure ptype mapping. ptype mapping get <port_id> <valid_only>. ptype mapping replace <port_id> <target> <mask> <pkt_type>. ptype mapping reset <port_id>. ptype mapping update <port_id> <hw_ptype> <sw_ptype>.
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Jianbo Liu <jianbo.liu@linaro.org> Acked-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
show more ...
|
e682cb5d | 11-Apr-2017 |
Shijith Thotton <shijith.thotton@caviumnetworks.com> |
doc: explain compiling and testing of PMD
Add a section in NIC drivers documentation to explain compiling and testing of a PMD. It also mentions about host setup, which is required before running te
doc: explain compiling and testing of PMD
Add a section in NIC drivers documentation to explain compiling and testing of a PMD. It also mentions about host setup, which is required before running testpmd.
Add label "testpmd_ug" to refer user guide.
Signed-off-by: Shijith Thotton <shijith.thotton@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
79dd163f | 08-Apr-2017 |
Jeff Guo <jia.guo@intel.com> |
app: enable HW CRC strip by default
Since VF can not disable/enable HW CRC strip for non-DPDK PF drivers, and kernel driver almost default enable that feature, if disable it in app's rxmode, VF driv
app: enable HW CRC strip by default
Since VF can not disable/enable HW CRC strip for non-DPDK PF drivers, and kernel driver almost default enable that feature, if disable it in app's rxmode, VF driver will report the VF launch failure. So this patch default to enable HW CRC strip to let VF launch successful.
Cc: stable@dpdk.org
Signed-off-by: Jeff Guo <jia.guo@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
8c32c192 | 04-Apr-2017 |
Qi Zhang <qi.z.zhang@intel.com> |
app/testpmd: add command to show/clear VF stats
Add two commands to show/clear VF stats show vf stats <port_id> <vf_id> clear vf stats <port_id> <vf_id>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.co
app/testpmd: add command to show/clear VF stats
Add two commands to show/clear VF stats show vf stats <port_id> <vf_id> clear vf stats <port_id> <vf_id>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
show more ...
|
9fd6c4df | 01-Apr-2017 |
Bernard Iremonger <bernard.iremonger@intel.com> |
app/testpmd: add CLI to set TC min bandwidth
Add a CLI in testpmd to test the TC min bandwidth setting.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Signed-off-by: Wenzhuo Lu <wen
app/testpmd: add CLI to set TC min bandwidth
Add a CLI in testpmd to test the TC min bandwidth setting.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
show more ...
|
1315219a | 30-Mar-2017 |
Beilei Xing <beilei.xing@intel.com> |
app/testpmd: add MPLS and GRE fields to flow command
This patch exposes the following item fields through the flow command:
- MPLS label - GRE protocol
Signed-off-by: Beilei Xing <beilei.xing@inte
app/testpmd: add MPLS and GRE fields to flow command
This patch exposes the following item fields through the flow command:
- MPLS label - GRE protocol
Signed-off-by: Beilei Xing <beilei.xing@intel.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
show more ...
|
22e6545f | 24-Feb-2017 |
Wenzhuo Lu <wenzhuo.lu@intel.com> |
app/testpmd: set TC strict link priority mode
Add a CLI to set some TCs' strict link priority mode on a physical port.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Jingjing Wu <jingji
app/testpmd: set TC strict link priority mode
Add a CLI to set some TCs' strict link priority mode on a physical port.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
909fd9ac | 24-Feb-2017 |
Wenzhuo Lu <wenzhuo.lu@intel.com> |
app/testpmd: set VF TC Tx max bandwidth
Add CLI to set a specific TC's max bandwidth on a specific VF from PF.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@in
app/testpmd: set VF TC Tx max bandwidth
Add CLI to set a specific TC's max bandwidth on a specific VF from PF.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
42d0baae | 24-Feb-2017 |
Wenzhuo Lu <wenzhuo.lu@intel.com> |
app/testpmd: set VF TC Tx min bandwidth
Add CLI to set TCs' min bandwidth on a specific VF from PF.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> |
cac48219 | 24-Feb-2017 |
Wenzhuo Lu <wenzhuo.lu@intel.com> |
app/testpmd: set VF Tx max bandwidth
Add CLI to set a specific VF's TX max bandwidth from PF.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> |
5852bf6a | 13-Mar-2017 |
Pascal Mazon <pascal.mazon@6wind.com> |
app/testpmd: add default MAC set command
Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> |
35b09d76 | 27-Feb-2017 |
Keith Wiles <keith.wiles@intel.com> |
doc: use corelist instead of coremask
The coremask option in DPDK is difficult to use and we should be promoting the use of the corelist (-l) option. The patch adjusts the docs to use -l EAL option
doc: use corelist instead of coremask
The coremask option in DPDK is difficult to use and we should be promoting the use of the corelist (-l) option. The patch adjusts the docs to use -l EAL option instead of the -c option.
The patch only changes the docs and not the code as the -c option will continue to exist unless it is removed in the future. The -c option should be kept to maintain backward compatibility.
Signed-off-by: Keith Wiles <keith.wiles@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
d28645c7 | 16-Jan-2017 |
Qiming Yang <qiming.yang@intel.com> |
app/testpmd: add offload capabilities query
Add two new commands "show port cap <port>" and "show port cap all" to display what offload capabilities supported in ports. It will not only display all
app/testpmd: add offload capabilities query
Add two new commands "show port cap <port>" and "show port cap all" to display what offload capabilities supported in ports. It will not only display all the capabilities of the port, but also the enabling condition for each capability in the running time.
Signed-off-by: Qiming Yang <qiming.yang@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Beilei Xing <beilei.xing@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|