/
usr
/
src
/
linux-headers-5.15.0-181
/
include
/
rdma
/
/usr/src/linux-headers-5.15.0-181/include/rdma
mkdir
upload
Name
Size
Mode
Actions
ib.h
2138
0644
edit
dl
rm
iba.h
5642
0644
edit
dl
rm
ibta_vol1_c12.h
13251
0644
edit
dl
rm
ib_addr.h
7335
0644
edit
dl
rm
ib_cache.h
4329
0644
edit
dl
rm
ib_cm.h
17326
0644
edit
dl
rm
ib_hdrs.h
6957
0644
edit
dl
rm
ib_mad.h
25064
0644
edit
dl
rm
ib_marshall.h
778
0644
edit
dl
rm
ib_pack.h
7900
0644
edit
dl
rm
ib_pma.h
4268
0644
edit
dl
rm
ib_sa.h
19963
0644
edit
dl
rm
ib_smi.h
4306
0644
edit
dl
rm
ib_sysfs.h
1257
0644
edit
dl
rm
ib_umem.h
7070
0644
edit
dl
rm
ib_umem_odp.h
3467
0644
edit
dl
rm
ib_verbs.h
141638
0644
edit
dl
rm
iw_cm.h
7294
0644
edit
dl
rm
iw_portmap.h
2244
0644
edit
dl
rm
lag.h
530
0644
edit
dl
rm
mr_pool.h
568
0644
edit
dl
rm
opa_addr.h
2452
0644
edit
dl
rm
opa_port_info.h
13751
0644
edit
dl
rm
opa_smi.h
3074
0644
edit
dl
rm
opa_vnic.h
2044
0644
edit
dl
rm
peer_mem.h
6340
0644
edit
dl
rm
rdmavt_cq.h
1783
0644
edit
dl
rm
rdmavt_mr.h
4038
0644
edit
dl
rm
rdmavt_qp.h
28687
0644
edit
dl
rm
rdma_cm.h
13121
0644
edit
dl
rm
rdma_cm_ib.h
797
0644
edit
dl
rm
rdma_counter.h
1826
0644
edit
dl
rm
rdma_netlink.h
4062
0644
edit
dl
rm
rdma_vt.h
14561
0644
edit
dl
rm
restrack.h
4303
0644
edit
dl
rm
rw.h
2275
0644
edit
dl
rm
signature.h
2969
0644
edit
dl
rm
tid_rdma_defs.h
2100
0644
edit
dl
rm
uverbs_ioctl.h
32992
0644
edit
dl
rm
uverbs_named_ioctl.h
4836
0644
edit
dl
rm
uverbs_std_types.h
5365
0644
edit
dl
rm
uverbs_types.h
6210
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-181/include/rdma/signature.h
(2969B)
/* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) */ /* * Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved. */ #ifndef _RDMA_SIGNATURE_H_ #define _RDMA_SIGNATURE_H_ #include <linux/types.h> enum ib_signature_prot_cap { IB_PROT_T10DIF_TYPE_1 = 1, IB_PROT_T10DIF_TYPE_2 = 1 << 1, IB_PROT_T10DIF_TYPE_3 = 1 << 2, }; enum ib_signature_guard_cap { IB_GUARD_T10DIF_CRC = 1, IB_GUARD_T10DIF_CSUM = 1 << 1, }; /** * enum ib_signature_type - Signature types * @IB_SIG_TYPE_NONE: Unprotected. * @IB_SIG_TYPE_T10_DIF: Type T10-DIF */ enum ib_signature_type { IB_SIG_TYPE_NONE, IB_SIG_TYPE_T10_DIF, }; /** * enum ib_t10_dif_bg_type - Signature T10-DIF block-guard types * @IB_T10DIF_CRC: Corresponds to T10-PI mandated CRC checksum rules. * @IB_T10DIF_CSUM: Corresponds to IP checksum rules. */ enum ib_t10_dif_bg_type { IB_T10DIF_CRC, IB_T10DIF_CSUM, }; /** * struct ib_t10_dif_domain - Parameters specific for T10-DIF * domain. * @bg_type: T10-DIF block guard type (CRC|CSUM) * @pi_interval: protection information interval. * @bg: seed of guard computation. * @app_tag: application tag of guard block * @ref_tag: initial guard block reference tag. * @ref_remap: Indicate wethear the reftag increments each block * @app_escape: Indicate to skip block check if apptag=0xffff * @ref_escape: Indicate to skip block check if reftag=0xffffffff * @apptag_check_mask: check bitmask of application tag. */ struct ib_t10_dif_domain { enum ib_t10_dif_bg_type bg_type; u16 pi_interval; u16 bg; u16 app_tag; u32 ref_tag; bool ref_remap; bool app_escape; bool ref_escape; u16 apptag_check_mask; }; /** * struct ib_sig_domain - Parameters for signature domain * @sig_type: specific signauture type * @sig: union of all signature domain attributes that may * be used to set domain layout. */ struct ib_sig_domain { enum ib_signature_type sig_type; union { struct ib_t10_dif_domain dif; } sig; }; /** * struct ib_sig_attrs - Parameters for signature handover operation * @check_mask: bitmask for signature byte check (8 bytes) * @mem: memory domain layout descriptor. * @wire: wire domain layout descriptor. * @meta_length: metadata length */ struct ib_sig_attrs { u8 check_mask; struct ib_sig_domain mem; struct ib_sig_domain wire; int meta_length; }; enum ib_sig_err_type { IB_SIG_BAD_GUARD, IB_SIG_BAD_REFTAG, IB_SIG_BAD_APPTAG, }; /* * Signature check masks (8 bytes in total) according to the T10-PI standard: * -------- -------- ------------ * | GUARD | APPTAG | REFTAG | * | 2B | 2B | 4B | * -------- -------- ------------ */ enum { IB_SIG_CHECK_GUARD = 0xc0, IB_SIG_CHECK_APPTAG = 0x30, IB_SIG_CHECK_REFTAG = 0x0f, }; /* * struct ib_sig_err - signature error descriptor */ struct ib_sig_err { enum ib_sig_err_type err_type; u32 expected; u32 actual; u64 sig_err_offset; u32 key; }; #endif /* _RDMA_SIGNATURE_H_ */
Save
cmd:
run