From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id 3A7905930 for ; Thu, 24 Jul 2014 08:41:15 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 23 Jul 2014 23:42:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,722,1400050800"; d="scan'208";a="460749024" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by azsmga001.ch.intel.com with ESMTP; 23 Jul 2014 23:42:35 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s6O6gXYG017092; Thu, 24 Jul 2014 14:42: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 s6O6gUW0011640; Thu, 24 Jul 2014 14:42:32 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s6O6gU0X011636; Thu, 24 Jul 2014 14:42:30 +0800 From: Helin Zhang To: dev@dpdk.org Date: Thu, 24 Jul 2014 14:42:24 +0800 Message-Id: <1406184149-11531-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH 0/5] Support configuring hash functions 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 Jul 2014 06:41:15 -0000 These pathches mainly support configuring hash functions. In detail, it can select Toeplitz and simple XOR hash functions. It can configure symmetric hash function. Also 'ethdev' level interfaces are implemented in i40e, which provides commands for application invoking, and to check if specific capability (command) is supported on a port. Helin Zhang (5): ethdev: Rename macros of packet classification type ethdev: add new ops of 'check_command_supported' and 'rx_classification_filter_ctl' i40e: support selecting hash functions i40e: support configuring symmetric hash function app/testpmd: new commands for configuring hash functions app/test-pmd/cmdline.c | 455 ++++++++++++++++++++++++++++++++++++ config/common_bsdapp | 1 + config/common_linuxapp | 1 + lib/librte_ether/Makefile | 1 + lib/librte_ether/rte_eth_features.h | 65 ++++++ lib/librte_ether/rte_ethdev.c | 31 +++ lib/librte_ether/rte_ethdev.h | 126 +++++++--- lib/librte_pmd_i40e/Makefile | 6 + lib/librte_pmd_i40e/i40e_ethdev.c | 439 ++++++++++++++++++++++++++++++++++ lib/librte_pmd_i40e/rte_i40e.h | 95 ++++++++ 10 files changed, 1183 insertions(+), 37 deletions(-) create mode 100644 lib/librte_ether/rte_eth_features.h create mode 100644 lib/librte_pmd_i40e/rte_i40e.h -- 1.8.1.4