#
28caa76a |
| 12-Oct-2017 |
Zhiyong Yang <zhiyong.yang@intel.com> |
app/testpmd: fix port id type
Fixes: f8244c6399d9 ("ethdev: increase port id range")
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
|
#
3c272b28 |
| 11-Oct-2017 |
Wei Zhao <wei.zhao1@intel.com> |
app/testpmd: add commands for RSS queue region
This patch add a API configuration of queue region in rss. It can parse the parameters of region index, queue number, queue start index, user priority,
app/testpmd: add commands for RSS queue region
This patch add a API configuration of queue region in rss. It can parse the parameters of region index, queue number, queue start index, user priority, traffic classes and so on. According to commands from command line, it will call i40e private API and start the process of set or flush queue region configure. As this feature is specific for i40e, so private API will be used. Aslo add a document for these new commands. Queue region only support PF by now, so this document is only for configuration of queue region on PF port.
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
show more ...
|
#
912267a3 |
| 10-Oct-2017 |
Raslan Darawsheh <rasland@mellanox.com> |
app/testpmd: add Rx HW timestamp
Add enabling/disabling Rx HW timestamp from command line and parameter.
Signed-off-by: Raslan Darawsheh <rasland@mellanox.com> Acked-by: Yongseok Koh <yskoh@mellano
app/testpmd: add Rx HW timestamp
Add enabling/disabling Rx HW timestamp from command line and parameter.
Signed-off-by: Raslan Darawsheh <rasland@mellanox.com> Acked-by: Yongseok Koh <yskoh@mellanox.com>
show more ...
|
#
5b590fbe |
| 10-Oct-2017 |
Jasvinder Singh <jasvinder.singh@intel.com> |
app/testpmd: add traffic management forwarding mode
This commit extends the testpmd application with new forwarding engine that demonstrates the use of ethdev traffic management APIs and softnic PMD
app/testpmd: add traffic management forwarding mode
This commit extends the testpmd application with new forwarding engine that demonstrates the use of ethdev traffic management APIs and softnic PMD for QoS traffic management.
In this mode, 5-level hierarchical tree of the QoS scheduler is built with the help of ethdev TM APIs such as shaper profile add/delete, shared shaper add/update, node add/delete, hierarchy commit, etc. The hierarchical tree has following nodes; root node(x1, level 0), subport node(x1, level 1), pipe node(x4096, level 2), tc node(x16348, level 3), queue node(x65536, level 4).
During runtime, each received packet is first classified by mapping the packet fields information to 5-tuples (HQoS subport, pipe, traffic class, queue within traffic class, and color) and storing it in the packet mbuf sched field. After classification, each packet is sent to softnic port which prioritizes the transmission of the received packets, and accordingly sends them on to the output interface.
To enable traffic management mode, following testpmd command is used;
$ ./testpmd -c c -n 4 --vdev 'net_softnic0,hard_name=0000:06:00.1,soft_tm=on' -- -i --forward-mode=tm
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
03f42d8a |
| 09-Oct-2017 |
Kirill Rybalchenko <kirill.rybalchenko@intel.com> |
app/testpmd: fix build with i40e disabled
Precompiler instructions #ifdef RTE_LIBRTE_I40E_PMD ... #endif were not placed correctly, which caused number of compilation errors if I40E PMD is disabled.
app/testpmd: fix build with i40e disabled
Precompiler instructions #ifdef RTE_LIBRTE_I40E_PMD ... #endif were not placed correctly, which caused number of compilation errors if I40E PMD is disabled.
Fixes: 5a4806d304e0 ("app/testpmd: support updating pctype mapping")
Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
show more ...
|
#
a42d6c6c |
| 07-Jul-2017 |
Yuanhan Liu <yliu@fridaylinux.org> |
app/testpmd: give more hint on invalid RETA size
Print the valid RTE size range so that user knows what goes wrong.
Signed-off-by: Yuanhan Liu <yliu@fridaylinux.org>
|
#
c07b3f04 |
| 07-Jul-2017 |
Yuanhan Liu <yliu@fridaylinux.org> |
app/testpmd: allow to query any RETA size
Currently, testpmd just allows to query the RETA info only when the required size equals to configured RETA size.
This patch allows to query any RETA size
app/testpmd: allow to query any RETA size
Currently, testpmd just allows to query the RETA info only when the required size equals to configured RETA size.
This patch allows to query any RETA size <= the configured size. This helps when the RETA size is big (say 512) and when I just want to peak few RETA entries.
Signed-off-by: Yuanhan Liu <yliu@fridaylinux.org> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
#
52f38a20 |
| 07-Oct-2017 |
Jiayu Hu <jiayu.hu@intel.com> |
app/testpmd: enable TCP/IPv4 VxLAN and GRE GSO
This patch adds GSO support to the csum forwarding engine. Oversized packets transmitted over a GSO-enabled port will undergo segmentation (with the ex
app/testpmd: enable TCP/IPv4 VxLAN and GRE GSO
This patch adds GSO support to the csum forwarding engine. Oversized packets transmitted over a GSO-enabled port will undergo segmentation (with the exception of packet-types unsupported by the GSO library). GSO support is disabled by default.
GSO support may be toggled on a per-port basis, using the command:
"set port <port_id> gso on|off"
The maximum packet length (including the packet header and payload) for GSO segments may be set with the command:
"set gso segsz <length>"
Show GSO configuration for a given port with the command:
"show port <port_id> gso"
Signed-off-by: Jiayu Hu <jiayu.hu@intel.com> Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
show more ...
|
#
b7091f1d |
| 07-Oct-2017 |
Jiayu Hu <jiayu.hu@intel.com> |
app/testpmd: enable the heavyweight mode TCP/IPv4 GRO
The GRO library provides two modes to reassemble packets. Currently, the csum forwarding engine has supported to use the lightweight mode to rea
app/testpmd: enable the heavyweight mode TCP/IPv4 GRO
The GRO library provides two modes to reassemble packets. Currently, the csum forwarding engine has supported to use the lightweight mode to reassemble TCP/IPv4 packets. This patch introduces the heavyweight mode for TCP/IPv4 GRO in the csum forwarding engine.
With the command "set port <port_id> gro on|off", users can enable TCP/IPv4 GRO for a given port. With the command "set gro flush <cycles>", users can determine when the GROed TCP/IPv4 packets are flushed from reassembly tables. With the command "show port <port_id> gro", users can display GRO configuration.
The GRO library doesn't re-calculate checksums for merged packets. If users want the merged packets to have correct IP and TCP checksums, please select HW IP checksum calculation and HW TCP checksum calculation for the port which the merged packets are transmitted to.
Signed-off-by: Jiayu Hu <jiayu.hu@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> Tested-by: Lei Yao <lei.a.yao@intel.com>
show more ...
|
#
f8244c63 |
| 29-Sep-2017 |
Zhiyong Yang <zhiyong.yang@intel.com> |
ethdev: increase port id range
Extend port_id definition from uint8_t to uint16_t in lib and drivers data structures, specifically rte_eth_dev_data. Modify the APIs, drivers and app using port_id at
ethdev: increase port id range
Extend port_id definition from uint8_t to uint16_t in lib and drivers data structures, specifically rte_eth_dev_data. Modify the APIs, drivers and app using port_id at the same time.
Fix some checkpatch issues from the original code and remove some unnecessary cast operations.
release_17_11 and deprecation docs have been updated in this patch.
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
5a4806d3 |
| 04-Oct-2017 |
Kirill Rybalchenko <kirill.rybalchenko@intel.com> |
app/testpmd: support updating pctype mapping
Add new commands to manipulate with dynamic flow type to pctype mapping table in i40e PMD. Commands allow to print table, modify it and reset to default
app/testpmd: support updating pctype mapping
Add new commands to manipulate with dynamic flow type to pctype mapping table in i40e PMD. Commands allow to print table, modify it and reset to default value.
Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
a8e00569 |
| 04-Oct-2017 |
Kirill Rybalchenko <kirill.rybalchenko@intel.com> |
app/testpmd: get ddp profile protocol info
Update 'ddp get info' command to display protocols defined in a profile
Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com> Reviewed-by: Fer
app/testpmd: get ddp profile protocol info
Update 'ddp get info' command to display protocols defined in a profile
Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
c947ef89 |
| 23-Aug-2017 |
Stephen Hemminger <stephen@networkplumber.org> |
app/testpmd: remove unnecessary void casts
The testpmd was doing old BSD lint style casts of rte_memcpy to (void). This is unnecessary.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
app/testpmd: remove unnecessary void casts
The testpmd was doing old BSD lint style casts of rte_memcpy to (void). This is unnecessary.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
#
5f866488 |
| 17-Aug-2017 |
Wenzhuo Lu <wenzhuo.lu@intel.com> |
app/testpmd: fix wrong API of adding VF MAC
When adding a VF MAC address, rte_eth_dev_mac_addr_add is called. It's not right, because this API is used to add a MAC address for a VMDq pool not a VF.
app/testpmd: fix wrong API of adding VF MAC
When adding a VF MAC address, rte_eth_dev_mac_addr_add is called. It's not right, because this API is used to add a MAC address for a VMDq pool not a VF. Although it can work on ixgbe as VMDq pool and VF mean the same thing on ixgbe.
Fixes: 7741e4cf16c0 ("app/testpmd: VMDq and DCB updates")
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
show more ...
|
#
97f1e196 |
| 23-Jul-2017 |
Wei Dai <wei.dai@intel.com> |
app/testpmd: add port reset command
When PF is reset, a message will show it and all its VF need to be reset. User can run the command "port reset port_id" to reset the VF port and to keep same port
app/testpmd: add port reset command
When PF is reset, a message will show it and all its VF need to be reset. User can run the command "port reset port_id" to reset the VF port and to keep same port id without any configuration. Then user can run "port stop port_id" and "port start port_id" to reconfigure its forwarding mode and parameters as previous ones. To avoid crash, current forwarding should be stopped before running "port reset port_id".
Signed-off-by: Wei Dai <wei.dai@intel.com> Tested-by: Yuan Peng <yuan.peng@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
#
845efa48 |
| 03-Aug-2017 |
Jiayu Hu <jiayu.hu@intel.com> |
app/testpmd: fix GRO command description
In testpmd, GRO is supported by csum forwarding engine, but the cmdline message shows GRO is supported by io forwarding engine. This patch is to fix this iss
app/testpmd: fix GRO command description
In testpmd, GRO is supported by csum forwarding engine, but the cmdline message shows GRO is supported by io forwarding engine. This patch is to fix this issue.
Fixes: b40f8d782ba1 ("app/testpmd: enable TCP/IPv4 GRO")
Signed-off-by: Jiayu Hu <jiayu.hu@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
59bcf808 |
| 13-Jul-2017 |
Michal Jastrzebski <michalx.k.jastrzebski@intel.com> |
app/testpmd: fix bonding initialization
when creating a bond device in testpmd, a name for a device must meet the correct convention described in the documentation: The device name must start with t
app/testpmd: fix bonding initialization
when creating a bond device in testpmd, a name for a device must meet the correct convention described in the documentation: The device name must start with the net_bonding prefix followed by numbers or letters. Change for ALB mempool allocation - mem_name was too long.
Fixes: 9bf4901d1a11 ("bus/vdev: remove probe with driver name option") Cc: stable@dpdk.org
Signed-off-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com> Reviewed-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|
#
0f36cc56 |
| 19-Jul-2017 |
Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> |
app/testpmd: support different aggregation modes
This patch add support for different aggregator modes in similar manner that is provided in linux kernel.
testpmd> set bonding agg_mode <port_id> <a
app/testpmd: support different aggregation modes
This patch add support for different aggregator modes in similar manner that is provided in linux kernel.
testpmd> set bonding agg_mode <port_id> <agg_name> testpmd> show bonding config <port_id>
Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
show more ...
|
#
7a881bc7 |
| 11-Jul-2017 |
Stephen Hemminger <stephen@networkplumber.org> |
app/testpmd: remove duplicate includes
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
|
#
b40f8d78 |
| 09-Jul-2017 |
Jiayu Hu <jiayu.hu@intel.com> |
app/testpmd: enable TCP/IPv4 GRO
This patch enables TCP/IPv4 GRO library in csum forwarding engine. By default, GRO is turned off. Users can use command "gro (on|off) (port_id)" to enable or disable
app/testpmd: enable TCP/IPv4 GRO
This patch enables TCP/IPv4 GRO library in csum forwarding engine. By default, GRO is turned off. Users can use command "gro (on|off) (port_id)" to enable or disable GRO for a given port. If a port is enabled GRO, all TCP/IPv4 packets received from the port are performed GRO. Besides, users can set max flow number and packets number per-flow by command "gro set (max_flow_num) (max_item_num_per_flow) (port_id)".
Signed-off-by: Jiayu Hu <jiayu.hu@intel.com> Reviewed-by: Jingjing Wu <jingjing.wu@intel.com> Tested-by: Lei Yao <lei.a.yao@intel.com>
show more ...
|
#
c735b831 |
| 04-Jul-2017 |
Tomasz Kulasek <tomaszx.kulasek@intel.com> |
app/testpmd: add cmd for dedicated LACP Rx/Tx queues
Add new command to support enable/disable of dedicated Tx/Rx queue on each slave of a bond device for LACP control plane traffic.
set bondin
app/testpmd: add cmd for dedicated LACP Rx/Tx queues
Add new command to support enable/disable of dedicated Tx/Rx queue on each slave of a bond device for LACP control plane traffic.
set bonding lacp dedicated_queues <port_id> [enable|disable]
When enabled this option creates dedicated queues on each slave device for LACP control plane traffic. This removes the need to filter control plane packets in the data path.
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com> Signed-off-by: Declan Doherty <declan.doherty@intel.com>
show more ...
|
#
856ceb33 |
| 28-Jun-2017 |
Andrey Chilikin <andrey.chilikin@intel.com> |
app/testpmd: enable DDP remove profile feature
New command 'ddp del (port) (profile_path)' removes previously loaded profile and deletes it from the list of the loaded profiles.
Signed-off-by: Andr
app/testpmd: enable DDP remove profile feature
New command 'ddp del (port) (profile_path)' removes previously loaded profile and deletes it from the list of the loaded profiles.
Signed-off-by: Andrey Chilikin <andrey.chilikin@intel.com> Acked-by: Beilei Xing <beilei.xing@intel.com>
show more ...
|
#
8d21a622 |
| 27-Jun-2017 |
Andrey Chilikin <andrey.chilikin@intel.com> |
app/testpmd: update DDP add command parameters
This patch adds optional output file path to 'ddp add' command: 'ddp add (port) (profile_path[,output_path])'
Signed-off-by: Andrey Chilikin <andrey.c
app/testpmd: update DDP add command parameters
This patch adds optional output file path to 'ddp add' command: 'ddp add (port) (profile_path[,output_path])'
Signed-off-by: Andrey Chilikin <andrey.chilikin@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
37a56cce |
| 16-Jun-2017 |
Andrey Chilikin <andrey.chilikin@intel.com> |
app/testpmd: enable DDP get info feature
This patch demonstrates how to get information about dynamic device personalization (DDP) profile.
Command 'ddp get info (path_to_profile)' extracts and pri
app/testpmd: enable DDP get info feature
This patch demonstrates how to get information about dynamic device personalization (DDP) profile.
Command 'ddp get info (path_to_profile)' extracts and prints information about the given profile.
Signed-off-by: Andrey Chilikin <andrey.chilikin@intel.com> Acked-by: Beilei Xing <beilei.xing@intel.com>
show more ...
|
#
c1dd6e79 |
| 15-Jun-2017 |
RongQiang Xie <xie.rongqiang@zte.com.cn> |
app/testpmd: fix comments for bonding commands
Because the comments in function cmd_add_bonding_slave_parsed() and cmd_remove_bonding_slave_parsed() is 'Set the primary slave for a bonded device',so
app/testpmd: fix comments for bonding commands
Because the comments in function cmd_add_bonding_slave_parsed() and cmd_remove_bonding_slave_parsed() is 'Set the primary slave for a bonded device',so fix it with 'add the slave for a bonded device' and 'remove the slave from a bonded device'.
Signed-off-by: RongQiang Xie <xie.rongqiang@zte.com.cn> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
show more ...
|