From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/8] net/qede: fix to disable per-VF Tx switching feature Date: Wed, 08 Nov 2017 01:53:55 +0100 Message-ID: <3022250.CEjPREgbVS@xps> References: <1510043665-8160-1-git-send-email-rasesh.mody@cavium.com> <1510043665-8160-2-git-send-email-rasesh.mody@cavium.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Harish Patil , ferruh.yigit@intel.com, Dept-EngDPDKDev@cavium.com To: Rasesh Mody Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 257481B5DF for ; Wed, 8 Nov 2017 01:53:56 +0100 (CET) In-Reply-To: <1510043665-8160-2-git-send-email-rasesh.mody@cavium.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, 07/11/2017 09:34, Rasesh Mody: > From: Harish Patil > > Provide a knob to control per-VF Tx switching feature by adding a config > option, CONFIG_RTE_LIBRTE_QEDE_VF_TX_SWITCH. By default, it will be kept > in disabled state for better performance with small sized frames. > > Fixes: 2ea6f76aff40 ("qede: add core driver") > Cc: stable@dpdk.org > > Signed-off-by: Harish Patil > --- > config/common_base | 1 + > drivers/net/qede/qede_ethdev.c | 9 ++++++++- > 2 files changed, 9 insertions(+), 1 deletion(-) > > --- a/config/common_base > +++ b/config/common_base > +CONFIG_RTE_LIBRTE_QEDE_VF_TX_SWITCH=n We should remove all compile-time options because they cannot be used when DPDK is pre-packaged. That's why the rule is "NO NEW COMPILE TIME OPTION". After discussion with Ferruh, this patch is accepted as a hotfix. But this option is expected to be removed quickly. I've sent a patch to remove this option in 18.02: http://dpdk.org/ml/archives/dev/2017-November/081488.html It gives you some time to supersede my patch by introducing a run-time driver option. Thanks