Commit Graph

6892 Commits

Author SHA1 Message Date
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