Home
last modified time | relevance | path

Searched refs:SGE_TX_DESC_MAX_PLEN (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c75 #define SGE_TX_DESC_MAX_PLEN 16384 macro
1110 * SGE_TX_DESC_MAX_PLEN (16KB). If the PAGE_SIZE is larger than 16KB, the
1111 * stack might send more than SGE_TX_DESC_MAX_PLEN in a contiguous manner.
1113 * PAGE_SIZE <= SGE_TX_DESC_MAX_PLEN.
1122 if (PAGE_SIZE > SGE_TX_DESC_MAX_PLEN) { in compute_large_page_tx_descs()
1125 while (len > SGE_TX_DESC_MAX_PLEN) { in compute_large_page_tx_descs()
1127 len -= SGE_TX_DESC_MAX_PLEN; in compute_large_page_tx_descs()
1132 while (len > SGE_TX_DESC_MAX_PLEN) { in compute_large_page_tx_descs()
1134 len -= SGE_TX_DESC_MAX_PLEN; in compute_large_page_tx_descs()
1151 BUG_ON(len > SGE_TX_DESC_MAX_PLEN); in write_tx_desc()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c66 #define SGE_TX_DESC_MAX_PLEN 16384 macro
1105 * SGE_TX_DESC_MAX_PLEN (16KB). If the PAGE_SIZE is larger than 16KB, the
1106 * stack might send more than SGE_TX_DESC_MAX_PLEN in a contiguous manner.
1108 * PAGE_SIZE <= SGE_TX_DESC_MAX_PLEN.
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()
[all...]

Completed in 10 milliseconds