Go to file
Vlad Zolotarov 01fa1d6215 ixgbe: unify Rx setup
- Set the callback in a single function that is called from
     ixgbe_dev_rx_init() for a primary process and from eth_ixgbe_dev_init()
     for a secondary processes. This is instead of multiple, hard to track places.
   - Added ixgbe_hw.rx_bulk_alloc_allowed - see ixgbe_hw.rx_vec_allowed description below.
   - Added ixgbe_hw.rx_vec_allowed: like with Bulk Allocation, Vector Rx is
     enabled or disabled on a per-port level. All queues have to meet the appropriate
     preconditions and if any of them doesn't - the feature has to be disabled.
     Therefore ixgbe_hw.rx_vec_allowed will be updated during each queues configuration
     (rte_eth_rx_queue_setup()) and then used in rte_eth_dev_start() to configure the
     appropriate callbacks. The same happens with ixgbe_hw.rx_vec_allowed in a Bulk Allocation
     context.
   - Bugs fixed:
      - Vector scattered packets callback was called regardless the appropriate
        preconditions:
         - Vector Rx specific preconditions.
         - Bulk Allocation preconditions.
      - Vector Rx was enabled/disabled according to the last queue setting and not
        based on all queues setting (which may be different for each queue).

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-03-17 00:46:01 +01:00
app eal: fix type casting of value to align 2015-03-17 00:46:01 +01:00
config vhost: add build option for vhost-user 2015-03-17 00:46:01 +01:00
doc scripts: remove useless build tools 2015-03-10 17:55:25 +01:00
examples examples/l2fwd-jobstats: fix error handling in init sequence 2015-03-10 16:14:12 +01:00
lib ixgbe: unify Rx setup 2015-03-17 00:46:01 +01:00
mk mk: move internal file 2015-03-09 12:46:46 +01:00
pkg version: 1.8.0 2014-12-20 00:38:39 +01:00
scripts scripts: remove useless build tools 2015-03-10 17:55:25 +01:00
tools tools: fix binding to unsupported driver 2015-03-05 21:33:53 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile scripts: remove useless build tools 2015-03-10 17:55:25 +01:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS maintainers: claim responsibility for docs 2015-03-10 17:31:37 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00