From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 59AFA6A89 for ; Tue, 30 Sep 2014 08:13:59 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 29 Sep 2014 23:20:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,625,1406617200"; d="scan'208";a="581057498" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 29 Sep 2014 23:20:35 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s8U6KXgX003442; Tue, 30 Sep 2014 14:20:33 +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 s8U6KV63011013; Tue, 30 Sep 2014 14:20:33 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s8U6KVIs011009; Tue, 30 Sep 2014 14:20:31 +0800 From: Helin Zhang To: dev@dpdk.org Date: Tue, 30 Sep 2014 14:20:22 +0800 Message-Id: <1412058028-10971-2-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1412058028-10971-1-git-send-email-helin.zhang@intel.com> References: <1412058028-10971-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH v3 1/7] ethdev: add more annotations 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: Tue, 30 Sep 2014 06:13:59 -0000 Add more annotations about packet classification type. v3 changes: * Remove renamings of RSS 'SHIFT's. * Add more annotations for RSS 'SHIFT's. Signed-off-by: Helin Zhang Acked-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index bbc6022..ad7b9d4 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -334,7 +334,10 @@ struct rte_eth_rss_conf { uint64_t rss_hf; /**< Hash functions to apply - see below. */ }; -/* Supported RSS offloads */ +/* + * Supported RSS offloads, below '_SHIFT' can also be used to represent + * the 'Packet Classification type (pctype)'. + */ /* for 1G & 10G */ #define ETH_RSS_IPV4_SHIFT 0 #define ETH_RSS_IPV4_TCP_SHIFT 1 -- 1.8.1.4