git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/sfc: specify correct scale table size on Rx start
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_rx.c
diff --git
a/drivers/net/sfc/sfc_rx.c
b/drivers/net/sfc/sfc_rx.c
index
1bf8644
..
364f718
100644
(file)
--- a/
drivers/net/sfc/sfc_rx.c
+++ b/
drivers/net/sfc/sfc_rx.c
@@
-1068,7
+1068,7
@@
sfc_rx_rss_config(struct sfc_adapter *sa)
goto finish;
rc = efx_rx_scale_tbl_set(sa->nic, sa->rss_tbl,
-
sizeof
(sa->rss_tbl));
+
RTE_DIM
(sa->rss_tbl));
}
finish: