i40e: full VMDQ pools support
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Tue, 4 Nov 2014 10:01:29 +0000 (18:01 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 4 Nov 2014 23:21:34 +0000 (00:21 +0100)
commitb6583ee402656ea86c8a3b92e009a99e13726781
tree74a4a92ff82671c02f7a222bab606ad98fc4d8d4
parent4805ed59e9575eff296e7e9d2009ef2fcf46f9c6
i40e: full VMDQ pools support

1. Function i40e_vsi_* name change to i40e_dev_* since PF can contains
   more than 1 VSI after VMDQ enabled.
2. i40e_dev_rx/tx_queue_setup change to have capability of setup
   queues that belongs to VMDQ pools.
3. Add queue mapping. This will do a convertion between queue index
   that application used and real NIC queue index.
3. i40e_dev_start/stop change to have capability switching VMDQ queues.
4. i40e_pf_config_rss change to calculate actual main VSI queue numbers
   after VMDQ pools introduced.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c
lib/librte_pmd_i40e/i40e_ethdev.h
lib/librte_pmd_i40e/i40e_rxtx.c