[dpdk-dev,v4,3/3] config: enable vector driver by default

Message ID 1458866867-39582-4-git-send-email-jianfeng.tan@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Commit Message

Jianfeng Tan March 25, 2016, 12:47 a.m. UTC
  Previously, vector driver is not the first (default) choice for i40e,
as it cannot fill packet type info for l3fwd to work well. Now there
is an option for l3fwd to analysis packet type softly. So enable it
by default.

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 config/common_base                     | 2 +-
 doc/guides/rel_notes/release_16_04.rst | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
  

Patch

diff --git a/config/common_base b/config/common_base
index d98a82c..abd6a64 100644
--- a/config/common_base
+++ b/config/common_base
@@ -179,7 +179,7 @@  CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
 CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER=n
 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
-CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=n
+CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
 CONFIG_RTE_LIBRTE_I40E_RX_OLFLAGS_ENABLE=y
 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
diff --git a/doc/guides/rel_notes/release_16_04.rst b/doc/guides/rel_notes/release_16_04.rst
index 26e985b..7359604 100644
--- a/doc/guides/rel_notes/release_16_04.rst
+++ b/doc/guides/rel_notes/release_16_04.rst
@@ -390,6 +390,12 @@  Drivers
   Allowed AES GCM on the cryptodev API, but in some cases gave invalid results
   due to incorrect IV setting.
 
+* **i40e: enable vector driver by default.**
+
+  Previously, vector driver is disabled by default as it cannot fill packet type
+  info for l3fwd to work well. Now there is an option for l3fwd to analysis
+  packet type softly, so enable vector driver by default.
+
 
 Libraries
 ~~~~~~~~~