numam-dpdk/lib/librte_pmd_ixgbe
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
..
ixgbe ixgbe: unify Rx setup 2015-03-17 00:46:01 +01:00
ixgbe_82599_bypass.c ixgbe: fix build with bypass enabled 2014-10-09 20:02:34 +02:00
ixgbe_bypass_api.h ixgbe: support X550 2014-10-07 17:01:08 +02:00
ixgbe_bypass_defines.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_bypass.c ixgbe: fix build with bypass and debug enabled 2014-12-02 12:28:11 +01:00
ixgbe_bypass.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_ethdev.c ixgbe: unify Rx setup 2015-03-17 00:46:01 +01:00
ixgbe_ethdev.h ixgbe: make bulk alloc static 2015-03-10 15:16:23 +01:00
ixgbe_fdir.c ixgbe: fix supported flow types 2015-03-10 16:44:54 +01:00
ixgbe_logs.h ixgbe: always log init messages 2014-09-18 20:52:41 +02:00
ixgbe_pf.c ixgbe: remove an useless check in VF RSS 2015-01-27 12:36:24 +01:00
ixgbe_rxtx_vec.c ixgbe: unify Rx setup 2015-03-17 00:46:01 +01:00
ixgbe_rxtx.c ixgbe: unify Rx setup 2015-03-17 00:46:01 +01:00
ixgbe_rxtx.h ixgbe: unify Rx setup 2015-03-17 00:46:01 +01:00
Makefile ixgbe: fix build with gcc 5 2015-02-25 16:24:15 +01:00
rte_pmd_ixgbe_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00