aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
diff options
context:
space:
mode:
authorRohit Maheshwari <rohitm@chelsio.com>2020-09-10 19:51:47 +0530
committerDavid S. Miller <davem@davemloft.net>2020-09-11 17:26:39 -0700
commita8c16e8ed624f24b2b082fb9a193e0132a5fd108 (patch)
treea761730f8f6043295bcc75e4ba6a1383110eda18 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
parentMerge branch 'sfc-encap-offloads-on-EF10' (diff)
downloadlinux-dev-a8c16e8ed624f24b2b082fb9a193e0132a5fd108.tar.xz
linux-dev-a8c16e8ed624f24b2b082fb9a193e0132a5fd108.zip
crypto/chcr: move nic TLS functionality to drivers/net
This patch moves complete nic tls offload (kTLS) code from crypto directory to drivers/net/ethernet/chelsio/inline_crypto/ch_ktls directory. nic TLS is made a separate ULD of cxgb4. Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
index 08439e215efe..b154190e1ee2 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
@@ -663,7 +663,7 @@ static int uld_attach(struct adapter *adap, unsigned int uld)
return 0;
}
-#ifdef CONFIG_CHELSIO_TLS_DEVICE
+#if IS_ENABLED(CONFIG_CHELSIO_TLS_DEVICE)
static bool cxgb4_uld_in_use(struct adapter *adap)
{
const struct tid_info *t = &adap->tids;