From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (unknown [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 7AC6C2C0F for ; Wed, 30 Mar 2016 17:27:26 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yaacovh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 30 Mar 2016 17:27:13 +0200 Received: from r-aa-dragon13.mtr.labs.mlnx (r-aa-dragon13.mtr.labs.mlnx [10.209.68.153]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id u2UFRDiv010444; Wed, 30 Mar 2016 18:27:13 +0300 Received: from r-aa-dragon13.mtr.labs.mlnx (localhost [127.0.0.1]) by r-aa-dragon13.mtr.labs.mlnx (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u2UFRUkI018419; Wed, 30 Mar 2016 18:27:30 +0300 Received: (from yaacovh@localhost) by r-aa-dragon13.mtr.labs.mlnx (8.14.4/8.14.4/Submit) id u2UFRUhm018418; Wed, 30 Mar 2016 18:27:30 +0300 From: Yaacov Hazan To: dev@dpdk.org Cc: Yaacov Hazan Date: Wed, 30 Mar 2016 18:27:19 +0300 Message-Id: <1459351639-18375-1-git-send-email-yaacovh@mellanox.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] mlx5: fix RETA table size 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: Wed, 30 Mar 2016 15:27:26 -0000 Change RETA table size to use 256 entries for better performance. Fixes: ebb30ec64a68 ("mlx5: increase RETA table size") Signed-off-by: Yaacov Hazan --- drivers/net/mlx5/mlx5_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h index 195440c..09207d9 100644 --- a/drivers/net/mlx5/mlx5_defs.h +++ b/drivers/net/mlx5/mlx5_defs.h @@ -52,7 +52,7 @@ #define MLX5_PMD_TX_PER_COMP_REQ 64 /* RSS Indirection table size. */ -#define RSS_INDIRECTION_TABLE_SIZE 512 +#define RSS_INDIRECTION_TABLE_SIZE 256 /* Maximum number of Scatter/Gather Elements per Work Request. */ #ifndef MLX5_PMD_SGE_WR_N -- 1.9.1