drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c- Extension
.c- Size
- 63826 bytes
- Lines
- 2272
- Domain
- Driver Families
- Bucket
- drivers/net
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/skbuff.hlinux/module.hlinux/highmem.hlinux/ip.hnet/ipv6.hlinux/netdevice.hcrypto/aes.hlinux/skbuff_ref.hchcr_ktls.h
Detected Declarations
function chcr_get_nfrags_to_sendfunction chcr_ktls_save_keysfunction chcr_ktls_act_open_reqfunction chcr_ktls_act_open_req6function chcr_setup_connectionfunction chcr_set_tcb_fieldfunction chcr_ktls_dev_delfunction chcr_ktls_dev_addfunction chcr_init_tcb_fieldsfunction chcr_ktls_cpl_act_open_rplfunction chcr_ktls_cpl_set_tcb_rplfunction chcr_ktls_xmit_tcb_cplsfunction chcr_ktls_get_tx_flitsfunction chcr_ktls_check_tcp_optionsfunction chcr_ktls_write_tcp_optionsfunction chcr_ktls_xmit_wr_completefunction chcr_ktls_xmit_wr_shortfunction textfunction chcr_ktls_tunnel_pktfunction chcr_ktls_copy_record_in_skbfunction chcr_end_part_handlerfunction chcr_short_record_handlerfunction chcr_ktls_sw_fallbackfunction chcr_ktls_xmitfunction chcr_ktls_uld_rx_handlerfunction clear_conn_resourcesfunction ch_ktls_reset_all_connfunction xa_for_eachfunction chcr_ktls_uld_state_changefunction chcr_ktls_initfunction chcr_ktls_exitmodule init chcr_ktls_init
Annotated Snippet
module_init(chcr_ktls_init);
module_exit(chcr_ktls_exit);
MODULE_DESCRIPTION("Chelsio NIC TLS ULD driver");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Chelsio Communications");
MODULE_VERSION(CHCR_KTLS_DRV_VERSION);
Annotation
- Immediate include surface: `linux/skbuff.h`, `linux/module.h`, `linux/highmem.h`, `linux/ip.h`, `net/ipv6.h`, `linux/netdevice.h`, `crypto/aes.h`, `linux/skbuff_ref.h`.
- Detected declarations: `function chcr_get_nfrags_to_send`, `function chcr_ktls_save_keys`, `function chcr_ktls_act_open_req`, `function chcr_ktls_act_open_req6`, `function chcr_setup_connection`, `function chcr_set_tcb_field`, `function chcr_ktls_dev_del`, `function chcr_ktls_dev_add`, `function chcr_init_tcb_fields`, `function chcr_ktls_cpl_act_open_rpl`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.