#
a92a5a2c |
| 30-Mar-2017 |
Beilei Xing <beilei.xing@intel.com> |
app/testpmd: add command for loading DDP
This patch is to add testpmd CLI for loading dynamic device personalization (DDP).
Signed-off-by: Beilei Xing <beilei.xing@intel.com> Acked-by: Jingjing Wu
app/testpmd: add command for loading DDP
This patch is to add testpmd CLI for loading dynamic device personalization (DDP).
Signed-off-by: Beilei Xing <beilei.xing@intel.com> Acked-by: Jingjing Wu <jingjing.wu@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 ...
|
#
f1b2e0ef |
| 17-Jan-2017 |
Bernard Iremonger <bernard.iremonger@intel.com> |
app/testpmd: handle i40e in VF VLAN filter command
modify set_vf_rx_vlan function to handle the i40e PMD.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: Helin Zhang <helin
app/testpmd: handle i40e in VF VLAN filter command
modify set_vf_rx_vlan function to handle the i40e PMD.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com> Acked-by: Vincent Jardin <vincent.jardin@6wind.com>
show more ...
|
#
5c55283e |
| 13-Dec-2016 |
Bernard Iremonger <bernard.iremonger@intel.com> |
app/testpmd: cleanup parameter checking
Parameter checking is done in the rte_pmd_ixgbe_* functions. Remove parameter checking from before calls to the rte_pmd_ixgbe_* functions.
Signed-off-by: Ber
app/testpmd: cleanup parameter checking
Parameter checking is done in the rte_pmd_ixgbe_* functions. Remove parameter checking from before calls to the rte_pmd_ixgbe_* functions.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
show more ...
|
#
35c54af3 |
| 13-Dec-2016 |
Bernard Iremonger <bernard.iremonger@intel.com> |
app/testpmd: use ixgbe public functions
Use the the following ixgbe public functions:
rte_pmd_ixgbe_set_vf_rate_limit rte_pmd_ixgbe_set_vf_rx rte_pmd_ixgbe_set_vf_rxmode rte_pmd_ixgbe_set_vf_tx rte
app/testpmd: use ixgbe public functions
Use the the following ixgbe public functions:
rte_pmd_ixgbe_set_vf_rate_limit rte_pmd_ixgbe_set_vf_rx rte_pmd_ixgbe_set_vf_rxmode rte_pmd_ixgbe_set_vf_tx rte_pmd_ixgbe_set_vf_vlan_filter
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
show more ...
|
#
bd9e3bc2 |
| 10-Jan-2017 |
Adrien Mazarguil <adrien.mazarguil@6wind.com> |
app/testpmd: fix array bounds checks
This commit addresses several obvious issues reported by Coverity with array bounds checks in functions related to the flow API.
Coverity issue: 139596, 139597,
app/testpmd: fix array bounds checks
This commit addresses several obvious issues reported by Coverity with array bounds checks in functions related to the flow API.
Coverity issue: 139596, 139597, 139598, 139599 Fixes: 938a184a1870 ("app/testpmd: implement basic support for flow API")
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
show more ...
|
#
938a184a |
| 21-Dec-2016 |
Adrien Mazarguil <adrien.mazarguil@6wind.com> |
app/testpmd: implement basic support for flow API
Add basic management functions for the generic flow API (validate, create, destroy, flush, query and list). Flow rule objects and properties are arr
app/testpmd: implement basic support for flow API
Add basic management functions for the generic flow API (validate, create, destroy, flush, query and list). Flow rule objects and properties are arranged in lists associated with each port.
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Olga Shern <olgas@mellanox.com>
show more ...
|
#
ac7cd715 |
| 23-Nov-2016 |
David Marchand <david.marchand@6wind.com> |
app/testpmd: display port driver name
This makes it easier to check which driver name is reported through ethdev rte_eth_dev_info_get().
Example:
./build/app/testpmd -c 0x6 --vdev net_af_packet0,i
app/testpmd: display port driver name
This makes it easier to check which driver name is reported through ethdev rte_eth_dev_info_get().
Example:
./build/app/testpmd -c 0x6 --vdev net_af_packet0,iface=mgmt0 -- -i --total-num-mbufs 2049 [snip] testpmd> show port info all
********************* Infos for port 0 ********************* MAC address: DE:AD:DE:01:02:03 Driver name: net_af_packet Connect to socket: 0 memory allocation on the socket: 0
Signed-off-by: David Marchand <david.marchand@6wind.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
0a0060e3 |
| 19-Oct-2016 |
Wenzhuo Lu <wenzhuo.lu@intel.com> |
app/testpmd: fix flow director endianness
The vlan mask and tunnel id mask of flow director are defined as big endian. So they should be converted. When the mask is printed, the parameters are not c
app/testpmd: fix flow director endianness
The vlan mask and tunnel id mask of flow director are defined as big endian. So they should be converted. When the mask is printed, the parameters are not converted either. This patch converts the mask parameters.
Fixes: 7c554b4f0484 ("app/testpmd: update display of flow director information") Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands")
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
21f3fc46 |
| 19-Oct-2016 |
Wenzhuo Lu <wenzhuo.lu@intel.com> |
app/testpmd: fix flow director mask
In mac-vlan mode, MAC address mask is not supported by HW. The MAC address mask should not be set in mac-vlan mode. Remove this parameter from the CLI. Remove MAC
app/testpmd: fix flow director mask
In mac-vlan mode, MAC address mask is not supported by HW. The MAC address mask should not be set in mac-vlan mode. Remove this parameter from the CLI. Remove MAC address from mask print too.
Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands")
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
2ebacaa7 |
| 26-Aug-2016 |
Maciej Czekaj <maciej.czekaj@caviumnetworks.com> |
app/testpmd: configure flowgen packet size with --txpkts
"flowgen" forwarding mode has fixed packet size (300). Let it re-use --txpkts option for specifying generated packet size.
Signed-off-by: Ma
app/testpmd: configure flowgen packet size with --txpkts
"flowgen" forwarding mode has fixed packet size (300). Let it re-use --txpkts option for specifying generated packet size.
Signed-off-by: Maciej Czekaj <maciej.czekaj@caviumnetworks.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
0f6f219e |
| 05-Aug-2016 |
Mohammad Abdul Awal <mohammad.abdul.awal@intel.com> |
app/testpmd: fix RSS hash key size
RSS hash-key-size is retrieved from device configuration instead of using a fixed size of 40 bytes.
Fixes: f79959ea1504 ("app/testpmd: allow to configure RSS hash
app/testpmd: fix RSS hash key size
RSS hash-key-size is retrieved from device configuration instead of using a fixed size of 40 bytes.
Fixes: f79959ea1504 ("app/testpmd: allow to configure RSS hash key")
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
show more ...
|
#
f0372301 |
| 31-Aug-2016 |
Amine Kherbouche <amine.kherbouche@6wind.com> |
remove unused ring includes
This patch removes all unused <rte_ring.h> headers.
Signed-off-by: Amine Kherbouche <amine.kherbouche@6wind.com>
|
#
8d4df4e1 |
| 05-Jul-2016 |
Ilya Maximets <i.maximets@samsung.com> |
app/testpmd: fix comment of RSS setup
Since commit f2bb7ae1d204, behavior of rss_fwd_config_setup() changed and description of this function is wrong now.
Also, there is a type mismatch in a loop.
app/testpmd: fix comment of RSS setup
Since commit f2bb7ae1d204, behavior of rss_fwd_config_setup() changed and description of this function is wrong now.
Also, there is a type mismatch in a loop.
Fixes: f2bb7ae1d204 ("app/testpmd: handle all Rx queues in RSS setup")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
show more ...
|
#
d085232a |
| 01-Jul-2016 |
Remy Horton <remy.horton@intel.com> |
ethdev: remove redundant id field in xstats name lookup
For all drivers that currently implement xstats, the id field in the rte_eth_stats_name structure equals the entry's array index. This patch e
ethdev: remove redundant id field in xstats name lookup
For all drivers that currently implement xstats, the id field in the rte_eth_stats_name structure equals the entry's array index. This patch eliminates the redundant id field as a direct index lookup is faster than a search for the matching id field.
Suggested-by: Olivier Matz <olivier.matz@6wind.com> Signed-off-by: Remy Horton <remy.horton@intel.com>
show more ...
|
#
017d680a |
| 27-Jun-2016 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
app/testpmd: limit number of forwarding cores
Number of forwarding cores must be equal or less than number of forwarding streams, otherwise two cores would try to use a same queue on a port, which i
app/testpmd: limit number of forwarding cores
Number of forwarding cores must be equal or less than number of forwarding streams, otherwise two cores would try to use a same queue on a port, which is not allowed.
Fixes: f2bb7ae1d204 ("app/testpmd: handle all Rx queues in RSS setup")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Tested-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
f56620dd |
| 22-Jun-2016 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
ethdev: add tunnel and port RSS offload types
- added VXLAN, GENEVE and NVGRE tunnel flow types - added PORT flow type for accounting physical/virtual port or channel number in flow creation
Signed
ethdev: add tunnel and port RSS offload types
- added VXLAN, GENEVE and NVGRE tunnel flow types - added PORT flow type for accounting physical/virtual port or channel number in flow creation
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
21b5bd0d |
| 20-Jun-2016 |
Remy Horton <remy.horton@intel.com> |
app/testpmd: fix memory leaks after xstats errors
Fixes memory leaks detected by Coverity. These are due to ephemeral memory allocations not being freed when errors occur.
Coverity issue: 127348
F
app/testpmd: fix memory leaks after xstats errors
Fixes memory leaks detected by Coverity. These are due to ephemeral memory allocations not being freed when errors occur.
Coverity issue: 127348
Fixes: e2aae1c1ced9 ("ethdev: remove name from extended statistic fetch")
Signed-off-by: Remy Horton <remy.horton@intel.com>
show more ...
|
#
e2aae1c1 |
| 15-Jun-2016 |
Remy Horton <remy.horton@intel.com> |
ethdev: remove name from extended statistic fetch
The current extended ethernet statistics fetching involve doing several string operations, which causes performance issues if there are lots of stat
ethdev: remove name from extended statistic fetch
The current extended ethernet statistics fetching involve doing several string operations, which causes performance issues if there are lots of statistics and/or network interfaces. This patch changes the test-pmd and proc_info applications to use the new xstats API, and removes deprecated code associated with the old API.
Signed-off-by: Remy Horton <remy.horton@intel.com>
show more ...
|
#
f2bb7ae1 |
| 14-Jun-2016 |
Zhihong Wang <zhihong.wang@intel.com> |
app/testpmd: handle all Rx queues in RSS setup
This patch removes constraints in rxq handling when multiqueue is enabled to handle all the rxqs.
Current testpmd forces a dedicated core for each rxq
app/testpmd: handle all Rx queues in RSS setup
This patch removes constraints in rxq handling when multiqueue is enabled to handle all the rxqs.
Current testpmd forces a dedicated core for each rxq, some rxqs may be ignored when core number is less than rxq number, and that causes confusion and inconvenience.
One example: an engineer was doing multiqueue test, there're 2 ports in guest each with 4 queues, and testpmd was used as the forwarding engine in guest, as usual he used 1 core for forwarding, as a results he only saw traffic from port 0 queue 0 to port 1 queue 0, then a lot of emails and quite some time are spent to root cause it, and of course it's caused by this unreasonable testpmd behavior.
Moreover, even if we understand this behavior, if we want to test the above case, we still need 8 cores for a single guest to poll all the rxqs, obviously this is too expensive.
We met quite a lot cases like this, one recent example: http://openvswitch.org/pipermail/dev/2016-June/072110.html
Signed-off-by: Zhihong Wang <zhihong.wang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
0e106980 |
| 14-Jun-2016 |
Zhihong Wang <zhihong.wang@intel.com> |
app/testpmd: show throughput in port stats
This patch adds throughput numbers (in the period since last use of this command) in port statistics display for "show port stats (port_id|all)".
Signed-o
app/testpmd: show throughput in port stats
This patch adds throughput numbers (in the period since last use of this command) in port statistics display for "show port stats (port_id|all)".
Signed-off-by: Zhihong Wang <zhihong.wang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
bf56fce1 |
| 14-Jun-2016 |
Zhihong Wang <zhihong.wang@intel.com> |
app/testpmd: add retry option
This patch adds retry option in testpmd to prevent most packet losses. It can be enabled by "set fwd <mode> retry". All modes except rxonly support this option.
Adding
app/testpmd: add retry option
This patch adds retry option in testpmd to prevent most packet losses. It can be enabled by "set fwd <mode> retry". All modes except rxonly support this option.
Adding retry mechanism expands test case coverage to support scenarios where packet loss affects test results.
Signed-off-by: Zhihong Wang <zhihong.wang@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
0c0db76f |
| 14-Jun-2016 |
Bernard Iremonger <bernard.iremonger@intel.com> |
app/testpmd: separate forward config setup from display
Add call to fwd_config_setup to init_config. Add call to fwd_config_setup for corelist, coremask and nbcore setup. Add call to fwd_config_setu
app/testpmd: separate forward config setup from display
Add call to fwd_config_setup to init_config. Add call to fwd_config_setup for corelist, coremask and nbcore setup. Add call to fwd_config_setup for portlist, portmask and nbport setup. Add call to fwd_config_setup for rxq, txq, rxd and txd setup. Remove fwd_config_setup from fwd_config_display. Call the pkt_fwd_config_display function directly, and remove the fwd_config_display wrapper function.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
a8ef3e3a |
| 14-Jun-2016 |
Bernard Iremonger <bernard.iremonger@intel.com> |
app/testpmd: check stopping port is not forwarding
Add calls to port_is_forwarding function in stop_port and close_port functions to check that port is not forwarding.
Signed-off-by: Bernard Iremon
app/testpmd: check stopping port is not forwarding
Add calls to port_is_forwarding function in stop_port and close_port functions to check that port is not forwarding.
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
331c617b |
| 11-Apr-2016 |
Tomasz Kulasek <tomaszx.kulasek@intel.com> |
app/testpmd: fix string overrun in engines listing
CID 13307 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW) fixed_size_dest: You might overrun the 128 byte fixed-size string fwd_modes by c
app/testpmd: fix string overrun in engines listing
CID 13307 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW) fixed_size_dest: You might overrun the 128 byte fixed-size string fwd_modes by copying fwd_eng->fwd_mode_name without checking the length.
Fixes: 769ce6b17835 ("app/testpmd: list forwarding engines")
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
show more ...
|