From: Thomas Monjalon Date: Fri, 31 Jul 2015 15:57:24 +0000 (+0200) Subject: ixgbe: fix offload config option name X-Git-Tag: spdx-start~8582 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=501945eec0875e7fabefab24f941061e55427c3f;p=dpdk.git ixgbe: fix offload config option name The RX_OLFLAGS option was renamed from DISABLE to ENABLE in driver code and linux config. It is now renamed also in bsd config and documentation. Fixes: 359f106a69a9 ("ixgbe: prefer enabling olflags rather than not disabling") Signed-off-by: Thomas Monjalon --- diff --git a/config/common_bsdapp b/config/common_bsdapp index 2c6eb406e0..650de382b6 100644 --- a/config/common_bsdapp +++ b/config/common_bsdapp @@ -174,7 +174,7 @@ CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER=n CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n CONFIG_RTE_IXGBE_INC_VECTOR=n -CONFIG_RTE_IXGBE_RX_OLFLAGS_DISABLE=n +CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=y # # Compile burst-oriented I40E PMD driver diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index 62cc0aab55..8cae299431 100644 --- a/doc/guides/nics/ixgbe.rst +++ b/doc/guides/nics/ixgbe.rst @@ -95,7 +95,7 @@ Other features are supported using optional MACRO configuration. They include: * HW extend dual VLAN -* Enabled by RX_OLFLAGS (RTE_IXGBE_RX_OLFLAGS_DISABLE=n) +* Enabled by RX_OLFLAGS (RTE_IXGBE_RX_OLFLAGS_ENABLE=y) To guarantee the constraint, configuration flags in dev_conf.rxmode will be checked: @@ -154,13 +154,13 @@ Sample Application Notes testpmd ^^^^^^^ -By default, using CONFIG_RTE_IXGBE_RX_OLFLAGS_DISABLE=n: +By default, using CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=y: .. code-block:: console ./x86_64-native-linuxapp-gcc/app/testpmd -c 300 -n 4 -- -i --burst=32 --rxfreet=32 --mbcache=250 --txpt=32 --rxht=8 --rxwt=0 --txfreet=32 --txrst=32 --txqflags=0xf01 -When CONFIG_RTE_IXGBE_RX_OLFLAGS_DISABLE=y, better performance can be achieved: +When CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=n, better performance can be achieved: .. code-block:: console