ndesc_to_npkt
n += ndesc_to_npkt(ndesc_remaining % SGE_MAX_WR_NDESC);
#define MAX_NPKT_IN_TYPE1_WR (ndesc_to_npkt(SGE_MAX_WR_NDESC))