Skip to contentSkip to conversation

net: remove tls_toe

PATCH Superseded Sabrina Dubroca 5 participants 8 messages Jun 9 – Jun 10

Subsystems (7)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sabrina Dubroca

author maintainer
#0 lore raw

cover net: remove tls_toe

This series removes the tls_toe feature, its single user (chtls), and cleans up the EXPORT_SYMBOL()s that no other module requires.

Tested only via make allmodconfig + make.

Sabrina Dubroca (2):
tls: remove tls_toe and the related driver
net: remove some unused EXPORT_SYMBOL()s

 Documentation/networking/tls-offload.rst      |    6 -
 arch/s390/configs/debug_defconfig             |    1 -
 arch/s390/configs/defconfig                   |    1 -
 .../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/net/tls.h                             |    1 -
 include/net/tls_toe.h                         |   77 -
 include/uapi/linux/tls.h                      |    2 +-
 net/core/stream.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 -
 25 files changed, 1 insertion(+), 6369 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
Signature · 1 line
2.54.0
author maintainer
#1 lore raw

PATCH 1/2 tls: remove tls_toe and the related driver

The tls_toe feature and its single user (chelsio chtls) have been unmaintained for multiple years. It also hooks into the core of the TCP implementation, and bypasses most of the networking stack.

---
 Documentation/networking/tls-offload.rst      |    6 -
 arch/s390/configs/debug_defconfig             |    1 -
 arch/s390/configs/defconfig                   |    1 -
 .../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/net/tls.h                             |    1 -
 include/net/tls_toe.h                         |   77 -
 include/uapi/linux/tls.h                      |    2 +-
 net/tls/Kconfig                               |   10 -
 net/tls/Makefile                              |    1 -
 net/tls/tls_main.c                            |   17 -
 net/tls/tls_toe.c                             |  141 -
 19 files changed, 1 insertion(+), 6353 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
Documentation/networking/tls-offload.rst +0 -6
index c173f537bf4d..9f08f8f06ca8 100644
@@ -26,12 +26,6 @@ documentation in :ref:`Documentation/networking/tls.rst <kernel_tls>`.
    This mode integrates best with the kernel stack and is described in detail
    in the remaining part of this document
    (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``).
- * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where
-   NIC driver and firmware replace the kernel networking stack
-   with its own TCP handling, it is not usable in production environments
-   making use of the Linux networking stack for example any firewalling
-   abilities or QoS and packet scheduling (``ethtool`` flag ``tls-hw-record``).
-
 The operation mode is selected automatically based on device configuration,
 offload opt-in or opt-out on per-connection basis is not currently supported.
 
arch/s390/configs/debug_defconfig +0 -1
index 730c90b4a876..fa517117b275 100644
@@ -125,7 +125,6 @@ CONFIG_UNIX=y
 CONFIG_UNIX_DIAG=m
 CONFIG_TLS=m
 CONFIG_TLS_DEVICE=y
-CONFIG_TLS_TOE=y
 CONFIG_XFRM_USER=m
 CONFIG_NET_KEY=m
 CONFIG_SMC=m
arch/s390/configs/defconfig +0 -1
index dd5fc1426c88..86c19649d6a4 100644
@@ -116,7 +116,6 @@ CONFIG_UNIX=y
 CONFIG_UNIX_DIAG=m
 CONFIG_TLS=m
 CONFIG_TLS_DEVICE=y
-CONFIG_TLS_TOE=y
 CONFIG_XFRM_USER=m
 CONFIG_NET_KEY=m
 CONFIG_SMC=m
drivers/net/ethernet/chelsio/inline_crypto/Kconfig +0 -12
index 521955e1f894..b7d452f4a7f1 100644
@@ -13,18 +13,6 @@ config CHELSIO_INLINE_CRYPTO
 
 if CHELSIO_INLINE_CRYPTO
 
-config CRYPTO_DEV_CHELSIO_TLS
-	tristate "Chelsio Crypto Inline TLS Driver"
-	depends on CHELSIO_T4
-	depends on TLS
-	depends on TLS_TOE
-	help
-	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
-	  Enable inline TLS support for Tx and Rx.
-
-	  To compile this driver as a module, choose M here: the module
-	  will be called chtls.
-
 config CHELSIO_IPSEC_INLINE
        tristate "Chelsio IPSec XFRM Tx crypto offload"
        depends on CHELSIO_T4
drivers/net/ethernet/chelsio/inline_crypto/Makefile +0 -1
index 27e6d7e2f1eb..ca6548adc6a7 100644
@@ -1,4 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_CRYPTO_DEV_CHELSIO_TLS) += chtls/
 obj-$(CONFIG_CHELSIO_IPSEC_INLINE) += ch_ipsec/
 obj-$(CONFIG_CHELSIO_TLS_DEVICE) += ch_ktls/
drivers/net/ethernet/chelsio/inline_crypto/chtls/Makefile deleted +0 -6
deleted file mode 100644
index bc11495acdb3..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-ccflags-y := -I $(srctree)/drivers/net/ethernet/chelsio/cxgb4 \
-	     -I $(srctree)/drivers/crypto/chelsio
-
-obj-$(CONFIG_CRYPTO_DEV_CHELSIO_TLS) += chtls.o
-chtls-objs := chtls_main.o chtls_cm.o chtls_io.o chtls_hw.o
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h deleted +0 -584

584 lines not on this page · raw message

drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c deleted +0 -2336

2,336 lines not on this page · raw message

drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.h deleted +0 -218

26 lines not on this page · raw message

drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_hw.c deleted +0 -462

462 lines not on this page · raw message

drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c deleted +0 -1836

1,836 lines not on this page · raw message

drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c deleted +0 -642

642 lines not on this page · raw message

include/net/tls.h +0 -1
index 3811943288b3..e57bef58851e 100644

Lines of this file are not shown. View the raw message.

include/net/tls_toe.h deleted +0 -77

77 lines not on this page · raw message

include/uapi/linux/tls.h +1 -1
index b8b9c42f848c..1245ab38afc1 100644

Lines of this file are not shown. View the raw message.

net/tls/Kconfig +0 -10
index a25bf57f2673..4f4d5973a28f 100644

Lines of this file are not shown. View the raw message.

net/tls/Makefile +0 -1
index e41c800489ac..4c7d296081ee 100644

Lines of this file are not shown. View the raw message.

net/tls/tls_main.c +0 -17
index c10a3fd7fc17..13c88a7b8787 100644

Lines of this file are not shown. View the raw message.

net/tls/tls_toe.c deleted +0 -141

141 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.54.0

Part of the diff is not shown here. View the raw message.

Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH net-next 1/2] tls: remove tls_toe and the related driver

Quoted 6 lines · Sabrina Dubroca

The tls_toe feature and its single user (chelsio chtls) have been unmaintained for multiple years. It also hooks into the core of the TCP implementation, and bypasses most of the networking stack.

Nice!

#3 lore raw

Re: [PATCH net-next 1/2] tls: remove tls_toe and the related driver

In reply to Sabrina Dubroca
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] Incomplete removal of the `tls_toe` feature leaves behind dangling feature flags…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incomplete removal of the tls_toe feature leaves behind dangling feature flags (NETIF_F_HW_TLS_RECORD) and upper layer driver references (CXGB4_ULD_TLS), leading to dead code and false feature advertisement to userspace. --

commit 9a055c5cc4ab72cb186cfa373957ed0d0080f2d2
Author: Sabrina Dubroca <[email protected]>

tls: remove tls_toe and the related driver

This patch removes the unmaintained tls_toe feature and its single user, the chelsio chtls driver. It removes the related documentation, Kconfig options, and source files.

Quoted 8 lines
net/tls/Kconfig +0 -0
index a25bf57f26738..4f4d5973a28f4 100644
@@ -27,13 +27,3 @@ config TLS_DEVICE
 	Enable kernel support for HW offload of the TLS protocol.
 
 	If unsure, say N.

net/tls/Kconfig config TLS_DEVICE · line 39

Quoted 10 lines
net/tls/Kconfig +0 -10
-
-config TLS_TOE
-	bool "Transport Layer Security TCP stack bypass"
-	depends on TLS
-	default n
-	help
-	Enable kernel support for legacy HW offload of the TLS protocol,
-	which is incompatible with the Linux networking stack semantics.
-
-	If unsure, say N.

[Severity: Low]
Since this removes the tls_toe feature and the chtls driver, should we also clean up the remaining references to the hardware TLS record offload?

For example, the feature bit NETIF_F_HW_TLS_RECORD_BIT is still present in include/linux/netdev_features.h, and its corresponding ethtool string "tls-hw-record" remains in net/ethtool/common.c.

Also, the cxgb4 driver still unconditionally adds NETIF_F_HW_TLS_RECORD to netdev->hw_features in cxgb4_main.c:init_one(), which could lead to devices falsely advertising this removed capability to userspace.

Additionally, CXGB4_ULD_TLS is left behind in enum cxgb4_uld (drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h), and there is dead code processing it in drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c inside sge_qinfo_show() and in drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h inside cudbg_uld_rxq_to_qtype().

Could these leftovers be removed as well to complete the cleanup?

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
author maintainer
#4 lore raw

PATCH 2/2 net: remove some unused EXPORT_SYMBOL()s

In reply to Sabrina Dubroca

chtls was using a lot of symbols that no other module requires. Remove those EXPORT_SYMBOL()s.

---
 net/core/stream.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 --
 6 files changed, 16 deletions(-)
net/core/stream.c +0 -1
index 7a37e7dd2c43..2d748581862d 100644
@@ -112,7 +112,6 @@ void sk_stream_wait_close(struct sock *sk, long timeout)
 		remove_wait_queue(sk_sleep(sk), &wait);
 	}
 }
-EXPORT_SYMBOL(sk_stream_wait_close);
 
 /**
  * sk_stream_wait_memory - Wait for more memory for a socket
net/ipv4/inet_connection_sock.c +0 -6
index 5b934ce8d98a..18b567288158 100644
@@ -824,7 +824,6 @@ struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
 	__IP_INC_STATS(net, IPSTATS_MIB_OUTNOROUTES);
 	return NULL;
 }
-EXPORT_SYMBOL_GPL(inet_csk_route_child_sock);
 
 /* Decide when to expire the request and when to resend SYN-ACK */
 static void syn_ack_recalc(struct request_sock *req,
@@ -901,7 +900,6 @@ struct request_sock *inet_reqsk_alloc(const struct request_sock_ops *ops,
 
 	return req;
 }
-EXPORT_SYMBOL(inet_reqsk_alloc);
 
 void __reqsk_free(struct request_sock *req)
 {
@@ -911,7 +909,6 @@ void __reqsk_free(struct request_sock *req)
 	kfree(req->saved_syn);
 	kmem_cache_free(req->rsk_ops->slab, req);
 }
-EXPORT_SYMBOL_GPL(__reqsk_free);
 
 static struct request_sock *inet_reqsk_clone(struct request_sock *req,
 					     struct sock *sk)
@@ -1280,7 +1277,6 @@ void inet_csk_destroy_sock(struct sock *sk)
 
 	sock_put(sk);
 }
-EXPORT_SYMBOL(inet_csk_destroy_sock);
 
 void inet_csk_prepare_for_destroy_sock(struct sock *sk)
 {
@@ -1301,7 +1297,6 @@ void inet_csk_prepare_forced_close(struct sock *sk)
 	inet_csk_prepare_for_destroy_sock(sk);
 	inet_sk(sk)->inet_num = 0;
 }
-EXPORT_SYMBOL(inet_csk_prepare_forced_close);
 
 static int inet_ulp_can_listen(const struct sock *sk)
 {
@@ -1405,7 +1400,6 @@ struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
 	spin_unlock(&queue->rskq_lock);
 	return child;
 }
-EXPORT_SYMBOL(inet_csk_reqsk_queue_add);
 
 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
 					 struct request_sock *req, bool own_req)
net/ipv4/inet_hashtables.c +0 -2
index 3e795547b40c..ba0faa9ae2bb 100644
@@ -252,7 +252,6 @@ void inet_put_port(struct sock *sk)
 	__inet_put_port(sk);
 	local_bh_enable();
 }
-EXPORT_SYMBOL(inet_put_port);
 
 int __inet_inherit_port(const struct sock *sk, struct sock *child)
 {
@@ -331,7 +330,6 @@ int __inet_inherit_port(const struct sock *sk, struct sock *child)
 	spin_unlock(&head->lock);
 	return -ENOMEM;
 }
-EXPORT_SYMBOL_GPL(__inet_inherit_port);
 
 static struct inet_listen_hashbucket *
 inet_lhash2_bucket_sk(struct inet_hashinfo *h, struct sock *sk)
net/ipv4/tcp.c +0 -4
index 890182a151e1..455441f1b694 100644
@@ -297,7 +297,6 @@ enum {
 };
 
 DEFINE_PER_CPU(unsigned int, tcp_orphan_count);
-EXPORT_PER_CPU_SYMBOL_GPL(tcp_orphan_count);
 
 long sysctl_tcp_mem[3] __read_mostly;
 
@@ -3027,7 +3026,6 @@ void tcp_set_state(struct sock *sk, int state)
 	 */
 	inet_sk_state_store(sk, state);
 }
-EXPORT_SYMBOL_GPL(tcp_set_state);
 
 /*
  *	State processing on a close. This implements the state shift for
@@ -3506,7 +3504,6 @@ int tcp_disconnect(struct sock *sk, int flags)
 	sk_error_report(sk);
 	return 0;
 }
-EXPORT_SYMBOL(tcp_disconnect);
 
 static inline bool tcp_can_repair_sock(const struct sock *sk)
 {
@@ -5104,7 +5101,6 @@ void tcp_done(struct sock *sk)
 	else
 		inet_csk_destroy_sock(sk);
 }
-EXPORT_SYMBOL_GPL(tcp_done);
 
 int tcp_abort(struct sock *sk, int err)
 {
net/ipv4/tcp_ipv4.c +0 -1
index fdc81150ff6c..ec09f97cc9e6 100644
@@ -1894,7 +1894,6 @@ int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb)
 	TCP_INC_STATS(sock_net(sk), TCP_MIB_INERRS);
 	goto discard;
 }
-EXPORT_SYMBOL(tcp_v4_do_rcv);
 
 enum skb_drop_reason tcp_add_backlog(struct sock *sk, struct sk_buff *skb)
 {
net/ipv4/tcp_minisocks.c +0 -2
index e6092c3ac840..ddc4b17a826b 100644
@@ -392,7 +392,6 @@ void tcp_time_wait(struct sock *sk, int state, int timeo)
 	tcp_update_metrics(sk);
 	tcp_done(sk);
 }
-EXPORT_SYMBOL(tcp_time_wait);
 
 void tcp_twsk_destructor(struct sock *sk)
 {
@@ -670,7 +669,6 @@ struct sock *tcp_create_openreq_child(const struct sock *sk,
 
 	return newsk;
 }
-EXPORT_SYMBOL(tcp_create_openreq_child);
 
 /*
  * Process an incoming packet for SYN_RECV sockets represented as a
Signature · 1 line
2.54.0
#5 lore raw

Re: [PATCH net-next 2/2] net: remove some unused EXPORT_SYMBOL()s

kernel test robot noticed the following build warnings:

Hi Sabrina,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Sabrina-Dubroca/tls-remove-tls_toe-and-the-related-driver/20260609-223704
base:   net-next/main
patch link:    https://lore.kernel.org/r/cbf1457c5d192a206f2f244ea3453766cb5dbbf9.1781013810.git.sd%40queasysnail.net
patch subject: [PATCH net-next 2/2] net: remove some unused EXPORT_SYMBOL()s
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
docutils: docutils (Docutils 0.21.2, Python 3.13.5, on linux)
reproduce: (https://download.01.org/0day-ci/archive/20260610/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

===================================================== [docutils] Documentation/networking/ipvs-sysctl.rst:88: ERROR: Unexpected indentation. [docutils]

>> Documentation/networking/tls-offload.rst:29: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

MAINTAINERS:40: WARNING: Inline strong start-string without end-string. [docutils] Documentation/userspace-api/landlock:504: ./security/landlock/errata/abi-4.h:5: ERROR: Unexpected section title.

vim +29 Documentation/networking/tls-offload.rst

f42c104f2ec94a Jakub Kicinski 2019-05-21  17  
f42c104f2ec94a Jakub Kicinski 2019-05-21  18   * Software crypto mode (``TLS_SW``) - CPU handles the cryptography.
f42c104f2ec94a Jakub Kicinski 2019-05-21  19     In most basic cases only crypto operations synchronous with the CPU
f42c104f2ec94a Jakub Kicinski 2019-05-21  20     can be used, but depending on calling context CPU may utilize
f42c104f2ec94a Jakub Kicinski 2019-05-21  21     asynchronous crypto accelerators. The use of accelerators introduces extra
f42c104f2ec94a Jakub Kicinski 2019-05-21  22     latency on socket reads (decryption only starts when a read syscall
f42c104f2ec94a Jakub Kicinski 2019-05-21  23     is made) and additional I/O load on the system.
f42c104f2ec94a Jakub Kicinski 2019-05-21  24   * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto
f42c104f2ec94a Jakub Kicinski 2019-05-21  25     on a packet by packet basis, provided the packets arrive in order.
f42c104f2ec94a Jakub Kicinski 2019-05-21  26     This mode integrates best with the kernel stack and is described in detail
f42c104f2ec94a Jakub Kicinski 2019-05-21  27     in the remaining part of this document
f42c104f2ec94a Jakub Kicinski 2019-05-21  28     (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``).

f42c104f2ec94a Jakub Kicinski 2019-05-21 @29 The operation mode is selected automatically based on device configuration, f42c104f2ec94a Jakub Kicinski 2019-05-21 30 offload opt-in or opt-out on per-connection basis is not currently supported. f42c104f2ec94a Jakub Kicinski 2019-05-21 31

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

author maintainer
#6 lore raw
In reply to Sabrina Dubroca
Quoted 10 lines · Sabrina Dubroca

This series removes the tls_toe feature, its single user (chtls), and cleans up the EXPORT_SYMBOL()s that no other module requires.

Tested only via make allmodconfig + make.

Sabrina Dubroca (2):
tls: remove tls_toe and the related driver
net: remove some unused EXPORT_SYMBOL()s

 Documentation/networking/tls-offload.rst      |    6 -

I'll send a v2 to fix the docs brainfart.

Sashiko is suggesting a few additional cleanups:

- remove NETIF_F_HW_TLS_RECORD/_BIT
makes sense, I'll add that too

- do some more cleanups in the cxgb4 driver (CXGB4_ULD_TLS is now unused, but then if I remove that I should probably remove some other things)
I'd prefer not to mess more with the driver, as I don't know the code and I don't have the HW to test any changes.

Signature · 1 line
Sabrina
maintainer
#7 lore raw
Quoted 5 lines · On Wed, 10 Jun 2026 19:08:18 +0200 Sabrina Dubroca wrote:

- do some more cleanups in the cxgb4 driver (CXGB4_ULD_TLS is now unused, but then if I remove that I should probably remove some other things)
I'd prefer not to mess more with the driver, as I don't know the code and I don't have the HW to test any changes.

SGTM, FWIW