]>
git.droids-corp.org - dpdk.git/log 
Thomas Monjalon  [Fri, 15 Nov 2013 11:08:10 +0000  (12:08 +0100)] 
igb/ixgbe: fix index overflow when resetting big queues
Rings are resetted with a loop because memset cannot be used without
issuing a warning about volatile casting.
The index of the loop was a 16-bit variable which is sufficient for
ring entries number but not for the byte size of the whole ring.
The overflow happens when rings are configured for 4096 entries
(descriptor size is 16 bytes). The result is an endless loop.
It is fixed by indexing ring entries and resetting all bytes of the entry
with a simple assignment.
The descriptor initializer is zeroed thanks to its static declaration.
There already was a fix for ixgbe Tx only
(commit 
bcf457f8c0d64a5cb094fd55836b324bddb930b6 ).
It is reverted to use the same fix everywhere (Rx/Tx for igb/ixgbe).
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> 
Acked-by: Ivan Boule <ivan.boule@6wind.com> 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
version: 1.5.1Signed-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
examples/l3fwd-vf: improve configurationSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
examples/exception_path: 64-bit coremasksSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
app/testpmd: more helpSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
app/testpmd: add MAC control forwardSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
app/testpmd: add bypass supportSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
app/test: fix memory autotest
Memory length is printed as a decimal value since version 1.4
(commit 
3b46fb77ebdb6bb6b47c578a2986077dcff68a19 ).
Signed-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
app/test: fix whitelistSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
app/test: add pmd_ringSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
app/test: rename pmac_acl as aclSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
app/cmdline_test: fix build without app/testSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
kni: fix vhost build with kernel 3.7Signed-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
kni: fix X540 init
KNI must not do hardware reset. But it was resetting X540 devices.
This bug was in the first KNI version
(commit 
3fc5ca2f63529ec5ad7b1b75f517d61dc7613bd9 ).
Signed-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
kni: add i354 supportSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ixgbe: fix index overflow when resetting big Tx queuesSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ixgbe: fix RSC disabling bitSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ixgbe: add MAC control forwardSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
e1000: add MAC control forwardSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ethdev: add MAC control forwardSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ixgbe: add 82599 bypass supportSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ethdev: add bypass logicSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
igb: fix PF buildSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
igb: configure CRC stripping for i211 and i354Signed-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
igb: add i354 supportSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
e1000: update base driverSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
e1000: revert fix for multicast in VF
Revert fix from commit 
06cf9be95ce16b363c4267d2d17e27c2706629ae .
Signed-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
e1000: more error checksSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
e1000: mark unused parametersSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
e1000: minor changesSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
e1000: whitespace changesSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
virtio: minor changesSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ring: use rte_atomic functionsSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ring: move logSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
ring: fix build without ixgbeSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
pcap: fix build without ixgbeSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
mem: remove hugepage file on unmapSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
pci: fix sysfs parsing for uioSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
sched: remove debug symbolsSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
meter: remove debug symbolsSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
lpm: fix route addingSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
eal: whitespace changeSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
eal: fix build with intrinsics and gcc < 4.8Signed-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
mk: always preprocess template config fileSigned-off-by: Intel 
Intel  [Fri, 8 Nov 2013 02:00:00 +0000  (03:00  +0100)] 
mk: avoid multiple inclusion of rte_config.hSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
version: 1.5.0-pre-releaseSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples: minor changesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples/qat: upgrade to CRF 1.2Signed-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples/l3fwd: no bare metal supportSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples/l2fwd_fork: new appSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples/qos_sched: add statsSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples/qos_meter: add color policySigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples/kni: new parametersSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples/vmdq_dcb: new port mask parameterSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
examples/vmdq: new appSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/testpmd: VMDq and DCB updatesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: various updatesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: update kniSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: update interrupts testSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: fix memzone testSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: new timer testSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: add whitelistSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: add timer_perfSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: minor changesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
app/test: remove pattern matching testSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
kni: add vhost backendSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
kni: move FIFO functionsSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
kni: allow multiple threadsSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
kni: identify device by nameSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
kni: generate random MAC address if neededSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
kni: fix build with kernel 3.10
- The flags NETIF_F_HW_VLAN_* have been renamed to NETIF_F_HW_VLAN_CTAG_*.
See Linux commit 
f646968f8f7c624587de729115d802372b9063dd .
- The VLAN protocol must be specified.
See Linux commits 
86a9bad3ab6b6f858fd4443b48738cabbb6d094c 
and 
80d5c3689b886308247da295a228a54df49a44f6 .
Signed-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
kni: clean logsSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
kni: minor changesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
virtio: add new driverSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
ethdev: random MAC addressSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
eal: increase I/O privilegeSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
pcap: add new driverSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
ring: add new driverSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
ethdev: allow device without registered driverSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
ethdev: export allocate functionSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
eal: introduce non-pci devicesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
ixgbe: add VMDq supportSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
igb: add VMDq supportSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
ethdev: add VMDq supportSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
ixgbe: fix VF init without setupSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
igb: fix VF init without setupSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
e1000: fix descriptor overflowSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
e1000: minor changesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
ethdev: reset unsupported statsSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
mem: retrieve mempool cache only when neededSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
mem: retry malloc with smaller block size when failureSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
timer: use a skip listSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
lpm: rework rules storageSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
sched: minor changesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
eal: use pause only with SSE2Signed-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
eal: allow to whitelist devicesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
eal: allow to blacklist address without domain prefixSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
eal: rework CPU mask parsingSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
eal: minor changesSigned-off-by: Intel 
Intel  [Wed, 18 Sep 2013 10:00:00 +0000  (12:00 +0200)] 
mk: combined librarySigned-off-by: Intel