i40e: enable internal switch of PF
authorJingjing Wu <jingjing.wu@intel.com>
Thu, 29 Jan 2015 01:41:55 +0000 (09:41 +0800)
committerHelin Zhang <helin.zhang@intel.com>
Sun, 15 Feb 2015 06:39:43 +0000 (07:39 +0100)
commit2ccabd8cd1f62f337ee9119542beeca9afe43154
tree318a233d27f1168814dfc63977cba6080d35528b
parentac9491a96d86fc104a1d64a22387a56060077ac1
i40e: enable internal switch of PF

This patch enables PF's internal switch by setting ALLOWLOOPBACK
flag when VEB is created. With this patch, traffic from PF can be
switched on the VEB.

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