From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH 1/3] ixgbe: fix offload config option name Date: Fri, 31 Jul 2015 23:11:28 +0200 Message-ID: <1438377090-22232-2-git-send-email-thomas.monjalon@6wind.com> References: <2490473.jjJga3lrlm@xps13> <1438377090-22232-1-git-send-email-thomas.monjalon@6wind.com> Cc: dev@dpdk.org To: Helin Zhang , Konstantin Ananyev , Bruce Richardson Return-path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 71B3DC6EC for ; Fri, 31 Jul 2015 23:12:57 +0200 (CEST) Received: by wibud3 with SMTP id ud3so46664058wib.0 for ; Fri, 31 Jul 2015 14:12:57 -0700 (PDT) In-Reply-To: <1438377090-22232-1-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- config/common_bsdapp | 2 +- doc/guides/nics/ixgbe.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/common_bsdapp b/config/common_bsdapp index 2c6eb40..650de38 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 62cc0aa..8cae299 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 -- 2.4.2