[dpdk-dev,2/3] ethdev: change RETA type in rte_eth_rss_reta_entry64
Commit Message
From: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Several NICs can handle 512 entries in their RETA table, an 8 bit field is
not large enough for them.
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
---
lib/librte_ether/rte_ethdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -516,7 +516,7 @@ struct rte_eth_mirror_conf {
struct rte_eth_rss_reta_entry64 {
uint64_t mask;
/**< Mask bits indicate which entries need to be updated/queried. */
- uint8_t reta[RTE_RETA_GROUP_SIZE];
+ uint16_t reta[RTE_RETA_GROUP_SIZE];
/**< Group of 64 redirection table entries. */
};