git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e07acb
)
net/sfc: reset RSS channels back to 0 on close
author
Andrew Rybchenko
<arybchenko@solarflare.com>
Tue, 18 Apr 2017 13:03:06 +0000
(14:03 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000
(15:37 +0200)
Fixes:
4ec1fc3ba881
("net/sfc: add basic stubs for RSS support on driver attach")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
drivers/net/sfc/sfc_rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/sfc_rx.c
b/drivers/net/sfc/sfc_rx.c
index
ddf9217
..
9f512d9
100644
(file)
--- 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;
}