net/ixgbe: fix MACsec setting
authorGuinan Sun <guinanx.sun@intel.com>
Thu, 31 Oct 2019 11:31:52 +0000 (11:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commit50556c88104cbc0096e90f454dc137258be2099f
tree4d3bb98dba45e49c5104c80a1a666eb327e91e66
parentcc70e83dee91b11e3d9296e3b7dc310af2d6605f
net/ixgbe: fix MACsec setting

MACsec setting is not valid when port is stopped.
In order to make it valid, the patch changes the setting
to where port is started.

Fixes: 597f9fafe13b ("app/testpmd: convert to new Tx offloads API")
Cc: stable@dpdk.org
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.h
drivers/net/ixgbe/rte_pmd_ixgbe.c