From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 43F121B61E for ; Thu, 2 Nov 2017 19:14:32 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id m72so707799wmc.1 for ; Thu, 02 Nov 2017 11:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=bh0QctOR/FA8vizo1m5ebZTiEpiIX9gKfgVexybSPrs=; b=elSl6ibNNs4HW3vC4FsZwb7Z779ib6SOLvWyH3NiapNchzLDc8+7szSbf/EOZ90JV9 Bi4XNLZ1vDQrWFkcHHMD5UqbV8059ho7BONAPwEJofFwmpRmCm/5bzymqw6iiWkZe7Yk U302KKumOHvcQPslU+MuXWa3E2e4o5q0OaqRd4lNPYpC/Z8zTmYYkSP7QBSkh8JcTvnm 7Fpvn5X9dKH9daiy4/zb13UJnu+VT9HnDyraDrz8DMLPnEdfziYiWEPPg143xA6gTW/5 XQm+lUdFh/iGbofX8nUm4b7ZbFvazh0pqPpm0gzE9EOejy9AJ/08mIwMPr2C6G6rWZNY GdlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=bh0QctOR/FA8vizo1m5ebZTiEpiIX9gKfgVexybSPrs=; b=joL0kWHnZEN3tccRM5FqAy7MPZooSMGUAezglYHTiJBBF6T2eRRPo1sFgsNydy1R68 QAm+vJrQYpm92kl3K/KXJy3M3s9W90nnpmWdK9/BlPJqI4BnifTOZQoV4R7WiqRMiXLW nNXU6aUhJEqeuSPEEx5mLnzR2xqrvtuXGbN0gcWZ/mqYUCQFfOcRDpHh1oz9N7nc9KfD O7k3C3yS9keK4JU6+pmVqttl2bj3qc5x2f1YSxF3iJz8yr3BFZgqiu6CUJ6xVUGjKqqb Zp1M6ZW6B1tIGSbxlFhfHMHmkTx4J3l0ZXiwyoFZYYpzcBkc02XAX3csxChlLM3ySxjS r7AA== X-Gm-Message-State: AMCzsaWgJlcepdH4JW3adG+An1qb84FxyW8VZjA2OKl3WlmfXEtgphwc DdxacX97UdchlbpAwN3oWXDYrA== X-Google-Smtp-Source: ABhQp+S2Jh3qQN5QYAp6g7dM7kaNsPO2kYFuGMOAoKqkjEduUS7KgBybOHltVqB3A6ib0RVMfNXxOw== X-Received: by 10.28.236.203 with SMTP id h72mr2568561wmi.147.1509646471911; Thu, 02 Nov 2017 11:14:31 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 195sm5581949wmj.3.2017.11.02.11.14.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Nov 2017 11:14:31 -0700 (PDT) Date: Thu, 2 Nov 2017 19:14:19 +0100 From: Adrien Mazarguil To: Ferruh Yigit Cc: Matan Azrad , Ophir Munk , dev@dpdk.org Message-ID: <1509646077-32147-1-git-send-email-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH 1/2] net/mlx4: fix function prototypes 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: , X-List-Received-Date: Thu, 02 Nov 2017 18:14:32 -0000 This is done for consistency with the rest of the code. Fixes: 078b8b452e6b ("net/mlx4: add RSS flow rule action support") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_rxq.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c index 7fe21b6..ee1e7a9 100644 --- a/drivers/net/mlx4/mlx4_rxq.c +++ b/drivers/net/mlx4/mlx4_rxq.c @@ -164,7 +164,8 @@ mlx4_rss_get(struct priv *priv, uint64_t fields, * @param rss * RSS context to release. */ -void mlx4_rss_put(struct mlx4_rss *rss) +void +mlx4_rss_put(struct mlx4_rss *rss) { assert(rss->refcnt); if (--rss->refcnt) @@ -190,7 +191,8 @@ void mlx4_rss_put(struct mlx4_rss *rss) * @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ -int mlx4_rss_attach(struct mlx4_rss *rss) +int +mlx4_rss_attach(struct mlx4_rss *rss) { assert(rss->refcnt); if (rss->usecnt++) { @@ -312,7 +314,8 @@ int mlx4_rss_attach(struct mlx4_rss *rss) * @param rss * RSS context to detach from. */ -void mlx4_rss_detach(struct mlx4_rss *rss) +void +mlx4_rss_detach(struct mlx4_rss *rss) { struct priv *priv = rss->priv; unsigned int i; -- 2.1.4