summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_txq.c
diff options
context:
space:
mode:
authorNĂ©lio Laranjeiro <nelio.laranjeiro@6wind.com>2018-03-05 13:21:00 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2018-03-30 14:08:44 +0200
commitc9e88d35daf9a19bf9b653dd96c216be4a214d32 (patch)
tree6aa0c7ef382edf02decaaf67a94bbe28ae57e7a6 /drivers/net/mlx5/mlx5_txq.c
parent56f08e1671f99a15cf6b00027c2f7d81d69c4f5f (diff)
downloaddpdk-next-eventdev-c9e88d35daf9a19bf9b653dd96c216be4a214d32.zip
dpdk-next-eventdev-c9e88d35daf9a19bf9b653dd96c216be4a214d32.tar.gz
dpdk-next-eventdev-c9e88d35daf9a19bf9b653dd96c216be4a214d32.tar.xz
net/mlx5: normalize function prototypes
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_txq.c')
-rw-r--r--drivers/net/mlx5/mlx5_txq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
index 071d88a..1a508a4 100644
--- a/drivers/net/mlx5/mlx5_txq.c
+++ b/drivers/net/mlx5/mlx5_txq.c
@@ -369,7 +369,7 @@ is_empw_burst_func(eth_tx_burst_t tx_pkt_burst)
* @return
* The Verbs object initialised if it can be created.
*/
-struct mlx5_txq_ibv*
+struct mlx5_txq_ibv *
mlx5_priv_txq_ibv_new(struct priv *priv, uint16_t idx)
{
struct mlx5_txq_data *txq_data = (*priv->txqs)[idx];
@@ -547,7 +547,7 @@ error:
* @return
* The Verbs object if it exists.
*/
-struct mlx5_txq_ibv*
+struct mlx5_txq_ibv *
mlx5_priv_txq_ibv_get(struct priv *priv, uint16_t idx)
{
struct mlx5_txq_ctrl *txq_ctrl;
@@ -749,7 +749,7 @@ txq_set_params(struct mlx5_txq_ctrl *txq_ctrl)
* @return
* A DPDK queue object on success.
*/
-struct mlx5_txq_ctrl*
+struct mlx5_txq_ctrl *
mlx5_priv_txq_new(struct priv *priv, uint16_t idx, uint16_t desc,
unsigned int socket,
const struct rte_eth_txconf *conf)
@@ -794,7 +794,7 @@ mlx5_priv_txq_new(struct priv *priv, uint16_t idx, uint16_t desc,
* @return
* A pointer to the queue if it exists.
*/
-struct mlx5_txq_ctrl*
+struct mlx5_txq_ctrl *
mlx5_priv_txq_get(struct priv *priv, uint16_t idx)
{
struct mlx5_txq_ctrl *ctrl = NULL;