This series removes the tls_toe feature, its single user (chtls), and
cleans up the EXPORT_SYMBOL()s that no other module requires.
Driver changes only compile-tested.
v2:
- fix small issues in the docs clean up
- also remove NETIF_F_HW_TLS_RECORD (Sashiko)
v1: https://lore.kernel.org/netdev/cover.1781013810.git.sd@queasysnail.net/ (local)
Sabrina Dubroca (2):
tls: remove tls_toe and the related driver
net: remove some unused EXPORT_SYMBOL()s
Documentation/networking/tls-offload.rst | 7 +-
arch/s390/configs/debug_defconfig | 1 -
arch/s390/configs/defconfig | 1 -
.../net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 +-
.../ethernet/chelsio/inline_crypto/Kconfig | 12 -
.../ethernet/chelsio/inline_crypto/Makefile | 1 -
.../chelsio/inline_crypto/chtls/Makefile | 6 -
.../chelsio/inline_crypto/chtls/chtls.h | 584 -----
.../chelsio/inline_crypto/chtls/chtls_cm.c | 2336 -----------------
.../chelsio/inline_crypto/chtls/chtls_cm.h | 218 --
.../chelsio/inline_crypto/chtls/chtls_hw.c | 462 ----
.../chelsio/inline_crypto/chtls/chtls_io.c | 1836 -------------
.../chelsio/inline_crypto/chtls/chtls_main.c | 642 -----
include/linux/netdev_features.h | 3 +-
include/net/tls.h | 1 -
include/net/tls_toe.h | 77 -
include/uapi/linux/tls.h | 2 +-
net/core/stream.c | 1 -
net/ethtool/common.c | 1 -
net/ipv4/inet_connection_sock.c | 6 -
net/ipv4/inet_hashtables.c | 2 -
net/ipv4/tcp.c | 4 -
net/ipv4/tcp_ipv4.c | 1 -
net/ipv4/tcp_minisocks.c | 2 -
net/tls/Kconfig | 10 -
net/tls/Makefile | 1 -
net/tls/tls_main.c | 17 -
net/tls/tls_toe.c | 141 -
28 files changed, 4 insertions(+), 6374 deletions(-)
delete mode 100644 drivers/net/ethernet/chelsio/inline_crypto/chtls/Makefile
delete mode 100644 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h
delete mode 100644 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
delete mode 100644 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.h
delete mode 100644 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_hw.c
delete mode 100644 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c
delete mode 100644 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c
delete mode 100644 include/net/tls_toe.h
delete mode 100644 net/tls/tls_toe.c
--
2.54.0