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/dpaa2: support raw pattern in dpdmux
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_dcb.c
diff --git
a/drivers/net/hns3/hns3_dcb.c
b/drivers/net/hns3/hns3_dcb.c
index
5aa374c
..
7fc6ac9
100644
(file)
--- a/
drivers/net/hns3/hns3_dcb.c
+++ b/
drivers/net/hns3/hns3_dcb.c
@@
-644,7
+644,7
@@
hns3_set_rss_size(struct hns3_hw *hw, uint16_t nb_rx_q)
* stage of the reset process.
*/
if (__atomic_load_n(&hw->reset.resetting, __ATOMIC_RELAXED) == 0) {
* stage of the reset process.
*/
if (__atomic_load_n(&hw->reset.resetting, __ATOMIC_RELAXED) == 0) {
- for (i = 0; i <
HNS3_RSS_IND_TBL_SIZE
; i++)
+ for (i = 0; i <
hw->rss_ind_tbl_size
; i++)
rss_cfg->rss_indirection_tbl[i] =
i % hw->alloc_rss_size;
}
rss_cfg->rss_indirection_tbl[i] =
i % hw->alloc_rss_size;
}