From patchwork Mon Jan 13 09:29:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ori Kam X-Patchwork-Id: 64541 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EEEF0A04F0; Mon, 13 Jan 2020 10:30:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B6A9D1D5D0; Mon, 13 Jan 2020 10:30:06 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 235531C2F7 for ; Mon, 13 Jan 2020 10:30:05 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from orika@mellanox.com) with ESMTPS (AES256-SHA encrypted); 13 Jan 2020 11:30:03 +0200 Received: from pegasus03.mtr.labs.mlnx (pegasus03.mtr.labs.mlnx [10.210.16.124]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 00D9U3M2000700; Mon, 13 Jan 2020 11:30:03 +0200 From: Ori Kam To: Cc: dev@dpdk.org, orika@mellanox.com, ferruh.yigit@intel.com, viacheslavo@mellanox.com, matan@mellanox.com Date: Mon, 13 Jan 2020 09:29:34 +0000 Message-Id: <1578907777-194921-1-git-send-email-orika@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/2] net/mlx5: add PMD dynf 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" This patch-set uses the dynf feature to give the mlx5 pmd hint if inline is needed. The first patch,adds a generic way to regiter dynf and setting it in case of Tx packet. Ori Kam (2): app/testpmd: add dynamic flag support net/mlx5: add fine grain dynamic flag support app/test-pmd/cmdline.c | 88 +++++++++++++++++++++++++++++ app/test-pmd/testpmd.h | 16 ++++++ app/test-pmd/util.c | 63 +++++++++++++++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 10 ++++ drivers/net/mlx5/mlx5.c | 15 +++++ drivers/net/mlx5/mlx5_rxtx.c | 2 + drivers/net/mlx5/mlx5_rxtx.h | 3 + drivers/net/mlx5/mlx5_trigger.c | 8 +++ drivers/net/mlx5/rte_pmd_mlx5.h | 32 +++++++++++ drivers/net/mlx5/rte_pmd_mlx5_version.map | 7 +++ 10 files changed, 244 insertions(+) create mode 100644 drivers/net/mlx5/rte_pmd_mlx5.h