net/ixgbe: check driver type in MACsec API
authorGuinan Sun <guinanx.sun@intel.com>
Fri, 22 May 2020 05:59:55 +0000 (05:59 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 22 May 2020 16:02:52 +0000 (18:02 +0200)
commitdd8384a4f5dd7e04cd3bc7ded0f0a6d9c79d25b4
tree496391f9fae71c8392cb053b70bfd241c58f7105
parentbe4ef2e0d09d5179e22d7574850d707d13713a87
net/ixgbe: check driver type in MACsec API

The driver type need to be checked in private API.

Fixes: 50556c88104c ("net/ixgbe: fix MACsec setting")
Cc: stable@dpdk.org
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/ixgbe/rte_pmd_ixgbe.c