DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/2] net/mlx4: fix function prototypes
@ 2017-11-02 18:14 Adrien Mazarguil
  2017-11-02 18:14 ` [dpdk-dev] [PATCH 2/2] net/mlx4: share memory region resources Adrien Mazarguil
  0 siblings, 1 reply; 2+ messages in thread
From: Adrien Mazarguil @ 2017-11-02 18:14 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: Matan Azrad, Ophir Munk, dev

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(-)

diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c
index 7fe21b6..ee1e7a9 100644
--- a/drivers/net/mlx4/mlx4_rxq.c
+++ b/drivers/net/mlx4/mlx4_rxq.c
@@ -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;
-- 
2.1.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-02 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 18:14 [dpdk-dev] [PATCH 1/2] net/mlx4: fix function prototypes Adrien Mazarguil
2017-11-02 18:14 ` [dpdk-dev] [PATCH 2/2] net/mlx4: share memory region resources Adrien Mazarguil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).