#
f7103a91 |
| 12-Oct-2016 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
app/testpmd: support 25G and 50G speeds
Support to configure 25G and 50G speeds is missing from testpmd. This patch also updates the testpmd user guide accordingly.
Signed-off-by: Ajit Khaparde <aj
app/testpmd: support 25G and 50G speeds
Support to configure 25G and 50G speeds is missing from testpmd. This patch also updates the testpmd user guide accordingly.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.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 ...
|
#
58c82067 |
| 06-Oct-2016 |
Thomas Monjalon <thomas.monjalon@6wind.com> |
app/testpmd: use consistent vdev names
The vdev eth_bond has been renamed to net_bond. testpmd is creating a bonding device with the old prefix. It is changed for consistency.
The script test-null.
app/testpmd: use consistent vdev names
The vdev eth_bond has been renamed to net_bond. testpmd is creating a bonding device with the old prefix. It is changed for consistency.
The script test-null.sh was failing because using the old name for the null vdev.
Fixes also the bonding and testpmd doc.
Fixes: 2f45703c17ac ("drivers: make driver names consistent")
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
0f62d635 |
| 26-Sep-2016 |
Jianfeng Tan <jianfeng.tan@intel.com> |
app/testpmd: support tunneled TSO in checksum engine
Add a new command "tunnel_tso set <tso_segsz> <port>" to enable segmentation offload and set MSS to tso_segsz. Another command, "tunnel_tso show
app/testpmd: support tunneled TSO in checksum engine
Add a new command "tunnel_tso set <tso_segsz> <port>" to enable segmentation offload and set MSS to tso_segsz. Another command, "tunnel_tso show <port>" is added to show tunneled packet MSS. Result 0 means tunnel_tso is disabled.
The original commands, "tso set <tso_segsz> <port>" and "tso show <port>" are only reponsible for non-tunneled packets. And the new commands are for tunneled packets.
Below conditions are needed to make it work: a. tunnel TSO is supported by the NIC; b. "csum parse_tunnel" must be set so that tunneled pkts are recognized; c. for tunneled pkts with outer L3 is IPv4, "csum set outer-ip" must be set to hw, because after tso, total_len of outer IP header is changed, and the checksum of outer IP header calculated by sw should be wrong; that is not necessary for IPv6 tunneled pkts because there's no checksum field to be filled anymore.
Suggested-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Signed-off-by: Zhe Tao <zhe.tao@intel.com> Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
show more ...
|
#
b2fbb987 |
| 31-Aug-2016 |
Ferruh Yigit <ferruh.yigit@intel.com> |
app/testpmd: fix help of MTU set commmand
Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.g
app/testpmd: fix help of MTU set commmand
Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
eeb431d0 |
| 11-Jul-2016 |
Wenzhuo Lu <wenzhuo.lu@intel.com> |
app/testpmd: remove ixgbe check for bypass
In testpmd code, device id is used directly to check if bypass is supported. But APP should not know the details of HW, the NIC specific info should not be
app/testpmd: remove ixgbe check for bypass
In testpmd code, device id is used directly to check if bypass is supported. But APP should not know the details of HW, the NIC specific info should not be exposed here. As every bypass API does know if it's supported, no need to check that at first. So, this patch removes the *bypass_is_supported*.
Suggested-by: Jingjing Wu <jingjing.wu@intel.com> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@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 ...
|
#
6efad95f |
| 15-Jun-2016 |
Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> |
app/testpmd: print RSS hash update error
Calling rte_eth_dev_rss_hash_update without checking return value. Fixed by handle return value and print out error status.
Coverity issue: 119251 Fixes: ce
app/testpmd: print RSS hash update error
Calling rte_eth_dev_rss_hash_update without checking return value. Fixed by handle return value and print out error status.
Coverity issue: 119251 Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
acbf77a6 |
| 14-Jun-2016 |
Zhihong Wang <zhihong.wang@intel.com> |
app/testpmd: add tx_first burst number option
This patch enables configurable tx_first burst number.
Use "start tx_first (burst_num)" to specify how many bursts of packets to be sent before forward
app/testpmd: add tx_first burst number option
This patch enables configurable tx_first burst number.
Use "start tx_first (burst_num)" to specify how many bursts of packets to be sent before forwarding start, or "start tx_first" like before for the default 1 burst send.
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 ...
|
#
a3f34a98 |
| 09-Jun-2016 |
Thomas Monjalon <thomas.monjalon@6wind.com> |
log: deprecate history dump
The log history uses rte_mempool. In order to remove the mempool dependency in EAL (and improve the build), this feature is deprecated. The ABI is kept but the behaviour
log: deprecate history dump
The log history uses rte_mempool. In order to remove the mempool dependency in EAL (and improve the build), this feature is deprecated. The ABI is kept but the behaviour is now voided because it seems this function was not used. The history can be read from syslog.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: David Marchand <david.marchand@6wind.com>
show more ...
|
#
faac4bff |
| 22-Apr-2016 |
Maciej Czekaj <maciej.czekaj@caviumnetworks.com> |
app/testpmd: add Tx flags in config command
"port config all txqflags <value>" allows for specifying txq_flags value in command line.
Signed-off-by: Maciej Czekaj <maciej.czekaj@caviumnetworks.com>
app/testpmd: add Tx flags in config command
"port config all txqflags <value>" allows for specifying txq_flags value in command line.
Signed-off-by: Maciej Czekaj <maciej.czekaj@caviumnetworks.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
7903072c |
| 22-Apr-2016 |
Maciej Czekaj <maciej.czekaj@caviumnetworks.com> |
app/testpmd: add scatter enabling in config command
"port config all scatter on|off" allows for controlling rxmode.enable_scatter in command line.
Signed-off-by: Maciej Czekaj <maciej.czekaj@cavium
app/testpmd: add scatter enabling in config command
"port config all scatter on|off" allows for controlling rxmode.enable_scatter in command line.
Signed-off-by: Maciej Czekaj <maciej.czekaj@caviumnetworks.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
b2feed01 |
| 31-Mar-2016 |
Thomas Monjalon <thomas.monjalon@6wind.com> |
ethdev: add 100G link speed
The link speed configuration is now done with bitmaps so 100G speed requires only a new bit flag. The actual link speed is a number so its size must be increased from 16-
ethdev: add 100G link speed
The link speed configuration is now done with bitmaps so 100G speed requires only a new bit flag. The actual link speed is a number so its size must be increased from 16-bit to 32-bit.
Signed-off-by: Marc Sune <marcdevel@gmail.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Tested-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Tested-by: Matej Vido <vido@cesnet.cz>
show more ...
|
#
82113036 |
| 31-Mar-2016 |
Marc Sune <marcdevel@gmail.com> |
ethdev: redesign link speed config
This patch redesigns the API to set the link speed/s configuration of an ethernet port. Specifically:
- it allows to define a set of advertised speeds for auto-
ethdev: redesign link speed config
This patch redesigns the API to set the link speed/s configuration of an ethernet port. Specifically:
- it allows to define a set of advertised speeds for auto-negociation. - it allows to disable link auto-negociation (single fixed speed). - default: auto-negociate all supported speeds.
A flag autoneg in struct rte_eth_link indicates if link speed was a result of auto-negociation or was fixed by configuration.
Signed-off-by: Marc Sune <marcdevel@gmail.com> Tested-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Tested-by: Beilei Xing <beilei.xing@intel.com> Tested-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
show more ...
|
#
39fd068a |
| 31-Mar-2016 |
Marc Sune <marcdevel@gmail.com> |
ethdev: rename link speed constants
The speed numbers ETH_LINK_SPEED_ are renamed ETH_SPEED_NUM_. The prefix ETH_LINK_SPEED_ is kept for AUTONEG and will be used for bit flags in next patch.
Signed
ethdev: rename link speed constants
The speed numbers ETH_LINK_SPEED_ are renamed ETH_SPEED_NUM_. The prefix ETH_LINK_SPEED_ is kept for AUTONEG and will be used for bit flags in next patch.
Signed-off-by: Marc Sune <marcdevel@gmail.com>
show more ...
|
#
88fbedcd |
| 31-Mar-2016 |
Marc Sune <marcdevel@gmail.com> |
app/testpmd: move speed and duplex parsing in a function
The code for checking and parsing speed/duplex was duplicated. The new function is also checking the speed/duplex combination.
Signed-off-by
app/testpmd: move speed and duplex parsing in a function
The code for checking and parsing speed/duplex was duplicated. The new function is also checking the speed/duplex combination.
Signed-off-by: Marc Sune <marcdevel@gmail.com>
show more ...
|
#
edc845bd |
| 22-Mar-2016 |
Marvin Liu <yong.liu@intel.com> |
app/testpmd: fix build on FreeBSD
Build log: /root/dpdk/app/test-pmd/cmdline.c:6687:45: error: no member named 's6_addr32' in 'struct in6_addr' rte_be_to_cpu_32(res->ip_value.addr.ipv6.s6_addr32
app/testpmd: fix build on FreeBSD
Build log: /root/dpdk/app/test-pmd/cmdline.c:6687:45: error: no member named 's6_addr32' in 'struct in6_addr' rte_be_to_cpu_32(res->ip_value.addr.ipv6.s6_addr32[i]);
This is caused by macro "s6_addr32" not defined on FreeBSD and testpmd swap big endian parameter to host endian. Move the swap action to i40e ethdev will fix this issue.
Fixes: 7b1312891b69 ("ethdev: add IP in GRE tunnel")
Signed-off-by: Marvin Liu <yong.liu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> Tested-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
01c5e004 |
| 23-Mar-2016 |
Jingjing Wu <jingjing.wu@intel.com> |
app/testpmd: add VLAN in flow director input set
This patch extends the commands for changing flow director filter's input set. It adds vlan as a possible filter input field.
Signed-off-by: Jingjin
app/testpmd: add VLAN in flow director input set
This patch extends the commands for changing flow director filter's input set. It adds vlan as a possible filter input field.
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
show more ...
|
#
28d62131 |
| 23-Mar-2016 |
Jingjing Wu <jingjing.wu@intel.com> |
app/testpmd: extend flow director input set commands
This patch extends commands for changing a flow director filter's input set. It adds tos, protocol and ttl as filter's input fields, and removes
app/testpmd: extend flow director input set commands
This patch extends commands for changing a flow director filter's input set. It adds tos, protocol and ttl as filter's input fields, and removes the words selection from flex payloads.
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
show more ...
|
#
a85ad367 |
| 22-Mar-2016 |
Tomasz Kulasek <tomaszx.kulasek@intel.com> |
app/testpmd: fix build with icc
This patch fixes error #188: enumerated type mixed with another type, when uint32_t is casted on enum type in icc.
Fixes: 05f1b9c82ec2 ("app/testpmd: add commands fo
app/testpmd: fix build with icc
This patch fixes error #188: enumerated type mixed with another type, when uint32_t is casted on enum type in icc.
Fixes: 05f1b9c82ec2 ("app/testpmd: add commands for L2 tunnel config")
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
show more ...
|
#
5a8fb55c |
| 11-Mar-2016 |
Reshma Pattan <reshma.pattan@intel.com> |
app/testpmd: support unidirectional configuration
Added testpmd support to validate zero nb_rxq/nb_txq changes of ethdev (d505ba8).
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by:
app/testpmd: support unidirectional configuration
Added testpmd support to validate zero nb_rxq/nb_txq changes of ethdev (d505ba8).
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
7b131289 |
| 10-Mar-2016 |
Xutao Sun <xutao.sun@intel.com> |
ethdev: add IP in GRE tunnel
Signed-off-by: Xutao Sun <xutao.sun@intel.com> Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
|
#
dd76f93c |
| 10-Mar-2016 |
Xutao Sun <xutao.sun@intel.com> |
ethdev: rework tunnel filtering structure
Change the fields of outer_mac and inner_mac in struct rte_eth_tunnel_filter_conf from pointer to struct in order to keep the code's readability.
Signed-of
ethdev: rework tunnel filtering structure
Change the fields of outer_mac and inner_mac in struct rte_eth_tunnel_filter_conf from pointer to struct in order to keep the code's readability.
Signed-off-by: Xutao Sun <xutao.sun@intel.com> Signed-off-by: Jijiang Liu <jijiang.liu@intel.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|