#
ae03d0d1 |
| 17-Jun-2014 |
Ivan Boule <ivan.boule@6wind.com> |
app/testpmd: command to configure MTU
Take avantage of the .set_mtu ethdev function and make it possible to configure MTU on devices using testpmd.
Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
app/testpmd: command to configure MTU
Take avantage of the .set_mtu ethdev function and make it possible to configure MTU on devices using testpmd.
Signed-off-by: Ivan Boule <ivan.boule@6wind.com> Signed-off-by: David Marchand <david.marchand@6wind.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
show more ...
|
#
ac2ece3f |
| 05-Jun-2014 |
Helin Zhang <helin.zhang@intel.com> |
app/testpmd: support displaying 32-byte Rx descriptors
i40e supports both 16 and 32 bytes RX descriptors, while ixgbe and igb support 16 bytes size only. Code changes have been made in test-pmd to s
app/testpmd: support displaying 32-byte Rx descriptors
i40e supports both 16 and 32 bytes RX descriptors, while ixgbe and igb support 16 bytes size only. Code changes have been made in test-pmd to support both 16 and 32 bytes RX descriptors according to the configuration in config files.
Signed-off-by: Helin Zhang <helin.zhang@intel.com> Signed-off-by: Jing Chen <jing.d.chen@intel.com> Acked-by: Cunming Liang <cunming.liang@intel.com> Acked-by: Jijiang Liu <jijiang.liu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Heqing Zhu <heqing.zhu@intel.com> Tested-by: Waterman Cao <waterman.cao@intel.com>
show more ...
|
#
529ba951 |
| 05-Jun-2014 |
Helin Zhang <helin.zhang@intel.com> |
ethdev: set port based vlan
To support i40e, new ops has been added to support setting port based vlan insertion.
New command 'tx_vlan set pvid port_id vlan_id (on|off)' has been added in testpmd t
ethdev: set port based vlan
To support i40e, new ops has been added to support setting port based vlan insertion.
New command 'tx_vlan set pvid port_id vlan_id (on|off)' has been added in testpmd to configure port based vlan insertion.
Signed-off-by: Helin Zhang <helin.zhang@intel.com> Signed-off-by: Jing Chen <jing.d.chen@intel.com> Acked-by: Cunming Liang <cunming.liang@intel.com> Acked-by: Jijiang Liu <jijiang.liu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Heqing Zhu <heqing.zhu@intel.com> Tested-by: Waterman Cao <waterman.cao@intel.com>
show more ...
|
#
70bdb186 |
| 12-Jun-2014 |
Ivan Boule <ivan.boule@6wind.com> |
ethdev: add Rx error counters for missed, badcrc and badlen packets
Split input error stats to have a better understanding of why packets have been dropped. Keep ierrors field untouched for backward
ethdev: add Rx error counters for missed, badcrc and badlen packets
Split input error stats to have a better understanding of why packets have been dropped. Keep ierrors field untouched for backward compatibility.
Signed-off-by: Ivan Boule <ivan.boule@6wind.com> Signed-off-by: David Marchand <david.marchand@6wind.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
0db70a80 |
| 16-Jun-2014 |
Jingjing Wu <jingjing.wu@intel.com> |
app/testpmd: add commands for filters
add commands in testpmd for NIC filters: add_ethertype_filter remove_ethertype_filter get_ethertype_filter add_2tuple_filter remove_2tuple_filter get_2tuple_fil
app/testpmd: add commands for filters
add commands in testpmd for NIC filters: add_ethertype_filter remove_ethertype_filter get_ethertype_filter add_2tuple_filter remove_2tuple_filter get_2tuple_filter add_5tuple_filter remove_5tuple_filter get_5tuple_filter add_syn_filter remove_syn_filter get_syn_filter add_flex_filter remove_flex_filter get_flex_filter
Signed-off-by: jingjing.wu <jingjing.wu@intel.com> Tested-by: Waterman Cao <waterman.cao@intel.com> Reviewed-by: Vladimir Medvedkin <medvedkinv@gmail.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
6a18e1af |
| 26-May-2014 |
Ouyang Changchun <changchun.ouyang@intel.com> |
app/testpmd: Tx rate limitation for queue and VF
Signed-off-by: Ouyang Changchun <changchun.ouyang@intel.com> Acked-by: Jijiang Liu <jijiang.liu@intel.com> Tested-by: Waterman Cao <waterman.cao@inte
app/testpmd: Tx rate limitation for queue and VF
Signed-off-by: Ouyang Changchun <changchun.ouyang@intel.com> Acked-by: Jijiang Liu <jijiang.liu@intel.com> Tested-by: Waterman Cao <waterman.cao@intel.com> Acked-by: Huawei Xie <huawei.xie@intel.com>
show more ...
|
#
3031749c |
| 03-Jun-2014 |
Bruce Richardson <bruce.richardson@intel.com> |
remove trailing whitespaces
This commit removes trailing whitespace from lines in files. Almost all files are affected, as the BSD license copyright header had trailing whitespace on 4 lines in it [
remove trailing whitespaces
This commit removes trailing whitespace from lines in files. Almost all files are affected, as the BSD license copyright header had trailing whitespace on 4 lines in it [hence the number of files reporting 8 lines changed in the diffstat].
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> [Thomas: remove spaces before tabs in libs] [Thomas: remove more trailing spaces in non-C files] Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
f79959ea |
| 16-May-2014 |
Ivan Boule <ivan.boule@6wind.com> |
app/testpmd: allow to configure RSS hash key
Add the command "port config X rss-hash-key key" in the 'testpmd' application to configure the RSS hash key used to compute the RSS hash of input [IP] pa
app/testpmd: allow to configure RSS hash key
Add the command "port config X rss-hash-key key" in the 'testpmd' application to configure the RSS hash key used to compute the RSS hash of input [IP] packets received on port X.
Signed-off-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
16321de0 |
| 16-May-2014 |
Ivan Boule <ivan.boule@6wind.com> |
ethdev: allow to get RSS hash functions and key
1) Add a new function "rss_hash_conf_get" in the PMD API to retrieve the current configuration of the RSS functions and/or of the RSS key used b
ethdev: allow to get RSS hash functions and key
1) Add a new function "rss_hash_conf_get" in the PMD API to retrieve the current configuration of the RSS functions and/or of the RSS key used by a NIC to compute the RSS hash of input packets. The new function uses the existing data structure "rte_eth_rss_conf" for returning the RSS hash configuration.
2) Add the ixgbe-specific function "ixgbe_dev_rss_hash_conf_get" and the igb-specific function "eth_igb_rss_hash_conf_get" to retrieve the RSS hash configuration of ixgbe and igb controllers respectively.
3) Add the command "show port X rss-hash [key]" in the testpmd application to display the RSS hash configuration of port X.
Signed-off-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
168dfa61 |
| 30-Apr-2014 |
Ivan Boule <ivan.boule@6wind.com> |
app/testpmd: add engine that replies to ARP and ICMP echo requests
Add a new specific packet processing engine in the "testpmd" application that only replies to ARP requests and to ICMP echo request
app/testpmd: add engine that replies to ARP and ICMP echo requests
Add a new specific packet processing engine in the "testpmd" application that only replies to ARP requests and to ICMP echo requests. For this purpose, a new "icmpecho" forwarding mode is provided that can be dynamically selected with the following testpmd command:
set fwd icmpecho
before starting the receipt of packets on the selected ports.
Then, the "icmpecho" engine performs the following actions on all received packets:
- replies to a received ARP request by sending back on the RX port a ARP reply with a "sender hardware address" field containing the MAC address of the RX port,
- replies to a ICMP echo request by sending back on the RX port a ICMP echo reply, swapping the IP source and the IP destination address in the IP header,
- otherwise, simply drops the received packet.
When replying to a received packet that was encapsulated into a VLAN tunnel, the reply is sent back with the same VLAN identifier. By default, the testpmd configures VLAN header stripping RX option on each port. This option is not managed by the icmpecho engine which won't detect packets that were encapsulated into a VLAN. To address this issue, the VLAN header stripping option must be previously switched off with the following testpmd command:
vlan set strip off
When the "verbose" mode has been set with the testpmd command "set verbose 1", the "icmpecho" engine displays informations about each received packet.
The "icmpecho" forwarding engine can also be used to simply check port connectivity at the hardware level (check that cables are well-plugged) and at the software level (receipt of VLAN packets, for instance).
Signed-off-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
769ce6b1 |
| 14-May-2014 |
Thomas Monjalon <thomas.monjalon@6wind.com> |
app/testpmd: list forwarding engines
Having a function to list forwarding engines helps to show them in cli help and in parameters usage witout duplicating code.
Signed-off-by: Thomas Monjalon <tho
app/testpmd: list forwarding engines
Having a function to list forwarding engines helps to show them in cli help and in parameters usage witout duplicating code.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com>
show more ...
|
#
3e2006d6 |
| 03-Apr-2014 |
Cyril Chemparathy <cchemparathy@tilera.com> |
app/testpmd: add loopback topology
This commits adds a new "loop" option to the --port-topology argument. With the loop option specified, ingress traffic is simply transmitted back on the same inte
app/testpmd: add loopback topology
This commits adds a new "loop" option to the --port-topology argument. With the loop option specified, ingress traffic is simply transmitted back on the same interface.
Signed-off-by: Cyril Chemparathy <cchemparathy@tilera.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
5706de65 |
| 12-May-2014 |
Julien Cretin <julien.cretin@trust-in-soft.com> |
app/testpmd: fix incompatible sign for printf arguments
The socket_id member of struct rte_port is an unsigned int while the d conversion specifier of printf expects an int.
The addr_bytes member o
app/testpmd: fix incompatible sign for printf arguments
The socket_id member of struct rte_port is an unsigned int while the d conversion specifier of printf expects an int.
The addr_bytes member of struct ether_addr is an array of uint8_t while the X conversion specifier of printf expects an unsigned int. Values of type uint8_t are promoted to type int when used in the ellipsis notation of a function.
These minor bugs were found using TrustInSoft Analyzer.
Signed-off-by: Julien Cretin <julien.cretin@trust-in-soft.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
20a0286f |
| 15-Apr-2014 |
Liu Xiaofeng <xiaofeng.liu@6wind.com> |
app/testpmd: check socket id validity
Now socket id is from device's numa_node, if it is invalid, just set it to 0 as default to avoid crash which will be caused by the reference to port_per_socket[
app/testpmd: check socket id validity
Now socket id is from device's numa_node, if it is invalid, just set it to 0 as default to avoid crash which will be caused by the reference to port_per_socket[socket_id].
Also one warning is displayed to user that port-numa-config and ring-numa-config parameters should be used along with --numa for NUMA mode.
A check for NUMA_NO_CONFIG was also missing from init_fwd_stream().
Signed-off-by: Liu Xiaofeng <xiaofeng.liu@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
e659b6b4 |
| 27-Jun-2013 |
Ivan Boule <ivan.boule@6wind.com> |
ethdev: add pause frame counters for em/igb/ixgbe
Add into the `rte_eth_stats` data structure 4 (64-bit) counters of XOFF/XON pause frames received and sent on a given port.
Update em, igb, and ixg
ethdev: add pause frame counters for em/igb/ixgbe
Add into the `rte_eth_stats` data structure 4 (64-bit) counters of XOFF/XON pause frames received and sent on a given port.
Update em, igb, and ixgbe drivers to return the value of the 4 XOFF/XON counters through the `rte_eth_stats_get` function exported by the DPDK API.
Display the value of the 4 XOFF/XON counters in the `testpmd` application.
Signed-off-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
show more ...
|
#
57e85242 |
| 12-Feb-2014 |
Bruce Richardson <bruce.richardson@intel.com> |
app/testpmd: added new macfwd-retry mode
This adds a new forwarding mode to testpmd, whereby it will forward packets, but on a transmit failure, it will wait a small amount of time before retrying t
app/testpmd: added new macfwd-retry mode
This adds a new forwarding mode to testpmd, whereby it will forward packets, but on a transmit failure, it will wait a small amount of time before retrying the transmit again. This mode can be useful in some cases to set a zero-packet loss rate at the cost of overall throughput, especially in cases where TX ring size/buffering is constrained, such as with virtio.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
148f963f |
| 12-Feb-2014 |
Bruce Richardson <bruce.richardson@intel.com> |
xen: core library changes
Core support for using the Intel DPDK with Xen Dom0 - including EAL changes and mempool changes. These changes encompass how memory mapping is done, including support for i
xen: core library changes
Core support for using the Intel DPDK with Xen Dom0 - including EAL changes and mempool changes. These changes encompass how memory mapping is done, including support for initializing a memory pool inside an already-allocated block of memory. KNI sample app updated to use KNI close function when used with Xen.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
e9d48c00 |
| 10-Feb-2014 |
Bruce Richardson <bruce.richardson@intel.com> |
update Intel copyright years to 2014
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
|
#
7741e4cf |
| 18-Sep-2013 |
Intel <intel.com> |
app/testpmd: VMDq and DCB updates
Signed-off-by: Intel
|
#
1c1d4d7a |
| 18-Sep-2013 |
Intel <intel.com> |
doc: whitespace changes in licenses
Signed-off-by: Intel
|
#
01a638e1 |
| 03-Jun-2013 |
Intel <intel.com> |
ethdev: RSS RETA configuration
Signed-off-by: Intel
|
#
b6ea6408 |
| 03-Jun-2013 |
Intel <intel.com> |
ethdev: store numa_node per device
Signed-off-by: Intel
|
#
eee16c96 |
| 30-May-2013 |
Stephen Hemminger <shemminger@vyatta.com> |
pci: support multiple PCI regions per device
Need to change PCI code to support multiple I/O regions on a single device. Some devices like VMXNET3 have multiple PCI memory regions, and some have non
pci: support multiple PCI regions per device
Need to change PCI code to support multiple I/O regions on a single device. Some devices like VMXNET3 have multiple PCI memory regions, and some have none.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Intel
show more ...
|
#
b6df9fc8 |
| 12-Mar-2013 |
Intel <intel.com> |
update copyright date to 2013
Signed-off-by: Intel
|
#
1b62bb7d |
| 05-Dec-2012 |
Zijie Pan <zijie.pan@6wind.com> |
app: fix unused values
Fix warnings of type "Value stored to 'xxx' is never read".
Signed-off-by: Zijie Pan <zijie.pan@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Adrien Mazarg
app: fix unused values
Fix warnings of type "Value stored to 'xxx' is never read".
Signed-off-by: Zijie Pan <zijie.pan@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
show more ...
|