From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D5DAA04AF; Sun, 3 May 2020 12:48:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DDF4A1D546; Sun, 3 May 2020 12:48:04 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 6649D1D40D for ; Sun, 3 May 2020 12:48:02 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from elibr@mellanox.com) with ESMTPS (AES256-SHA encrypted); 3 May 2020 13:48:01 +0300 Received: from dev-r-vrt-215.mtr.labs.mlnx. (dev-r-vrt-215.mtr.labs.mlnx [10.212.215.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 043Am1O8024289; Sun, 3 May 2020 13:48:01 +0300 From: Eli Britstein To: dev@dpdk.org Cc: matan@mellanox.com, rasland@mellanox.com, orika@mellanox.com, viacheslavo@mellanox.com, Eli Britstein Date: Sun, 3 May 2020 10:47:53 +0000 Message-Id: <20200503104755.19545-1-elibr@mellanox.com> X-Mailer: git-send-email 2.14.5 Subject: [dpdk-dev] [PATCH V2 0/2] net/mlx5: optimize performance for IPv4/IPv6 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The HW is optimized for IPv4/IPv6. For such cases avoid matching on ethertype, and use ip_version field instead. Eli Britstein (2): net/mlx5: introduce a helper to set IP version match net/mlx5: optimize performance for IPv4/IPv6 ethertype drivers/net/mlx5/mlx5_flow_dv.c | 91 +++++++++++++++++++++++++++++++---------- 1 file changed, 69 insertions(+), 22 deletions(-) -- 2.14.5