net/i40e: fix exception with multi-driver
authorAlvin Zhang <alvinx.zhang@intel.com>
Tue, 8 Oct 2019 10:52:31 +0000 (18:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:20:47 +0000 (19:20 +0200)
commit39de80b267e05d6f3322044e5851306acc84f892
treefc10ff5333b4a65899fd8cfd15bd9ac8a4291676
parent16cbe5f469491cd7be324eb5d41b095b6774e93d
net/i40e: fix exception with multi-driver

If support-multi-driver is enabled, the global registers should not
be configured. But with the current code base, if creating a flow
with rte_flow API, the global register GLQF_FD_MSK may be changed.

Fixes: cfdfca493cae ("net/i40e: fix multiple driver support")
Cc: stable@dpdk.org
Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/i40e/i40e_flow.c