enic: remove use of rte_fdir_filter for key_len
PATCH 1/1 enic: remove use of rte_fdir_filter for key_len
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 <[email protected]>
--- lib/librte_pmd_enic/enic.h | 4 ++-- lib/librte_pmd_enic/enic_clsf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
lib/librte_pmd_enic/enic.h +2 -2
@@ -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
lib/librte_pmd_enic/enic_clsf.c +1 -1
@@ -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,
Signature · 1 line
1.9.1
A message that is not in the archive (sent off-list or not yet received): 1429595488-15992-1-git-send-email-ssujith-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org
Thomas Monjalon
AppliedQuoted 4 lines
This patch removes the use of
rte_fdir_filterfromenic_clsf. This also takes care of modifying the version and copyright string.Signed-off-by Sujith Sankar <[email protected]>
Applied, thanks