Commit Graph

7493 Commits

Author SHA1 Message Date
Zijie Pan
cddaf87a1e lib: 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>
2013-07-25 16:07:51 +02:00
Intel
d55d942fa9 kni: various changes
Signed-off-by: Intel
2013-07-25 16:07:51 +02:00
Intel
3b5d33a004 kni: disable IGB_DCA
Signed-off-by: Intel
2013-07-25 16:07:51 +02:00
Intel
9b3cd1cc0c kni: fix disabling
Signed-off-by: Intel
2013-07-25 16:07:51 +02:00
Ivan Boule
6402373548 kni: fix build with kernel < 2.6.34
Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2013-07-25 16:07:51 +02:00
Nicolas Dichtel
f454d1a9c9 igb_uio: fix build with kernel >= 3.8
__devinit has been removed in linux commit 54b956b903
("Remove __dev* markings from init.h", 3.8-rc4).

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Ivan Boule <ivan.boule@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2013-07-25 16:07:51 +02:00
Intel
c872db9ea5 igb: fix RX for Springville (i210)
Signed-off-by: Intel
2013-07-25 16:07:51 +02:00
Adrien Mazarguil
66daf76700 pci: allow drivers to be bound several times to the same PCI device
Drivers with the flag RTE_PCI_DRV_MULTIPLE enabled will be bound several
times to the same device until they return an error.

These drivers must internally keep track of each device state in order for
this to work reliably.

This flag currently required for Ethernet adapters with several physical
ports but a single address on the PCI bus.

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>
2013-07-25 16:07:51 +02:00
Intel
c4641b4b1e mem: 64-bit mempool sizes
Signed-off-by: Intel
2013-07-25 16:07:51 +02:00
Intel
dd61b34d58 mem: error if requesting more segments than MAX_MEMSEG
Signed-off-by: Intel
2013-07-25 16:07:51 +02:00
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
Intel
594f3c1cea set version to 1.3.0
Signed-off-by: Intel
2013-07-25 16:07: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
Intel
7431041062 ixgbe: allow rx bulk alloc
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
ebef1f5850 ixgbe: update RX/TX queue configuration
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
563455467f ixgbe: stats per queue
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
39bca0ed99 ixgbe: DCB in base driver
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
aa4fc14d2c ixgbe: update base driver
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
a02286c8d7 ixgbe: minor changes
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
2ec5fc4820 ixgbe: update copyright
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
bdb244b969 e1000: whitespace changes
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
805803445a e1000: support EM devices (also known as e1000/e1000e)
Signed-off-by: Intel
2013-07-25 15:40:56 +02:00
Intel
0197e3ecf5 e1000: update RX/TX queue configuration
Queues are allocated by rte_ether.

Signed-off-by: Intel
2013-07-25 15:40:55 +02:00
Intel
7da9ffee83 e1000: add vlan offload support
Signed-off-by: Intel
2013-07-25 15:40:55 +02:00
Intel
e094e8f954 e1000: minor changes
Signed-off-by: Intel
2013-07-25 15:40:55 +02:00
Intel
5e305acc2e igb: various updates
Signed-off-by: Intel
2013-07-25 15:40:55 +02:00
Intel
d82170d279 igb: add VF support
Signed-off-by: Intel
2013-07-25 15:40:55 +02:00
Intel
8206ad5055 igb: more supported devices
Signed-off-by: Intel
2013-07-25 15:40:55 +02:00
Intel
5a32a257f9 e1000: more NICs in base driver
Signed-off-by: Intel
2013-07-25 15:23:29 +02:00
Intel
8a5eeb9c05 e1000: update base driver
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
7ea63c1f74 e1000: minor changes in base driver
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
98cd57841b e1000: update copyright
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
4722743167 igb: rename pmd driver as e1000
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
35f9f202ea ethdev: add VF statistics
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
92e1631420 ethdev: add priority flow control configuration
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
46375cfa2c ethdev: add ipv6 support to fdir
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
81f9db8ecc ethdev: add vlan offload support
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
782a303ddc ethdev: add RX/TX queues configuration
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
041cdbf947 ethdev: add DCB support
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
5de201df89 ethdev: add stats per queue
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
f831c63cbe ethdev: minor changes
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
69d22b8e66 ethdev: init all builtin drivers
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
d6537e6a74 pci: make it possible to keep devices bound to uio
Binding code has been refactored as well.

Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Damien Millescamps
acabcb6c3f 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>
2013-07-25 15:23:28 +02:00
Adrien Mazarguil
5e9f6d1340 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>
2013-07-25 15:23:28 +02:00
Intel
fb98e84fc1 igb_uio: allow to configure interrupt mode
Signed-off-by: Intel
2013-07-25 15:23:28 +02:00
Intel
13dc56a6fe igb_uio: various updates
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
1f1047608d igb_uio: GPL copyright
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
42d7141686 mbuf: group fields in vlan_macip union
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
4ef869927e mbuf: fix build when scatter gather is disabled
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
2a5c356e17 memory: stats for malloc
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
766b12e538 memory: malloc now supports multi process
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
dec5e73d78 memory: add numa-awareness to malloc
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
916e4f4f4e memory: fix for multi process support
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
b6a468ad41 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
2013-07-25 15:23:27 +02:00
Intel
ea5dd2744b mempool: cache optimisations
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
50d7690548 ring: add burst API
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
34258ce5db hash: fix check when creating fbk hash
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
51bc66d507 hash: allocate memory on right numa socket
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
1651e2166b hash: don't use memzone for allocations
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
de7212b822 hash: remove comments
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
a132a9cf2b hash: use intrinsic
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
18d5e8d78c hash: select default hash by looking at SSE flags
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
3569fcf1c4 lpm: rework lpm lookup + add bulk function
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
f9b4c4ed3f lpm: allocate memory on right numa socket
Signed-off-by: Intel
2013-07-25 15:23:27 +02:00
Intel
4cdf471a06 lpm: don't use memzone for allocations
Signed-off-by: Intel
2013-07-25 15:23:26 +02:00
Intel
a76109c628 lpm: minor changes
Signed-off-by: Intel
2013-07-25 15:23:26 +02:00
Intel
af89e7f85b eal: rework cpu information discovery
Signed-off-by: Intel
2013-07-25 15:23:26 +02:00
Intel
a9fb536570 eal: minor changes
Signed-off-by: Intel
2013-07-25 15:17:47 +02:00
Intel
277ff5bb75 eal: always check CPU support at runtime
Signed-off-by: Intel
2013-07-25 15:17:47 +02:00
Intel
670f23337a eal: GPL copyright for PCI ids
Signed-off-by: Intel
2013-07-25 15:01:58 +02:00
Intel
ab971e5628 cmdline: various updates
- Support of float number is removed.
- C++ compatibility is done
- More checks

Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
5e2d5869b3 log: fix multi process support
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
ceda35ebe8 log: better fix on history buffer overflow
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Dongsu Han
94bc87febf log: fix history buffer overflow
The '\0' is written outside the bounds of the log buffer, which can
result in memory corruption or display issues with log messages.

Use a new constant LOG_BUF_SIZE to store the effective size of the
buffer in struct log_history.

Signed-off-by: Dongsu Han <dongsuh@cs.cmu.edu>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2013-07-25 15:01:57 +02:00
Intel
30a37273c1 lib: update tailq api
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
dd1a95f295 lib: move mem config
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
411b16b9db lib: memcpy update
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
45d5423092 lib: remove duplicated lock code
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
70dce76478 lib: new alignment macros
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
32832fc6c0 lib: sysfs parsing
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
3fc5ca2f63 kni: initial import
Signed-off-by: Intel
2013-07-25 15:01:57 +02:00
Intel
dada9ef6ed remove version in all files
Signed-off-by: Intel
2013-07-05 11:59:50 +02:00
Intel
af75078fec first public release
version 1.2.3

Signed-off-by: Intel
2013-03-11 17:19:20 +01:00