From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 9A9489AC6 for ; Wed, 8 Jun 2016 11:44:41 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id n184so173045511wmn.1 for ; Wed, 08 Jun 2016 02:44:41 -0700 (PDT) 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; bh=i0zjyJDfSnpgDFgwMJfFYXsm9NCXFAAhWjCKLxXOa78=; b=Ru71Yo00GIPtmaNvRxiExJqxyBq89oK3ocpakb8jiNQz3CLtJvV+QgYKc96xVFl4Td VyANpJhgsHgYvN3oEe8dVbwsEzNG9kLL8vimFq9zhh2H8Cc+94hTFOJ5JbE51tmiki9m EdeOzSKITOuz8ccD6pt4QTLW889mDhPWjXiEAjUC2aUVuNXflxvCD37HoO+SrOu4yGFT iVcLRK0Zje6nNNiEvzUkI6OsTyVS2YVOaDH3lFaCdX21Md6ff3v/r48zbGZFT7vpNVoO Uc3njsN+kPocS5iuwHe/LQsm1uxLGvKFgN9ad2AaWTrAgkJQNcosiNLh6mkQOdRiERss UW2A== 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; bh=i0zjyJDfSnpgDFgwMJfFYXsm9NCXFAAhWjCKLxXOa78=; b=ay6G24CxhJYh0ylehe6P1YsVpiOIfdJRJP66ZX47chItluXBQgsZL9rD4sZPb/K/g0 Bay1ta2/BEATcXL0w2ZRY8D2GnMFOExndk4Ge+8dEhH0UlW19dlGxviDV4/K0DmFLtJS esm2cfgRE8adoRhTn684FdIIY2AvyHYqtMaPty0bGRUaz4t4rYEreuvGEvPYct7x0AKk 2POGWnB6gFxEwQPBKA20DiLHjsg3sz/CF4GR+kRd57FuaPstJsWoJd2mVCWUxy8kSrow E40V+vP6ZBjEDznufnUwWr6cN3VPCVCzg92mDBvngrI+d8FZnlJ5wfRphz1HbHHcXFYe 5stw== X-Gm-Message-State: ALyK8tLG+3ztz2AXTUX3o89rfvkqHe/cX6akzUSAmf5DsJdGsdhNy+YCWWYUD7Z3nFm4xW62 X-Received: by 10.28.102.196 with SMTP id a187mr3658079wmc.99.1465379081440; Wed, 08 Jun 2016 02:44:41 -0700 (PDT) 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 xw8sm479085wjb.30.2016.06.08.02.44.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Jun 2016 02:44:41 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Adrien Mazarguil Date: Wed, 8 Jun 2016 11:43:29 +0200 Message-Id: <1465379011-24646-6-git-send-email-nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1465379011-24646-1-git-send-email-nelio.laranjeiro@6wind.com> References: <1465379011-24646-1-git-send-email-nelio.laranjeiro@6wind.com> Subject: [dpdk-dev] [PATCH 5/7] mlx5: cosmetic changes (coding style) 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: Wed, 08 Jun 2016 09:44:41 -0000 From: Adrien Mazarguil Add consistency to mlx5_rxtx.h. Signed-off-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5_rxtx.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h index dd3003c..47f6299 100644 --- a/drivers/net/mlx5/mlx5_rxtx.h +++ b/drivers/net/mlx5/mlx5_rxtx.h @@ -231,7 +231,8 @@ struct hash_rxq { struct ibv_qp *qp; /* Hash RX QP. */ enum hash_rxq_type type; /* Hash RX queue type. */ /* MAC flow steering rules, one per VLAN ID. */ - struct ibv_exp_flow *mac_flow[MLX5_MAX_MAC_ADDRESSES][MLX5_MAX_VLAN_IDS]; + struct ibv_exp_flow *mac_flow + [MLX5_MAX_MAC_ADDRESSES][MLX5_MAX_VLAN_IDS]; struct ibv_exp_flow *special_flow [MLX5_MAX_SPECIAL_FLOWS][MLX5_MAX_VLAN_IDS]; }; @@ -322,21 +323,17 @@ int rxq_setup(struct rte_eth_dev *, struct rxq *, uint16_t, unsigned int, int mlx5_rx_queue_setup(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_rxconf *, struct rte_mempool *); void mlx5_rx_queue_release(void *); -uint16_t mlx5_rx_burst_secondary_setup(void *dpdk_rxq, struct rte_mbuf **pkts, - uint16_t pkts_n); - +uint16_t mlx5_rx_burst_secondary_setup(void *, struct rte_mbuf **, uint16_t); /* mlx5_txq.c */ void txq_cleanup(struct txq *); -int txq_setup(struct rte_eth_dev *dev, struct txq *txq, uint16_t desc, - unsigned int socket, const struct rte_eth_txconf *conf); - +int txq_setup(struct rte_eth_dev *, struct txq *, uint16_t, unsigned int, + const struct rte_eth_txconf *); int mlx5_tx_queue_setup(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *); void mlx5_tx_queue_release(void *); -uint16_t mlx5_tx_burst_secondary_setup(void *dpdk_txq, struct rte_mbuf **pkts, - uint16_t pkts_n); +uint16_t mlx5_tx_burst_secondary_setup(void *, struct rte_mbuf **, uint16_t); /* mlx5_rxtx.c */ -- 2.1.4