linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 2020 Chelsio Communications.  All rights reserved. */

#ifndef __CHCR_KTLS_H__
#define __CHCR_KTLS_H__

#include "cxgb4.h"
#include "t4_msg.h"
#include "t4_tcb.h"
#include "l2t.h"
#include "chcr_common.h"
#include "cxgb4_uld.h"
#include "clip_tbl.h"

#define CHCR_KTLS_DRV_MODULE_NAME
#define CHCR_KTLS_DRV_VERSION
#define CHCR_KTLS_DRV_DESC

#define CHCR_TCB_STATE_CLOSED
#define CHCR_KTLS_KEY_CTX_LEN
#define CHCR_SET_TCB_FIELD_LEN
#define CHCR_PLAIN_TX_DATA_LEN

#define CHCR_KTLS_WR_SIZE
#define FALLBACK

enum ch_ktls_open_state {};

struct chcr_ktls_info {};

struct chcr_ktls_ctx_tx {};

struct chcr_ktls_uld_ctx {};

static inline struct chcr_ktls_info *
__chcr_get_ktls_tx_info(struct tls_offload_context_tx *octx)
{}

static inline struct chcr_ktls_info *
chcr_get_ktls_tx_info(struct tls_context *tls_ctx)
{}

static inline void
chcr_set_ktls_tx_info(struct tls_context *tls_ctx, struct chcr_ktls_info *chcr_info)
{}

static inline int chcr_get_first_rx_qid(struct adapter *adap)
{}

chcr_handler_func;
#endif /* __CHCR_KTLS_H__ */