[dpdk-dev,1/2] net/mlx4: fix function prototypes
Checks
Commit Message
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 <adrien.mazarguil@6wind.com>
---
drivers/net/mlx4/mlx4_rxq.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
@@ -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;