DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/3] net/sfc: reset RSS channels back to 0 on close
@ 2017-04-18 13:03 Andrew Rybchenko
  2017-04-18 13:03 ` [dpdk-dev] [PATCH 2/3] net/sfc: use zero RSS channels as disabled RSS indicator Andrew Rybchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrew Rybchenko @ 2017-04-18 13:03 UTC (permalink / raw)
  To: dev

Fixes: 4ec1fc3ba881 ("net/sfc: add basic stubs for RSS support on driver attach")

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
---
 drivers/net/sfc/sfc_rx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/sfc/sfc_rx.c b/drivers/net/sfc/sfc_rx.c
index ddf9217..9f512d9 100644
--- a/drivers/net/sfc/sfc_rx.c
+++ b/drivers/net/sfc/sfc_rx.c
@@ -1320,6 +1320,8 @@ sfc_rx_close(struct sfc_adapter *sa)
 {
 	sfc_rx_fini_queues(sa, 0);
 
+	sa->rss_channels = 0;
+
 	rte_free(sa->rxq_info);
 	sa->rxq_info = NULL;
 }
-- 
2.7.4

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

end of thread, other threads:[~2017-04-18 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-18 13:03 [dpdk-dev] [PATCH 1/3] net/sfc: reset RSS channels back to 0 on close Andrew Rybchenko
2017-04-18 13:03 ` [dpdk-dev] [PATCH 2/3] net/sfc: use zero RSS channels as disabled RSS indicator Andrew Rybchenko
2017-04-18 13:03 ` [dpdk-dev] [PATCH 3/3] net/sfc: correct RSS hash availability condition Andrew Rybchenko
2017-04-18 16:32 ` [dpdk-dev] [PATCH 1/3] net/sfc: reset RSS channels back to 0 on close Ferruh Yigit

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