1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2019 Netronome Systems, Inc. */
9 struct nfp_net_tls_resync_req
;
11 struct nfp_net_tls_offload_ctx
{
15 /* Tx only fields follow - Rx side does not have enough driver state
22 #ifdef CONFIG_TLS_DEVICE
23 int nfp_net_tls_init(struct nfp_net
*nn
);
24 int nfp_net_tls_rx_resync_req(struct net_device
*netdev
,
25 struct nfp_net_tls_resync_req
*req
,
26 void *pkt
, unsigned int pkt_len
);
28 static inline int nfp_net_tls_init(struct nfp_net
*nn
)
34 nfp_net_tls_rx_resync_req(struct net_device
*netdev
,
35 struct nfp_net_tls_resync_req
*req
,
36 void *pkt
, unsigned int pkt_len
)