From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id D1DF02E8A for ; Mon, 11 Apr 2016 11:52:07 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id a140so5444660wma.0 for ; Mon, 11 Apr 2016 02:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=EvqsnMjhcJ211XL2cVEb0Uk79YxpplxGTBSPgOkEMVA=; b=cCN/DQZwuWqgw5nsBSx/fSE4j0n3WVmX0eaRy3pokwd75JDNG9gUC3JSS6GBd2aMlR ueFHhdm2ANfiSa1CGO4NRIIb33WwyiFQY/BtfkW6oDrLCKq/0Ss2+Ekh2Grn68WvMIsW r9KtYrM1mKVX1E2TT/4p/PXXoS+4r0AqKfeSX5biAtsNlFS3Teo3yHYwGf2whRHCo8dY aferc3Gu65xexQNHnKpOvuSMBCAv5o/yPdwR/xAtomx/pilunfh9kvSmvohrp5/jp/o4 q246l8C0FxeLcD8eMHy6OnGrtBG96AsOTksoD1/ZVeOQpnB+l1nJiCalzrIhH0+o2x6A gCeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=EvqsnMjhcJ211XL2cVEb0Uk79YxpplxGTBSPgOkEMVA=; b=YCF8a1Sa3Ihy4fAvNtHKOoOE2S5OHR05EGAQAlAqEoA/Ta7M48uvFVihBUkD9xu7WV V/fM+b/m7auu/7/5gMNTjZXBcjo91dDTT8GeRhyoyRmi8khi/YeHNcbQi+kcHKomPqOZ Hu7QMi5QEhPm6BqS6M46C+9MRw7Eic+WSWMJd3YAx1/C/b3OrDkSX8llNPKrtbaVpL3L 2UDl9u0lRmBSexKaIohW6jSfh4hxBAffyi5ZsqNNxARy3zl6jlmm/x2ezAJ3wnplLfPF Uh2iurvHkIALdzAMgYHBz76z9s6vd7lXvudRNU/p9pKm5r5ervNwjFb2f1ns+EQmZEO+ JIAQ== X-Gm-Message-State: AD7BkJKa9N4Qc7onNEy4K2JU61PRY9Z5jUHDCzJOh1DyI6cqXY5zvslos2106iA06CfXfp/l X-Received: by 10.28.50.138 with SMTP id y132mr18434090wmy.52.1460368327667; Mon, 11 Apr 2016 02:52:07 -0700 (PDT) Received: from xps13.localnet (245.111.75.86.rev.sfr.net. [86.75.111.245]) by smtp.gmail.com with ESMTPSA id d1sm16397257wmh.18.2016.04.11.02.52.06 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Apr 2016 02:52:06 -0700 (PDT) From: Thomas Monjalon To: Wenzhuo Lu Cc: dev@dpdk.org Date: Mon, 11 Apr 2016 11:52:05 +0200 Message-ID: <2081231.H599pWkcUZ@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1460363050-27962-1-git-send-email-wenzhuo.lu@intel.com> References: <1460363050-27962-1-git-send-email-wenzhuo.lu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] lib: fix DCB config issue on ixgbe X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2016 09:52:08 -0000 2016-04-11 16:24, Wenzhuo Lu: > An issue is found that DCB cannot be configged on ixgbe > NICs. It's said the TX queue number is not right. > On ixgbe the max TX queue number is not fixed, it depends > on the multi-queue mode. The API rte_eth_dev_configure > should be used to config this mode. But the input of this > API includes TX queue number. The problem is before the > mode is configged, we cannot decide the TX queue number. > > This patch adds an API to config RX & TX multi-queue mode > separately. After the mode is configged, the max RX & TX > queue number is decided. Then we can set the appropriate > RX & TX queue number. > > Fixes: 96c0450dff86 (ixgbe: fix dropping packets from unsupported Tx queues) > Signed-off-by: Wenzhuo Lu > --- > app/test-pmd/testpmd.c | 40 +++++++++++++++++++--------------- > lib/librte_ether/rte_ethdev.c | 17 +++++++++++++++ > lib/librte_ether/rte_ethdev.h | 19 ++++++++++++++++ > lib/librte_ether/rte_ether_version.map | 1 + > 4 files changed, 59 insertions(+), 18 deletions(-) Obviously, it will be considered for 16.07.