Thomas Monjalon
8885118f82
eal: fix access to huge page with high address
...
The returned value of lseek is a virtual address
which can be different from the offset.
Indeed, if the return address has a 64-bit canonical form,
the 16 higher bits are all 1 if bit 47 is 1.
So the check was wrong. It is better to test against an error value.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Damien Millescamps <damien.millescamps@6wind.com>
2013-07-25 16:07:50 +02:00
Intel
a366c813f7
eal: add bsf32
...
Signed-off-by: Intel
2013-07-25 16:07:50 +02:00
Intel
0100a515b5
pmac: integration without lib
...
This library could be used for pattern matching and ACL.
Code of librte_pmac is not released as Open Source.
Signed-off-by: Intel
2013-07-25 16:07:50 +02:00
Intel
cd3cefac77
cmdline: fix for long input
...
Signed-off-by: Intel
2013-07-25 16:07:50 +02:00
Didier Pallard
f9a0e0a56b
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>
2013-07-25 16:07:50 +02:00
Zijie Pan
cd1bdd1376
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>
2013-07-25 16:07:50 +02:00
Thierry Herbelot
9cdd07c320
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>
2013-07-25 16:07:50 +02:00
Samuel Gauthier
19824d7a69
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>
2013-07-25 16:07:50 +02:00
Intel
594f3c1cea
set version to 1.3.0
...
Signed-off-by: Intel
2013-07-25 16:07:45 +02:00
Intel
1d8d954b80
examples/vmdq_dcb: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
d46989e0d3
examples/multi_process: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
3b95eb689b
examples/load_balancer: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
0c3d715cb3
examples/link_status_interrupt: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
f68aad7904
examples/l3fwd: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
0cbac1a0a8
examples/l3fwd-vf: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
16ac9cf052
examples/l2fwd: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
6441b9f653
examples/ipv4_multicast: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
33399bcaa4
examples/ipv4_frag: update
...
Signed-off-by: Intel
2013-07-25 15:58:01 +02:00
Intel
3460012bcc
examples/qat: update
...
Signed-off-by: Intel
2013-07-25 15:57:54 +02:00
Intel
48a5ba0977
examples/qat: rename config files
...
Signed-off-by: Intel
2013-07-25 15:57:45 +02:00
Intel
d3641ae863
examples: update link status checks
...
Signed-off-by: Intel
2013-07-25 15:57:45 +02:00
Intel
90dc1a670c
examples: remove l2fwd-vf
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
013af9b6b6
app/testpmd: various updates
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
9b53e542e9
app/testpmd: add priority flow control
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
900550de04
app/testpmd: add dcb support
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
ce8d561418
app/testpmd: add port configuration settings
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
c87988187f
app/testpmd: add --total-num-mbufs option
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
e9e0a8a23a
app/testpmd: fix check on mac address
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
cf808da4bd
app/testpmd: fix fdir ipv4 filter
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
d59b178f12
app/testpmd: add fdir ipv6 support
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
a47aa8b97a
app/testpmd: add vlan offload support
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
ed30d9b691
app/testpmd: add stats per queue
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Dongsu Han
84ac1559c4
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>
2013-07-25 15:54:18 +02:00
Intel
a40a1f8231
app: various tests update
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
a5d045b2b4
app: cosmetic
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
ce0ce98e9f
app: update test pci device ids
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
45f1b6e868
app: add new tests on eal flags
...
Signed-off-by: Intel
2013-07-25 15:54:18 +02:00
Intel
104a92bd02
app: add reentrancy tests
...
Signed-off-by: Intel
2013-07-25 15:54:17 +02:00
Intel
5e0337786a
app: change route table for lpm
...
Signed-off-by: Intel
2013-07-25 15:54:17 +02:00
Intel
e242c810e9
app: split performance tests
...
Signed-off-by: Intel
2013-07-25 15:54:17 +02:00
Intel
e2cc79b75d
app: rework autotest.py
...
Signed-off-by: Intel
2013-07-25 15:54:17 +02:00
Intel
a25904dbbb
app: refactor dump_cfg
...
Signed-off-by: Intel
2013-07-25 15:52:59 +02:00
Intel
1b938bb9df
app: remove chkincs
...
Signed-off-by: Intel
2013-07-25 15:48:45 +02:00
Intel
cdb5f15cdd
ixgbe: whitespace changes
...
Signed-off-by: Intel
2013-07-25 15:48:45 +02:00
Intel
f0160874c0
ixgbe: various updates
...
Signed-off-by: Intel
2013-07-25 15:48:45 +02:00
Intel
c25eb53e5d
ixgbe: add ipv6 support to fdir
...
Signed-off-by: Intel
2013-07-25 15:48:45 +02:00
Intel
29a05247eb
ixgbe: configure CRC stripping behaviour of PF
...
Signed-off-by: Intel
2013-07-25 15:48:45 +02:00
Intel
39944fdce0
ixgbe: add an optimised "simple" TX function
...
Signed-off-by: Intel
2013-07-25 15:48:38 +02:00
Intel
0807f80d35
ixgbe: DCB / flow control
...
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
dbb0b8737f
ixgbe: add vlan offload support
...
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00