OSDN Git Service

ixgbe: process the Rx ipsec offload
authorShannon Nelson <shannon.nelson@oracle.com>
Tue, 19 Dec 2017 23:59:59 +0000 (15:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Jan 2018 17:52:57 +0000 (09:52 -0800)
commit92103199f10a3c8b36c1232e96d5aaad1571d7ff
tree8441cec1595155ce87d298c883ec93b4534dea09
parent6d73a1540ba8a2fa2aaacf157ad2e46036a2ef91
ixgbe: process the Rx ipsec offload

If the chip sees and decrypts an ipsec offload, set up the skb
sp pointer with the ralated SA info.  Since the chip is rude
enough to keep to itself the table index it used for the
decryption, we have to do our own table lookup, using the
hash for speed.

Signed-off-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_ipsec.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c