Home
last modified time | relevance | path

Searched refs:copysz (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dqp.c3528 u64 left, leftlen, copysz; in set_eth_seg() local
3541 copysz = min_t(u64, leftlen, left); in set_eth_seg()
3543 memcpy(seg - size_of_inl_hdr_start, pdata, copysz); in set_eth_seg()
3545 if (likely(copysz > size_of_inl_hdr_start)) { in set_eth_seg()
3546 seg += ALIGN(copysz - size_of_inl_hdr_start, 16); in set_eth_seg()
3547 *size += ALIGN(copysz - size_of_inl_hdr_start, 16) / 16; in set_eth_seg()
3550 if (unlikely(copysz < left)) { /* the last wqe in the queue */ in set_eth_seg()
3552 left -= copysz; in set_eth_seg()
3553 pdata += copysz; in set_eth_seg()