Didier Pallard [Wed, 9 Jan 2013 16:15:12 +0000 (17:15 +0100)]
mk: fix verbose display of install command
Correctly display executed install command in
rte.install-post.mk install rules
Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Ivan Boule <ivan.boule@6wind.com>
Zijie Pan [Fri, 1 Feb 2013 11:42:18 +0000 (12:42 +0100)]
mk: allow corei7-avx flag with gcc 4.7
In rte.toolchain-compat.mk, ensure MACHINE_CFLAGS is initialized when
using GCC 4.7. Update the GCC 4.6 test to also include GCC 4.7.
Signed-off-by: Krzysztof Witek <krzysztof.witek@6wind.com>
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>
Thierry Herbelot [Mon, 2 Apr 2012 12:27:43 +0000 (14:27 +0200)]
mk: fix typo in LDFLAGS for 32-bit
Enable compilation for 32-bit architecture.
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Acked-by: Ivan Boule <ivan.boule@6wind.com>
Samuel Gauthier [Thu, 20 Sep 2012 08:07:44 +0000 (10:07 +0200)]
mk: use $CC to detect toolchain version
Using gcc is wrong, we should use the cross gcc to detect the
version of gcc.
Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
set version to 1.3.0
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/vmdq_dcb: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/multi_process: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/load_balancer: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/link_status_interrupt: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/l3fwd: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/l3fwd-vf: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/l2fwd: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/ipv4_multicast: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/ipv4_frag: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/qat: update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples/qat: rename config files
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples: update link status checks
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
examples: remove l2fwd-vf
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: various updates
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: add priority flow control
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: add dcb support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: add port configuration settings
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: add --total-num-mbufs option
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: fix check on mac address
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: fix fdir ipv4 filter
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: add fdir ipv6 support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: add vlan offload support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app/testpmd: add stats per queue
Signed-off-by: Intel
Dongsu Han [Mon, 6 May 2013 12:06:51 +0000 (12:06 +0000)]
app/testpmd: fix refcnt in mbuf allocation
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>
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: various tests update
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: cosmetic
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: update test pci device ids
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: add new tests on eal flags
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: add reentrancy tests
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: change route table for lpm
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: split performance tests
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: rework autotest.py
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: refactor dump_cfg
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
app: remove chkincs
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: whitespace changes
Signed-off-by: Intel
Intel [Mon, 24 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: various updates
Signed-off-by: Intel
Intel [Mon, 24 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: add ipv6 support to fdir
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: configure CRC stripping behaviour of PF
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: add an optimised "simple" TX function
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: DCB / flow control
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: add vlan offload support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: allow rx bulk alloc
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: update RX/TX queue configuration
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: stats per queue
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: DCB in base driver
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: update base driver
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: minor changes
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ixgbe: update copyright
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: whitespace changes
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: support EM devices (also known as e1000/e1000e)
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: update RX/TX queue configuration
Queues are allocated by rte_ether.
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: add vlan offload support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: configure CRC stripping behaviour of PF
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: minor changes
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
igb: various updates
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
igb: add VF support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
igb: more supported devices
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: more NICs in base driver
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: update base driver
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: minor changes in base driver
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
e1000: update copyright
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
igb: rename pmd driver as e1000
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: add VF statistics
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: add priority flow control configuration
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: add ipv6 support to fdir
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: add vlan offload support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: add RX/TX queues configuration
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: add DCB support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: add stats per queue
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: minor changes
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ethdev: init all builtin drivers
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
pci: make it possible to keep devices bound to uio
Binding code has been refactored as well.
Signed-off-by: Intel
Damien Millescamps [Mon, 30 Jul 2012 09:47:27 +0000 (11:47 +0200)]
pci: fix uio driver dependency
Allow to run without igb_uio if probed devices don't require it.
The condition for exiting with an error is:
- Tested driver is needed by a probed device
AND
- Tested driver needs igb_uio
Signed-off-by: Damien Millescamps <damien.millescamps@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Adrien Mazarguil [Mon, 30 Jul 2012 09:47:28 +0000 (09:47 +0000)]
pci: reference driver structure for each device
Add a driver reference (if available) to every PCI devices,
even when blacklisted. This information is made available in the global
device_list variable so users know which network devices are managed or
ignored.
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Ivan Boule <ivan.boule@6wind.com>
Acked-by: Damien Millescamps <damien.millescamps@6wind.com>
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
igb_uio: allow to configure interrupt mode
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
igb_uio: various updates
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
igb_uio: GPL copyright
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
mbuf: group fields in vlan_macip union
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
mbuf: fix build when scatter gather is disabled
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
memory: stats for malloc
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
memory: malloc now supports multi process
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
memory: add numa-awareness to malloc
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
memory: fix for multi process support
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
memory: add --socket-mem option
On NUMA systems, --socket-mem makes it possible to select the node where
allocations will go.
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
mempool: cache optimisations
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
ring: add burst API
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
hash: fix check when creating fbk hash
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
hash: allocate memory on right numa socket
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
hash: don't use memzone for allocations
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
hash: remove comments
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
hash: use intrinsic
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
hash: select default hash by looking at SSE flags
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
lpm: rework lpm lookup + add bulk function
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
lpm: allocate memory on right numa socket
Signed-off-by: Intel
Intel [Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)]
lpm: don't use memzone for allocations
Signed-off-by: Intel