Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c583 #define MAX_SEGS_PER_SG 3 macro
596 if ((seg % MAX_SEGS_PER_SG) == 0) { in otx2_sqe_add_sg()
606 if ((num_segs - seg) >= (MAX_SEGS_PER_SG - 1)) in otx2_sqe_add_sg()
615 sg_lens[frag_num(seg % MAX_SEGS_PER_SG)] = len; in otx2_sqe_add_sg()
831 if ((seg % MAX_SEGS_PER_SG) == 0) { in otx2_sqe_tso_add_sg()
841 if ((list->num_segs - seg) >= (MAX_SEGS_PER_SG - 1)) in otx2_sqe_tso_add_sg()
846 sg_lens[frag_num(seg % MAX_SEGS_PER_SG)] = list->size[seg]; in otx2_sqe_tso_add_sg()