diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-10-03 20:18:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-04 23:07:07 +0200 |
commit | f21912edd1570818cbcb16bd1da7d7a2b122d66b (patch) | |
tree | 6f2fb5e5a5a6a19f4153c328f865e5f8739bb967 /drivers/crypto/chelsio/chtls/chtls.h | |
parent | net/tls: move TOE-related structures to a separate header (diff) | |
download | linux-f21912edd1570818cbcb16bd1da7d7a2b122d66b.tar.xz linux-f21912edd1570818cbcb16bd1da7d7a2b122d66b.zip |
net/tls: rename tls_device to tls_toe_device
Rename struct tls_device to struct tls_toe_device to avoid
confusion with normal, non-TOE offload.
No functional changes.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/crypto/chelsio/chtls/chtls.h')
-rw-r--r-- | drivers/crypto/chelsio/chtls/chtls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/chelsio/chtls/chtls.h b/drivers/crypto/chelsio/chtls/chtls.h index e353c42fea91..d2bc655ab931 100644 --- a/drivers/crypto/chelsio/chtls/chtls.h +++ b/drivers/crypto/chelsio/chtls/chtls.h @@ -119,7 +119,7 @@ struct tls_scmd { }; struct chtls_dev { - struct tls_device tlsdev; + struct tls_toe_device tlsdev; struct list_head list; struct cxgb4_lld_info *lldi; struct pci_dev *pdev; @@ -363,7 +363,7 @@ enum { #define TCP_PAGE(sk) (sk->sk_frag.page) #define TCP_OFF(sk) (sk->sk_frag.offset) -static inline struct chtls_dev *to_chtls_dev(struct tls_device *tlsdev) +static inline struct chtls_dev *to_chtls_dev(struct tls_toe_device *tlsdev) { return container_of(tlsdev, struct chtls_dev, tlsdev); } |