Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c615 #define MAX_SEGS_PER_SG 3 macro
628 if ((seg % MAX_SEGS_PER_SG) == 0) { in otx2_sqe_add_sg()
638 if ((num_segs - seg) >= (MAX_SEGS_PER_SG - 1)) in otx2_sqe_add_sg()
647 sg_lens[frag_num(seg % MAX_SEGS_PER_SG)] = len; in otx2_sqe_add_sg()
862 if ((seg % MAX_SEGS_PER_SG) == 0) { in otx2_sqe_tso_add_sg()
872 if ((list->num_segs - seg) >= (MAX_SEGS_PER_SG - 1)) in otx2_sqe_tso_add_sg()
877 sg_lens[frag_num(seg % MAX_SEGS_PER_SG)] = list->size[seg]; in otx2_sqe_tso_add_sg()