Searched refs:MAX_SEGS_PER_SG (Results 1 – 1 of 1) sorted by relevance
615 #define MAX_SEGS_PER_SG 3 macro628 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()