From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f179.google.com (mail-wj0-f179.google.com [209.85.210.179]) by dpdk.org (Postfix) with ESMTP id 58965378E for ; Thu, 24 Nov 2016 17:04:05 +0100 (CET) Received: by mail-wj0-f179.google.com with SMTP id v7so36807239wjy.2 for ; Thu, 24 Nov 2016 08:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=TGTNWRruaSYM9VWFAJ3ZPwU/bGmvgUkbUNKTDkb6iZ4=; b=O7T+nGokTkjM5hZ9oC0uvOk6tMGZAtEIps/R/c1HIwmDUWUAPKvi3vVIJTWMfoVR53 uDwRheXrHlSMDB3Qjm33ec2WzkbAm00xVBm8ZwynYeR23w2XUB/+WM+L3VNi2dIyXURu C5mZhsuAStgkahYzjDYbsN5oMrex1S/UlJpOFq0axlpUmuulzxMZXz44tqk+j2jUzW08 LAX0eZXRH+eOy6rSynAGu43NZo9u7antFvwyulR5AZfyRTaxLMC2pnr8Ed22japCmfzl roJvhPWCQ8jBGu838R4VXUeLVKbr1nZH7IvPKEBgVYd6Q2ijZR5emdFubY80xxiLsraN 6zQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=TGTNWRruaSYM9VWFAJ3ZPwU/bGmvgUkbUNKTDkb6iZ4=; b=MVrs2rCNsNyLK3uZDZjJ7Ek+6CViOszRfAHieoo3nhsbt8syh67i/G2aFxPRMMXY1R QK3zw2xxdp+W+lfqqVhxGhl1axTUyo8BHdMU0Ovir/4/NjOgjnHl04oFDhhfCt4mYmCH FuWdUw5fuGG9BWLys1uTZO++d8nc2AH8Qux96vVMIxBGWSDwnf2XklBvpTji/S5iGSt/ UxsBDoZZb7JmdVybwEkteobapfgvdPUJQmfyopkICs74wbyrmlcT0N5gRIyQG26jX0De 2RyJcTpY1lCt8eFhY+ZgZpt1o4Wz3+MQcsm8U/oueE3aRX9FfZyf/6z06p+WhWFZ3nAb CbCg== X-Gm-Message-State: AKaTC02qbXsHJVn+3kbv6Mmi/k6MGO+SXlJ1acvld7cQKwi8r5KGYnLIT09/OwOGp1lAnjpR X-Received: by 10.194.14.196 with SMTP id r4mr3487588wjc.54.1480003444934; Thu, 24 Nov 2016 08:04:04 -0800 (PST) Received: from ping.vm.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id vr9sm42495142wjc.35.2016.11.24.08.04.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Nov 2016 08:04:04 -0800 (PST) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Thomas Monjalon , Adrien Mazarguil Date: Thu, 24 Nov 2016 17:03:34 +0100 Message-Id: <45ed5e89b51689b83d2410861e3577fc262df759.1479995764.git.nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH 5/7] net/mlx5: move static prototype X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2016 16:04:05 -0000 Gather function prototypes at the beginning of the file. Signed-off-by: Nelio Laranjeiro Acked-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5_rxtx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c index 52733da..0d0b807 100644 --- a/drivers/net/mlx5/mlx5_rxtx.c +++ b/drivers/net/mlx5/mlx5_rxtx.c @@ -76,6 +76,9 @@ check_cqe(volatile struct mlx5_cqe *cqe, unsigned int cqes_n, const uint16_t ci) __attribute__((always_inline)); +static inline void +txq_complete(struct txq *txq) __attribute__((always_inline)); + static inline uint32_t txq_mp2mr(struct txq *txq, struct rte_mempool *mp) __attribute__((always_inline)); @@ -192,9 +195,6 @@ tx_mlx5_wqe(struct txq *txq, uint16_t ci) return (uintptr_t *)((uintptr_t)txq->wqes + ci * MLX5_WQE_SIZE); } -static inline void -txq_complete(struct txq *txq) __attribute__((always_inline)); - /** * Manage TX completions. * -- 2.1.4