Home
last modified time | relevance | path

Searched refs:TX_PKT_HEADER_SIZE (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_send.c264 pkt_len = pack_len = boff = TX_PKT_HEADER_SIZE; in hxge_start()
266 bcopy_thresh = (hxge_bcopy_thresh - TX_PKT_HEADER_SIZE); in hxge_start()
268 bcopy_thresh = (TX_BCOPY_SIZE - TX_PKT_HEADER_SIZE); in hxge_start()
290 if (len > (TX_MAX_TRANSFER_LENGTH - TX_PKT_HEADER_SIZE)) { in hxge_start()
294 TX_PKT_HEADER_SIZE); in hxge_start()
315 bcopy_thresh += TX_PKT_HEADER_SIZE; in hxge_start()
380 if ((boff == TX_PKT_HEADER_SIZE) && (nmblks == 1)) { in hxge_start()
595 (pkt_len - TX_PKT_HEADER_SIZE), npads, pkthdrp); in hxge_start()
601 if ((pkt_len - TX_PKT_HEADER_SIZE) > (STD_FRAME_SIZE - ETHERFCSL)) { in hxge_start()
605 min_len = (hxgep->msg_min + TX_PKT_HEADER_SIZE + (npads * 2)); in hxge_start()
H A Dhxge_txdma_hw.h111 #define TX_PKT_HEADER_SIZE 16 macro
H A Dhxge_txdma.c459 if ((newmp = allocb(TX_PKT_HEADER_SIZE, BPRI_MED)) == NULL) { in hxge_tx_pkt_header_reserve()
469 newmp->b_rptr -= TX_PKT_HEADER_SIZE; in hxge_tx_pkt_header_reserve()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c428 pkt_len = pack_len = boff = TX_PKT_HEADER_SIZE; in nxge_start()
430 bcopy_thresh = (nxge_bcopy_thresh - TX_PKT_HEADER_SIZE); in nxge_start()
432 bcopy_thresh = (TX_BCOPY_SIZE - TX_PKT_HEADER_SIZE); in nxge_start()
457 if (len > TX_MAX_TRANSFER_LENGTH - TX_PKT_HEADER_SIZE) { in nxge_start()
461 - TX_PKT_HEADER_SIZE); in nxge_start()
491 bcopy_thresh += TX_PKT_HEADER_SIZE; in nxge_start()
560 if ((boff == TX_PKT_HEADER_SIZE) && (nmblks == 1)) { in nxge_start()
831 min_len = (ETHERMIN + TX_PKT_HEADER_SIZE + (npads * 2)); in nxge_start()
860 tot_xfer_len = (pkt_len - TX_PKT_HEADER_SIZE); in nxge_start()
H A Dnxge_txdma.c749 if ((newmp = allocb(TX_PKT_HEADER_SIZE, BPRI_MED)) == NULL) { in nxge_tx_pkt_header_reserve()
760 newmp->b_rptr -= TX_PKT_HEADER_SIZE; in nxge_tx_pkt_header_reserve()
1024 tdc_stats->obytes += (pkt_len - TX_PKT_HEADER_SIZE); in nxge_txdma_reclaim()
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_txdma_hw.h833 #define TX_PKT_HEADER_SIZE 16 macro