Commit Graph

33730 Commits

Author SHA1 Message Date
Intel
718bf2ae4d mem: remove hugepage file on unmap
Signed-off-by: Intel
2013-11-23 23:48:41 +01:00
Intel
ce1f9117b3 pci: fix sysfs parsing for uio
Signed-off-by: Intel
2013-11-23 23:48:21 +01:00
Intel
53784a6090 sched: remove debug symbols
Signed-off-by: Intel
2013-11-21 10:12:10 +01:00
Intel
8d111d7425 meter: remove debug symbols
Signed-off-by: Intel
2013-11-21 10:12:10 +01:00
Intel
9cb80085a4 lpm: fix route adding
Signed-off-by: Intel
2013-11-21 10:12:01 +01:00
Intel
fed1491b40 eal: whitespace change
Signed-off-by: Intel
2013-11-20 10:27:00 +01:00
Intel
732a9d3035 eal: fix build with intrinsics and gcc < 4.8
Provide a fallback if the intrinsic __builtin_bswap16 is not available.

Signed-off-by: Intel
2013-11-20 10:27:00 +01:00
Intel
63baec8781 mk: always preprocess template config file
Signed-off-by: Intel
2013-11-19 18:23:24 +01:00
Intel
ac33030524 mk: avoid multiple inclusion of rte_config.h
Signed-off-by: Intel
2013-11-19 16:20:09 +01:00
Intel
dcae8715b8 version: 1.5.0-pre-release
Signed-off-by: Intel
2013-10-09 16:16:16 +02:00
Intel
9787d22f34 examples: minor changes
Signed-off-by: Intel
2013-10-09 16:16:16 +02:00
Intel
78a94f7458 examples/qat: upgrade to CRF 1.2
Signed-off-by: Intel
2013-10-09 16:16:16 +02:00
Intel
2a6ce1afd9 examples/l3fwd: no bare metal support
Signed-off-by: Intel
2013-10-09 16:16:16 +02:00
Intel
95e8005a56 examples/l2fwd_fork: new app
Signed-off-by: Intel
2013-10-09 16:16:16 +02:00
Intel
cfd5c971e5 examples/qos_sched: add stats
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
fc8a10d852 examples/qos_meter: add color policy
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
b475eb0bc4 examples/kni: new parameters
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
d4f37b0945 examples/vmdq_dcb: new port mask parameter
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
6bb97df521 examples/vmdq: new app
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
7741e4cf16 app/testpmd: VMDq and DCB updates
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
20309d5040 app/test: various updates
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
5233e5924a app/test: update kni
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
f1a6c22424 app/test: update interrupts test
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
6504308972 app/test: fix memzone test
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
97d3fc9188 app/test: new timer test
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
fa34246add app/test: add whitelist
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
277afaf3db app/test: add timer_perf
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
f1bd3e38c7 app/test: minor changes
Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
24f42575df app/test: remove pattern matching test
It needs librte_pmac which is not released.

Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
b23ffbaa82 kni: add vhost backend
Attach to vhost-net as raw socket backend.

Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
904d29a135 kni: move FIFO functions
Move FIFO functions into kni_fifo.h in order to reuse it for vhost.

Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
9c61145ff6 kni: allow multiple threads
In this new mode, each KNI device has its own kernel thread for Rx.
The core affinity is configurable.

Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
fbf895d44c kni: identify device by name
Some old API functions based on port_id are deprecated.

Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
0b44a857c8 kni: generate random MAC address if needed
Replace the address based on "\0KNIxy" by a random MAC.

Signed-off-by: Intel
2013-10-09 16:16:15 +02:00
Intel
4583570637 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
2013-10-09 16:16:14 +02:00
Intel
47cda8c470 kni: clean logs
The debug is now disabled by default and can be enabled with
configuration option CONFIG_RTE_KNI_KO_DEBUG.

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
abc3630ed3 kni: minor changes
Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
c1f86306a0 virtio: add new driver
This PMD can be used in a VM having virtio-net NIC.

Note: it is a different implementation than virtio-usermap extension.

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
7ef0072910 ethdev: random MAC address
Factorize code by moving random_addr() function in only place.
It will be reused for virtio.

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
7bd128eae2 eal: increase I/O privilege
Set I/O privilege to the highest level (3).
It is needed for virtio.

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
4c173302c3 pcap: add new driver
This PMD uses libpcap to send/receive packets to/from any NIC.
It can also read/write to/from a file.

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
e1e4017751 ring: add new driver
This PMD is a set of FIFOs using rte_ring without any NIC.
It can be used as a loopback.

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
dc5026b485 ethdev: allow device without registered driver
It is needed for non-pci devices (ring and pcap).

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
0b33b68d12 ethdev: export allocate function
The function rte_eth_dev_allocate() was called by rte_eth_dev_init().
In order to use it for non-pci devices, it is now in public API.

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
2c502225c6 eal: introduce non-pci devices
This type of pseudo-device is needed for ring and pcap PMDs.
They are compatible with whitelist and are initialized in rte_eal_init().

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
fe3a45fd41 ixgbe: add VMDq support
Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
d52147ec28 igb: add VMDq support
Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
88ac4396ad ethdev: add VMDq support
Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
0105ba4c6b ixgbe: fix VF init without setup
In case of multi-process application, the secondary process can initialize
the driver without configuring queues. In this case the Rx/Tx functions
were not initialized because it was only done in queue setup.

Fix by reproducing the same behaviour as in eth_ixgbe_dev_init().

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00
Intel
5caeb1b143 igb: fix VF init without setup
In case of multi-process application, the secondary process can initialize
the driver without configuring queues. In this case the Rx/Tx functions
were not initialized because it was only done in queue setup.

Fix by reproducing the same behaviour as in eth_igb_dev_init().

Signed-off-by: Intel
2013-10-09 16:16:14 +02:00