net/mlx5: fix API comment of link set function
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 4 Jul 2016 08:24:18 +0000 (10:24 +0200)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 5 Jul 2016 09:55:47 +0000 (11:55 +0200)
Fixes: 62072098b54e ("mlx5: support setting link up or down")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_ethdev.c

index 6fef902..130e15d 100644 (file)
@@ -1150,7 +1150,7 @@ priv_dev_interrupt_handler_install(struct priv *priv, struct rte_eth_dev *dev)
 /**
  * Change the link state (UP / DOWN).
  *
- * @param dev
+ * @param priv
  *   Pointer to Ethernet device structure.
  * @param up
  *   Nonzero for link up, otherwise link down.