From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bgl-iport-3.cisco.com (bgl-iport-3.cisco.com [72.163.197.27]) by dpdk.org (Postfix) with ESMTP id F29615A52 for ; Tue, 21 Apr 2015 07:53:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1433; q=dns/txt; s=iport; t=1429595638; x=1430805238; h=from:to:cc:subject:date:message-id; bh=Bzo5qZlvMCjZRsCHTPeov/FMN2MIEcgMDck+js1kazg=; b=QKgj/OW04I15GoCdlU2O0HPZdoBoewxJ3EqyPVeEDhwCw6hzgZJaMP4M knJc5k+B18BJ4pQEkq2NjV0cBrglz/MrYjSwTRnzyoJkoQ/qMZ+QmX6Am TiZJOmMi1C/EfXjLXUN3gwBIsVJQb+Q6BLI9R2ORJBjdwWBcErk/BDsZu Y=; X-IronPort-AV: E=Sophos;i="5.11,614,1422921600"; d="scan'208";a="16870797" Received: from vla196-nat.cisco.com (HELO bgl-core-2.cisco.com) ([72.163.197.24]) by bgl-iport-3.cisco.com with ESMTP; 21 Apr 2015 05:53:56 +0000 Received: from localhost ([10.106.186.168]) (authenticated bits=0) by bgl-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id t3L5rr16004698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 21 Apr 2015 05:53:56 GMT From: Sujith Sankar To: dev@dpdk.org Date: Tue, 21 Apr 2015 11:21:28 +0530 Message-Id: <1429595488-15992-1-git-send-email-ssujith@cisco.com> X-Mailer: git-send-email 1.9.1 X-Authenticated-User: ssujith@cisco.com Subject: [dpdk-dev] [PATCH] enic: remove use of rte_fdir_filter for key_len 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, 21 Apr 2015 05:53:58 -0000 This patch removes the use of rte_fdir_filter from enic_clsf. This also takes care of modifying the version and copyright string. Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h | 4 ++-- lib/librte_pmd_enic/enic_clsf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_pmd_enic/enic.h b/lib/librte_pmd_enic/enic.h index 7528d7d..1417b0c 100644 --- a/lib/librte_pmd_enic/enic.h +++ b/lib/librte_pmd_enic/enic.h @@ -49,8 +49,8 @@ #define DRV_NAME "enic_pmd" #define DRV_DESCRIPTION "Cisco VIC Ethernet NIC Poll-mode Driver" -#define DRV_VERSION "1.0.0.4" -#define DRV_COPYRIGHT "Copyright 2008-2014 Cisco Systems, Inc" +#define DRV_VERSION "1.0.0.5" +#define DRV_COPYRIGHT "Copyright 2008-2015 Cisco Systems, Inc" #define ENIC_WQ_MAX 8 #define ENIC_RQ_MAX 8 diff --git a/lib/librte_pmd_enic/enic_clsf.c b/lib/librte_pmd_enic/enic_clsf.c index 937723e..ca12d2d 100644 --- a/lib/librte_pmd_enic/enic_clsf.c +++ b/lib/librte_pmd_enic/enic_clsf.c @@ -246,7 +246,7 @@ int enic_clsf_init(struct enic *enic) .name = "enicpmd_clsf_hash", .entries = ENICPMD_CLSF_HASH_ENTRIES, .bucket_entries = ENICPMD_CLSF_BUCKET_ENTRIES, - .key_len = sizeof(struct rte_fdir_filter), + .key_len = RTE_HASH_KEY_LENGTH_MAX, .hash_func = DEFAULT_HASH_FUNC, .hash_func_init_val = 0, .socket_id = SOCKET_0, -- 1.9.1