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 9207FA04AF; Sun, 3 May 2020 12:05:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0C8241D539; Sun, 3 May 2020 12:05:03 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 88B861D531 for ; Sun, 3 May 2020 12:05:01 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from elibr@mellanox.com) with ESMTPS (AES256-SHA encrypted); 3 May 2020 13:05:00 +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 043A50Ft006350; Sun, 3 May 2020 13:05:00 +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:04:45 +0000 Message-Id: <20200503100447.9869-1-elibr@mellanox.com> X-Mailer: git-send-email 2.14.5 Subject: [dpdk-dev] [PATCH 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 | 89 +++++++++++++++++++++++++++++++---------- 1 file changed, 67 insertions(+), 22 deletions(-) -- 2.14.5