[PATCH v5 net-next 22/36] net: Add ulp_ddp_pdu_info struct
Sagi Grimberg
sagi at grimberg.me
Fri Jul 23 12:42:33 PDT 2021
> +/**
> + * struct ulp_ddp_pdu_info - pdu info for tcp ddp crc Tx offload.
> + *
> + * @end_seq: tcp seq of the last byte in the pdu.
> + * @start_seq: tcp seq of the first byte in the pdu.
> + * @data_len: pdu data size (in bytes).
> + * @hdr_len: the size (in bytes) of the pdu header.
> + * @hdr: pdu header.
> + * @req: the ulp request for the original pdu.
> + */
> +struct ulp_ddp_pdu_info {
> + struct list_head list;
> + u32 end_seq;
> + u32 start_seq;
> + u32 data_len;
> + u32 hdr_len;
> + void *hdr;
> + struct request *req;
Not sure what ddp does with this, but it shouldn't accept struct
request what-so-ever.
More information about the Linux-nvme
mailing list