As e1000, ixgbe and i40e hardware use different sizes of redirection table in PF or VF, ethdev and PMDs need to be reworked to support multiple sizes of that table. In addition, commands in testpmd also need to be reworked to support these changes.
v2 changes: * Reorganize the patches. * Add code style fixes. * Add support of reta updating/querying in i40e VF. Helin Zhang (13): app/testpmd: code style fix i40evf: code style fix ethdev: add more annotation ethdev: support of multiple sizes of redirection table igb: add new function for VF ops of 'dev_infos_get' igb: rework of updating/querying reta ixgbe: add new function for VF ops of 'dev_infos_get' ixgbe: rework of updating/querying reta i40e: support of setting hash lookup table size i40e: support of getting redirection table size i40e: rework of updating/querying reta i40evf: support of updating/querying redirection table app/testpmd: rework of commands for updating/querying reta app/test-pmd/cmdline.c | 166 +++++++++++++++++++++++++---------- app/test-pmd/config.c | 37 ++++---- app/test-pmd/testpmd.h | 4 +- lib/librte_ether/rte_ethdev.c | 116 ++++++++++++++---------- lib/librte_ether/rte_ethdev.h | 46 ++++++---- lib/librte_pmd_e1000/igb_ethdev.c | 151 +++++++++++++++++-------------- lib/librte_pmd_i40e/i40e_ethdev.c | 108 ++++++++++++++--------- lib/librte_pmd_i40e/i40e_ethdev.h | 13 +++ lib/librte_pmd_i40e/i40e_ethdev_vf.c | 103 +++++++++++++++++++++- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 144 ++++++++++++++++++------------ 10 files changed, 598 insertions(+), 290 deletions(-) -- 1.8.1.4