nfp: tls: set skb decrypted flag
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>
Tue, 11 Jun 2019 04:40:03 +0000 (21:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jun 2019 19:22:26 +0000 (12:22 -0700)
commit5bcb5c7e981b7b144b3bb23c108f57e29ae809a0
tree84b41965f95dc6716ff91546580549af6e748aae
parentf953d33ba1225d68cf8790b4706d8c4410b15926
nfp: tls: set skb decrypted flag

Firmware indicates when a packet has been decrypted by reusing the
currently unused BPF flag.  Transfer this information into the skb
and provide a statistic of all decrypted segments.

Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c