From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A09028DB1 for ; Thu, 24 Sep 2015 08:03:20 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 23 Sep 2015 23:03:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,579,1437462000"; d="scan'208";a="651271485" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 23 Sep 2015 23:03:19 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t8O63FVR019434; Thu, 24 Sep 2015 14:03:15 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t8O63B6M019837; Thu, 24 Sep 2015 14:03:13 +0800 Received: (from wujingji@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t8O63BKX019833; Thu, 24 Sep 2015 14:03:11 +0800 From: Jingjing Wu To: dev@dpdk.org Date: Thu, 24 Sep 2015 14:03:03 +0800 Message-Id: <1443074591-19803-1-git-send-email-jingjing.wu@intel.com> X-Mailer: git-send-email 1.7.4.1 Cc: yulong.pei@intel.com Subject: [dpdk-dev] [PATCH 0/8] enable DCB feature on Intel XL710/X710 NIC 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: Thu, 24 Sep 2015 06:03:21 -0000 The patch set enables DCB feature on Intel XL710/X710 NICs, including: Receive queue classification based on traffic class Round Robin ETS schedule (rx and tx). Priority flow control To make the testpmd and ethdev lib more generic on DCB feature, this patch set also adds a new API to get DCB related information on NICs. changes the DCB test forwarding in testpmd to be on traffic class. move specific validation from lib and application to drivers. Additionally, this patch set also corrects some coding style issues. The patch set is developed based on another previous patch set "[PATCH 00/52] update i40e base driver" http://www.dpdk.org/ml/archives/dev/2015-September/023283.html Jingjing Wu (8): ethdev: rename dcb_queue to dcb_tc in dcb config struct ethdev: move the multi-queue checking to specific drivers i40e: enable DCB feature on FVL ixgbe: enable DCB+RSS multi-queue mode ethdev: new API to get dcb related information ixgbe: get_dcb_info ops implement i40e: get_dcb_info ops implement app/testpmd: set up DCB forwarding based on traffic class app/test-pmd/cmdline.c | 39 ++- app/test-pmd/config.c | 159 +++++------ app/test-pmd/testpmd.c | 151 +++++----- app/test-pmd/testpmd.h | 23 +- drivers/net/e1000/igb_ethdev.c | 84 +++++- drivers/net/i40e/i40e_ethdev.c | 574 ++++++++++++++++++++++++++++++++++++++- drivers/net/i40e/i40e_ethdev.h | 14 + drivers/net/i40e/i40e_rxtx.c | 32 ++- drivers/net/i40e/i40e_rxtx.h | 2 + drivers/net/ixgbe/ixgbe_ethdev.c | 248 +++++++++++++++++ drivers/net/ixgbe/ixgbe_ethdev.h | 3 + drivers/net/ixgbe/ixgbe_rxtx.c | 58 ++-- examples/vmdq_dcb/main.c | 4 +- lib/librte_ether/rte_ethdev.c | 217 ++------------- lib/librte_ether/rte_ethdev.h | 64 ++++- 15 files changed, 1230 insertions(+), 442 deletions(-) -- 2.4.0