ixgbe: Use CONFIG_XFRM_OFFLOAD instead of CONFIG_XFRM
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 4 Jun 2018 20:51:20 +0000 (16:51 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 11 Jun 2018 15:25:48 +0000 (08:25 -0700)
commite433f3a5e272625c166d780f79ecc8fe456a5fc9
tree513010720c8719f08e89ce8663f06e5fc2aa0f06
parent646bb57ce86e4d7b0bd9d33244450ae009411e48
ixgbe: Use CONFIG_XFRM_OFFLOAD instead of CONFIG_XFRM

There is no point in adding code if CONFIG_XFRM is defined that we won't
use unless CONFIG_XFRM_OFFLOAD is defined. So instead of leaving this code
floating around I am replacing the ifdef with what I believe is the correct
one so that we only include the code and variables if they will actually be
used.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
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.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c