01ee2e49 | 01-Apr-2021 |
Jiawei Wang <jiaweiw@nvidia.com> |
doc: add sampling and mirroring in testpmd guide
Update documentation for sample action usage in testpmd and show the command line example.
Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com> Acked-by:
doc: add sampling and mirroring in testpmd guide
Update documentation for sample action usage in testpmd and show the command line example.
Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
b7b78a08 | 05-Mar-2021 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
app/testpmd: support forced ethernet speed
Add support for forced ethernet speed setting. Currently testpmd tries to configure the Ethernet port in autoneg mode. It is not possible to set the Ethern
app/testpmd: support forced ethernet speed
Add support for forced ethernet speed setting. Currently testpmd tries to configure the Ethernet port in autoneg mode. It is not possible to set the Ethernet port to a specific speed while starting testpmd. In some cases capability to configure a forced speed for the Ethernet port during initialization may be necessary. This patch tries to add this support.
The patch assumes full duplex setting and does not attempt to change that. So speeds like 10M, 100M are not configurable using this method.
The command line to configure a forced speed of 10G: dpdk-testpmd -c 0xff -- -i --eth-link-speed 10000
The command line to configure a forced speed of 50G: dpdk-testpmd -c 0xff -- -i --eth-link-speed 50000
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
ecf86ccb | 05-Feb-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
app/testpmd: remove duplicated offload display
"show port cap all|<port_id>" was to display offload configuration of port(s).
But later two other commands added to show same information in more acc
app/testpmd: remove duplicated offload display
"show port cap all|<port_id>" was to display offload configuration of port(s).
But later two other commands added to show same information in more accurate way: show port (port_id) rx_offload configuration show port (port_id) tx_offload configuration
These new commands can both show port and queue level configuration, also with their capabilities counterparts easier to see offload capability and configuration of the port in similar syntax.
So the functionality is duplicated and removing this version, to favor the new commands.
Another problem with this command is it requires each new offload to be added into the function to display them, and there were missing offloads that are not displayed, this requirement for sure will create gaps by time as new offloads added.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Lance Richardson <lance.richardson@broadcom.com> Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
show more ...
|
6f04fa45 | 12-Feb-2021 |
Lance Richardson <lance.richardson@broadcom.com> |
app/testpmd: display Rx queue used descriptor count
Add support for displaying the count of used (filled by hardware but not yet processed by the driver) descriptors on a receive queue in order to a
app/testpmd: display Rx queue used descriptor count
Add support for displaying the count of used (filled by hardware but not yet processed by the driver) descriptors on a receive queue in order to allow the rte_eth_dev rx_queue_count() API to be exercised and tested.
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com> Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
show more ...
|
836cdce4 | 19-Jan-2021 |
Bernard Iremonger <bernard.iremonger@intel.com> |
doc: fix QinQ flow rules in testpmd guide
In the Testpmd Flow rules management section, correct the TPID values in the Sample QinQ flow rules sub section. Also replace the keyword qinq_strip with ex
doc: fix QinQ flow rules in testpmd guide
In the Testpmd Flow rules management section, correct the TPID values in the Sample QinQ flow rules sub section. Also replace the keyword qinq_strip with extend in the vlan set command.
Fixes: bef3bfe7d5f4 ("doc: revise sample testpmd flow commands") Cc: stable@dpdk.org
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
show more ...
|
6c02043e | 21-Jan-2021 |
Igor Russkikh <irusskikh@marvell.com> |
app/testpmd: support sending cloned packets in flowgen
When testing high performance numbers, it is often that CPU performance limits the max values device can reach (both in pps and in gbps)
Here
app/testpmd: support sending cloned packets in flowgen
When testing high performance numbers, it is often that CPU performance limits the max values device can reach (both in pps and in gbps)
Here instead of recreating each packet separately, we use clones counter to resend the same mbuf to the line multiple times.
PMDs handle that transparently due to reference counting inside of mbuf.
Reaching max PPS on small packet sizes helps here: Some data from our 2 port x 50G device. Using 2*6 tx queues, 64b packets, PowerEdge R7525, AMD EPYC 7452:
./build/app/dpdk-testpmd -l 32-63 -- --forward-mode=flowgen \ --rxq=6 --txq=6 --disable-crc-strip --burst=512 \ --flowgen-clones=0 --txd=4096 --stats-period=1 --txpkts=64
Gives ~46MPPS TX output:
Tx-pps: 22926849 Tx-bps: 11738590176 Tx-pps: 23642629 Tx-bps: 12105024112
Setting flowgen-clones to 512 pushes TX almost to our device physical limit (68MPPS) using same 2*6 queues(cores):
Tx-pps: 34357556 Tx-bps: 17591073696 Tx-pps: 34353211 Tx-bps: 17588802640
Doing similar measurements per core, I see one core can do 6.9MPPS (without clones) vs 11MPPS (with clones)
Verified on Marvell qede and atlantic PMDs.
Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
d8102528 | 20-Jan-2021 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
ethdev: add MPLS RSS offload type
This patch defines new RSS offload types for MPLS. The distribution will on the basis of MPLS tag.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Reviewed-
ethdev: add MPLS RSS offload type
This patch defines new RSS offload types for MPLS. The distribution will on the basis of MPLS tag.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
55c074f3 | 17-Jan-2021 |
Viacheslav Ovsiienko <viacheslavo@nvidia.com> |
app/testpmd: support GENEVE option item
The patch adds the GENEVE option rte flow item support to command line interpreter. The flow command with GENEVE option items looks like:
flow create 0 ing
app/testpmd: support GENEVE option item
The patch adds the GENEVE option rte flow item support to command line interpreter. The flow command with GENEVE option items looks like:
flow create 0 ingress pattern eth / ipv4 / udp / geneve vni is 100 / geneve-opt class is 99 length is 1 type is 0 data is 0x669988 / end actions drop / end
The option length should be specified in 32-bit words, this value specifies the length of the data pattern/mask arrays (should be multiplied by sizeof(uint32_t) to be expressed in bytes. If match on the length itself is not needed the mask should be set to zero, in this case length is used to specify the pattern/mask array lengths only.
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> Acked-by: Ori Kam <orika@nvidia.com>
show more ...
|
934f36b5 | 15-Jan-2021 |
Jeff Guo <jia.guo@intel.com> |
app/testpmd: add UDP tunnel port for eCPRI
Add new UDP tunnel port params for eCPRI configuration, the command as below:
testpmd> port config 0 udp_tunnel_port add ecpri 6789 testpmd> port config 0
app/testpmd: add UDP tunnel port for eCPRI
Add new UDP tunnel port params for eCPRI configuration, the command as below:
testpmd> port config 0 udp_tunnel_port add ecpri 6789 testpmd> port config 0 udp_tunnel_port rm ecpri 6789
Signed-off-by: Jeff Guo <jia.guo@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
46914aa1 | 18-Nov-2020 |
Simei Su <simei.su@intel.com> |
ethdev: add eCPRI RSS offload type
This patch defines new RSS offload types for eCPRI. For eCPRI with Message Type 0, the hash field is physical channel ID.
Signed-off-by: Simei Su <simei.su@intel.
ethdev: add eCPRI RSS offload type
This patch defines new RSS offload types for eCPRI. For eCPRI with Message Type 0, the hash field is physical channel ID.
Signed-off-by: Simei Su <simei.su@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
f1a6a986 | 02-Nov-2020 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
app/testpmd: support shared flow action attribute transfer
This attribute helps PMDs to tell actions supposed to work on the so-called hardware e-switch level from regular ones.
Signed-off-by: Ivan
app/testpmd: support shared flow action attribute transfer
This attribute helps PMDs to tell actions supposed to work on the so-called hardware e-switch level from regular ones.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Acked-by: Ori Kam <orika@nvidia.com>
show more ...
|
cf47acc0 | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove L2 tunnel offload control API
Remove rte_eth_dev_l2_tunnel_offload_set() and corresponding ethdev driver operation.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-
ethdev: remove L2 tunnel offload control API
Remove rte_eth_dev_l2_tunnel_offload_set() and corresponding ethdev driver operation.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Acked-by: Jeff Guo <jia.guo@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
99a1b689 | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove API to config L2 tunnel EtherType
Remove rte_eth_dev_l2_tunnel_eth_type_conf() and corresponding ethdev driver operation.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
ethdev: remove API to config L2 tunnel EtherType
Remove rte_eth_dev_l2_tunnel_eth_type_conf() and corresponding ethdev driver operation.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Acked-by: Jeff Guo <jia.guo@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
298dafb9 | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
app/testpmd: remove command to set FDIR flexible filter mask
The command uses FDIR filter information get API which is not supported any more.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare
app/testpmd: remove command to set FDIR flexible filter mask
The command uses FDIR filter information get API which is not supported any more.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
1be514fb | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy FDIR filter type support
Instead of FDIR filters RTE flow API should be used.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Ajit Khaparde <ajit.khapard
ethdev: remove legacy FDIR filter type support
Instead of FDIR filters RTE flow API should be used.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Acked-by: Hyong Youb Kim <hyonkim@cisco.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
0cd2ff37 | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy global filter configuration support
Global filter configuration request was supported by net/i40e driver only to configure GRE key length.
Signed-off-by: Andrew Rybchenko <ary
ethdev: remove legacy global filter configuration support
Global filter configuration request was supported by net/i40e driver only to configure GRE key length.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
f0872e87 | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy L2 tunnel filter type support
Instead of L2 tunnel filter RTE flow API should be used.
Preserve RTE_ETH_FILTER_L2_TUNNEL since it is used in drivers internally in RTE flow API
ethdev: remove legacy L2 tunnel filter type support
Instead of L2 tunnel filter RTE flow API should be used.
Preserve RTE_ETH_FILTER_L2_TUNNEL since it is used in drivers internally in RTE flow API support.
rte_eth_l2_tunnel_conf structure is used in other ethdev API functions.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
81db321d | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy HASH filter type support
Instead of HASH filter RTE flow API should be used.
Preserve RTE_ETH_FILTER_HASH since it is used in drivers internally in RTE flow API support.
Sign
ethdev: remove legacy HASH filter type support
Instead of HASH filter RTE flow API should be used.
Preserve RTE_ETH_FILTER_HASH since it is used in drivers internally in RTE flow API support.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
251baec3 | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy tunnel filter type support
Instead of TUNNEL filter RTE flow API should be used.
Move corresponding defines and helper structure to ethdev driver interface since it is still u
ethdev: remove legacy tunnel filter type support
Instead of TUNNEL filter RTE flow API should be used.
Move corresponding defines and helper structure to ethdev driver interface since it is still used by drivers internally.
Preserve RTE_ETH_FILTER_TUNNEL because of usage in drivers.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
92067db0 | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy N-tuple filter type support
Instead of N-tuple filter RTE flow API should be used.
Preserve struct rte_eth_ntuple_filter in ethdev API since the structure and related defines
ethdev: remove legacy N-tuple filter type support
Instead of N-tuple filter RTE flow API should be used.
Preserve struct rte_eth_ntuple_filter in ethdev API since the structure and related defines are used in flow classify library and a number of drivers.
Preserve RTE_ETH_FILTER_NTUPLE because of usage in drivers.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
ae42875d | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy SYN filter type support
Instead of SYN filter RTE flow API should be used.
Move corresponding definitions to ethdev internal driver API since it is used by drivers internally.
ethdev: remove legacy SYN filter type support
Instead of SYN filter RTE flow API should be used.
Move corresponding definitions to ethdev internal driver API since it is used by drivers internally. Preserve RTE_ETH_FILTER_SYN because of it as well.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
2be70bcd | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy flexible filter type support
Instead of FLEXIBLE filter RTE flow API should be used.
Temporarily preserve helper defines in public interface.
Signed-off-by: Andrew Rybchenko
ethdev: remove legacy flexible filter type support
Instead of FLEXIBLE filter RTE flow API should be used.
Temporarily preserve helper defines in public interface.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
35b1c68a | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy EtherType filter type support
Instead of EtherType filter RTE flow API should be used.
Move corresponding definitions to ethdev internal driver API since it is used by drivers
ethdev: remove legacy EtherType filter type support
Instead of EtherType filter RTE flow API should be used.
Move corresponding definitions to ethdev internal driver API since it is used by drivers internally. Preserve RTE_ETH_FILTER_ETHERTYPE because of it as well.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
9f3b3a96 | 22-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
ethdev: remove legacy MACVLAN filter type support
Instead of MACVLAN filter RTE flow API should be used.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferru
ethdev: remove legacy MACVLAN filter type support
Instead of MACVLAN filter RTE flow API should be used.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
393e557e | 20-Oct-2020 |
Min Hu (Connor) <humin29@huawei.com> |
app/testpmd: fix bonding xmit balance policy command
Currently there exists inconsistency about name of transmission policy for a Link Bonding device. "xmit_balance_policy" is not correct, which sho
app/testpmd: fix bonding xmit balance policy command
Currently there exists inconsistency about name of transmission policy for a Link Bonding device. "xmit_balance_policy" is not correct, which should be modified to "balance_xmit_policy".
Fixes: 2950a769315e ("bond: testpmd support") Fixes: ac718398f477 ("doc: testpmd application user guide") Cc: stable@dpdk.org
Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|