Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/libmlx5/
H A Dqp.c567 uint64_t left, left_len, copy_sz; in set_tso_eth_seg() local
589 copy_sz = min(left_len, left); in set_tso_eth_seg()
591 memcpy(eseg->inline_hdr_start, pdata, copy_sz); in set_tso_eth_seg()
596 *seg += align(copy_sz - size_of_inl_hdr_start, 16) - 16; in set_tso_eth_seg()
597 *size += align(copy_sz - size_of_inl_hdr_start, 16) / 16 - 1; in set_tso_eth_seg()
600 if (unlikely(copy_sz < left)) { in set_tso_eth_seg()
602 left -= copy_sz; in set_tso_eth_seg()
603 pdata += copy_sz; in set_tso_eth_seg()