From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44236C04A6B for ; Wed, 8 May 2019 08:35:54 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 05B4A2053B for ; Wed, 8 May 2019 08:35:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05B4A2053B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B1AF0374C; Wed, 8 May 2019 10:35:52 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id E747A2C2B for ; Wed, 8 May 2019 10:35:50 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from dekelp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 8 May 2019 11:32:35 +0300 Received: from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx [10.128.130.87]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x488WZC6008121; Wed, 8 May 2019 11:32:35 +0300 From: Dekel Peled To: yskoh@mellanox.com, shahafs@mellanox.com Cc: dev@dpdk.org Date: Wed, 8 May 2019 11:29:37 +0300 Message-Id: X-Mailer: git-send-email 1.7.1 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v4 0/4] net/mlx5: code cleanup in rx and tx files 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" During work on Rx feature I did some cleanup actions. This series includes those changes divided by their type. --- v2: Change 2nd patch type to "fix". v3: Apply minor code-review comment on 2nd patch. Add Acked-by in all patches. v4: Fix compilaton issue in 4th patch. --- Dekel Peled (4): net/mlx5: remove unused functions net/mlx5: fix missing validation of null pointer net/mlx5: fix description of function return value net/mlx5: move locally used functions to static drivers/net/mlx5/mlx5_rxq.c | 218 +++++++++++++++++++------------------------ drivers/net/mlx5/mlx5_rxtx.h | 19 ---- drivers/net/mlx5/mlx5_txq.c | 13 --- 3 files changed, 94 insertions(+), 156 deletions(-) -- 1.8.3.1