]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix bit definitions and add support for testing for ipsec support
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 5 Jun 2018 15:11:14 +0000 (11:11 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 11 Jun 2018 15:50:51 +0000 (08:50 -0700)
commitd1f5bbb6f36ba8c64c567a34107e48ecfab81c44
tree4a3c18b69719f0600c30c8812f007d3893e6bbc6
parent3be6f9a48685185d85403b5c77f215ce88928b5b
ixgbe: Fix bit definitions and add support for testing for ipsec support

This patch addresses two issues. First it adds the correct bit definitions
for the SECTXSTAT and SECRXSTAT registers. Then it makes use of those
definitions to test for if IPsec has been disabled on the part and if so we
do not enable it.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Reported-by: Andre Tomt <andre@tomt.net>
Acked-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h