net/qede: fix tunnel parameters init
authorHarish Patil <harish.patil@cavium.com>
Wed, 7 Feb 2018 21:51:01 +0000 (13:51 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Feb 2018 17:42:14 +0000 (18:42 +0100)
commit7cf0f1024016c928bc833b91ec435677fced99fa
treeb330d476548fd2b28bade22865556cc482c5eb5d
parent282da936f9ecc7ea60a7f48729af97e25c447fe6
net/qede: fix tunnel parameters init

Add the missing VF check to initialize tunnel params correctly.

Fixes: dd28bc8c6ef4 ("net/qede: fix VF port creation sequence")
Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@cavium.com>
drivers/net/qede/qede_ethdev.c