Searched refs:MAX_SEGS_PER_SG (Results 1 – 1 of 1) sorted by relevance
458 #define MAX_SEGS_PER_SG 3 macro471 if ((seg % MAX_SEGS_PER_SG) == 0) { in otx2_sqe_add_sg()481 if ((num_segs - seg) >= (MAX_SEGS_PER_SG - 1)) in otx2_sqe_add_sg()490 sg_lens[frag_num(seg % MAX_SEGS_PER_SG)] = len; in otx2_sqe_add_sg()685 if ((seg % MAX_SEGS_PER_SG) == 0) { in otx2_sqe_tso_add_sg()695 if ((list->num_segs - seg) >= (MAX_SEGS_PER_SG - 1)) in otx2_sqe_tso_add_sg()700 sg_lens[frag_num(seg % MAX_SEGS_PER_SG)] = list->size[seg]; in otx2_sqe_tso_add_sg()