summaryrefslogtreecommitdiff
path: root/app/test-pmd
AgeCommit message (Collapse)Author
2014-01-17app/testpmd: fix RSS by setting mq_modeDaniel Kan
The mq_mode was not set when rxq is > 0; it's defaulted to ETH_MQ_RX_NONE. As a result, RSS remains inactive. The fix is to set mq_mode to ETH_MQ_RX_RSS when hf is non-zero. This bug was introduced by commit 243db2ddee3094a2cb39fdd4b17e26df4e7735e1 igb/ixgbe: ETH_MQ_RX_NONE should disable RSS Signed-off-by: Daniel Kan <dan@nyansa.com> Acked-by: Maxime Leroy <maxime.leroy@6wind.com>
2014-01-15app/testpmd: fix configuration of pause framesZijie Pan
The entries for the configuration of the reception and of the transmission of pause frames are inverted in the mode conversion array. Signed-off-by: Zijie Pan <zijie.pan@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com>
2014-01-15app/testpmd: fix build without librte_cmdlineThomas Monjalon
Some features are not available if LIBRTE_CMDLINE is disabled: - interactive mode - ethernet address parsing Note: ethernet address parsing could be rewritten without cmdline dependency. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
2014-01-15pcap: use pcap-config to guess compilation flagsDavid Marchand
Use pcap-config to populate CFLAGS and LDFLAGS. LIBPCAP_CFLAGS and LIBPCAP_LDFLAGS can be used to override this (useful when cross-compiling). Signed-off-by: David Marchand <david.marchand@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-01-15ethdev: add pause frame counters for em/igb/ixgbeIvan Boule
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>
2013-11-24app/testpmd: more helpIntel
Signed-off-by: Intel
2013-11-24app/testpmd: add MAC control forwardIntel
Signed-off-by: Intel
2013-11-24app/testpmd: add bypass supportIntel
Signed-off-by: Intel
2013-10-09app/testpmd: VMDq and DCB updatesIntel
Signed-off-by: Intel
2013-10-09pcap: add new driverIntel
This PMD uses libpcap to send/receive packets to/from any NIC. It can also read/write to/from a file. Signed-off-by: Intel
2013-10-09doc: whitespace changes in licensesIntel
Signed-off-by: Intel
2013-09-17app/testpmd: update csumonlyIntel
Signed-off-by: Intel
2013-09-17ethdev: update VMDq/DCB supportIntel
Signed-off-by: Intel
2013-09-17ethdev: RSS RETA configurationIntel
Signed-off-by: Intel
2013-09-17ethdev: store numa_node per deviceIntel
Signed-off-by: Intel
2013-09-17pci: support multiple PCI regions per deviceStephen Hemminger
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
2013-09-06app/testpmd: cosmetic changesIntel
Signed-off-by: Intel
2013-07-25update copyright date to 2013Intel
Signed-off-by: Intel
2013-07-25app: various changesIntel
Signed-off-by: Intel
2013-07-25app: fix unused valuesZijie Pan
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>
2013-07-25app/testpmd: fix compliance with __rte_mbuf_sanity_check()Ivan Boule
Build mbuf and lists of mbufs in a way compliant with the checks performed by the function __rte_mbuf_sanity_check() when CONFIG_RTE_LIBRTE_MBUF_DEBUG=y Signed-off-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
2013-07-25app/testpmd: fix config crashDamien Millescamps
A chained topology must always have an increment of 1. Here, it was 2 if ports number is even. Signed-off-by: Damien Millescamps <damien.millescamps@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2013-07-25app/testpmd: various updatesIntel
Signed-off-by: Intel
2013-07-25app/testpmd: add priority flow controlIntel
Signed-off-by: Intel
2013-07-25app/testpmd: add dcb supportIntel
Signed-off-by: Intel
2013-07-25app/testpmd: add port configuration settingsIntel
Signed-off-by: Intel
2013-07-25app/testpmd: add --total-num-mbufs optionIntel
Signed-off-by: Intel
2013-07-25app/testpmd: fix check on mac addressIntel
Signed-off-by: Intel
2013-07-25app/testpmd: fix fdir ipv4 filterIntel
Signed-off-by: Intel
2013-07-25app/testpmd: add fdir ipv6 supportIntel
Signed-off-by: Intel
2013-07-25app/testpmd: add vlan offload supportIntel
Signed-off-by: Intel
2013-07-25app/testpmd: add stats per queueIntel
Signed-off-by: Intel
2013-07-25app/testpmd: fix refcnt in mbuf allocationDongsu Han
test-pmd txonly leaks mbuf from the pool. The function tx_mbuf_alloc() does not change the refcnt and the refcnt is 0 when it is first allocated. However, rte_pktmbuf_free_seg called by the driver's xmit code decrements reference count to -1. So mbuf never goes back to the pool. As a result, txonly can't send packets after it exhausts the mempool. The function tx_mbuf_alloc() was getting mbuf directly from mempool and so was bypassing mbuf API. The dedicated function is rte_pktmbuf_alloc() but it is much slower because it does unnecessary initializations in rte_pktmbuf_reset(). By using the internal API __rte_mbuf_raw_alloc(), refcnt is correctly handled without adding too much overload. Signed-off-by: Dongsu Han <dongsuh@cs.cmu.edu> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2013-07-25ethdev: init all builtin driversIntel
Signed-off-by: Intel
2013-07-25mbuf: group fields in vlan_macip unionIntel
Signed-off-by: Intel
2013-07-05remove version in all filesIntel
Signed-off-by: Intel
2013-03-11first public releasev1.2.3r0Intel
version 1.2.3 Signed-off-by: Intel