drivers/net/ethernet/fungible/funeth/funeth_ktls.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/fungible/funeth/funeth_ktls.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/fungible/funeth/funeth_ktls.h
Extension
.h
Size
503 bytes
Lines
31
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

struct fun_ktls_tx_ctx {
	__be64 tlsid;
	u32 next_seq;
};

#if IS_ENABLED(CONFIG_TLS_DEVICE)
int fun_ktls_init(struct net_device *netdev);
void fun_ktls_cleanup(struct funeth_priv *fp);

#else

static inline void fun_ktls_init(struct net_device *netdev)
{
}

static inline void fun_ktls_cleanup(struct funeth_priv *fp)
{
}
#endif

#endif /* _FUN_KTLS_H */

Annotation

Implementation Notes