Lines Matching refs:SGE_TX_DESC_MAX_PLEN
66 #define SGE_TX_DESC_MAX_PLEN 16384 macro
1117 if (PAGE_SIZE > SGE_TX_DESC_MAX_PLEN) { in compute_large_page_tx_descs()
1120 while (len > SGE_TX_DESC_MAX_PLEN) { in compute_large_page_tx_descs()
1122 len -= SGE_TX_DESC_MAX_PLEN; in compute_large_page_tx_descs()
1127 while (len > SGE_TX_DESC_MAX_PLEN) { in compute_large_page_tx_descs()
1129 len -= SGE_TX_DESC_MAX_PLEN; in compute_large_page_tx_descs()
1146 BUG_ON(len > SGE_TX_DESC_MAX_PLEN); in write_tx_desc()
1169 if (PAGE_SIZE > SGE_TX_DESC_MAX_PLEN) { in write_large_page_tx_descs()
1173 while (*desc_len > SGE_TX_DESC_MAX_PLEN) { in write_large_page_tx_descs()
1174 *desc_len -= SGE_TX_DESC_MAX_PLEN; in write_large_page_tx_descs()
1175 write_tx_desc(e1, *desc_mapping, SGE_TX_DESC_MAX_PLEN, in write_large_page_tx_descs()
1179 *desc_mapping += SGE_TX_DESC_MAX_PLEN; in write_large_page_tx_descs()
1221 V_CMD_EOP(nfrags == 0 && desc_len <= SGE_TX_DESC_MAX_PLEN) | in write_tx_descs()
1223 first_desc_len = (desc_len <= SGE_TX_DESC_MAX_PLEN) ? in write_tx_descs()
1224 desc_len : SGE_TX_DESC_MAX_PLEN; in write_tx_descs()
1231 if (PAGE_SIZE > SGE_TX_DESC_MAX_PLEN && in write_tx_descs()
1232 desc_len > SGE_TX_DESC_MAX_PLEN) { in write_tx_descs()