i40e: fix vsi configuration
authorJingjing Wu <jingjing.wu@intel.com>
Thu, 29 Jan 2015 01:41:54 +0000 (09:41 +0800)
committerHelin Zhang <helin.zhang@intel.com>
Sun, 15 Feb 2015 06:39:12 +0000 (07:39 +0100)
commitac9491a96d86fc104a1d64a22387a56060077ac1
tree6717a3d9d4ddc640e343cefcd80a0b5dfbd183b3
parentc9223a2bf53c684551788f9023e5bc59e98f08bf
i40e: fix vsi configuration

In i40e_vsi_config_tc_queue_mapping, should add a flag to indicate
another valid setting by OR operation, but not set this flag to
valid_sections, otherwise it will overwrite the flags set before.

Test report: http://www.dpdk.org/ml/archives/dev/2015-February/013237.html

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c