i40e: fix flow director
authorJingjing Wu <jingjing.wu@intel.com>
Wed, 25 Mar 2015 21:38:12 +0000 (05:38 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 26 Mar 2015 21:27:52 +0000 (22:27 +0100)
commit891121d8912336b30df9a6561d0c2b6b444d2873
tree217f1dc1bfb7a8aeadb23dc0cca397224f98f15d
parent817c579c2560075c86ce2e113ff8466d9fe2f240
i40e: fix flow director

This patch sets the local variable ctxt to zero to avoid uncertain
data causes error when creating a vsi for flow director.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c