Home
last modified time | relevance | path

Searched refs:VNET_IPALIGN (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/sun4v/sys/
H A Dvnet_common.h78 #define VNET_IPALIGN 6 /* padding for IP header alignment */ macro
102 (VNET_ROUNDUP_2K((mfs) + VNET_IPALIGN + VNET_LDCALIGN))
/titanic_41/usr/src/uts/sun4v/io/
H A Dvsw_rxdring.c349 rxdp->data_buf_offset = VIO_MBLK_DATA_OFF(vmp) + VNET_IPALIGN; in vsw_setup_rx_dring()
749 (VIO_MBLK_DATA_OFF(vmp) + VNET_IPALIGN))) { in vsw_receive_packet()
782 dmp = allocb(nbytes + VNET_IPALIGN, BPRI_MED); in vsw_receive_packet()
783 bcopy(mp->b_rptr + VNET_IPALIGN, in vsw_receive_packet()
784 dmp->b_rptr + VNET_IPALIGN, nbytes); in vsw_receive_packet()
792 VIO_MBLK_DATA_OFF(new_vmp) + VNET_IPALIGN; in vsw_receive_packet()
795 mp->b_rptr += VNET_IPALIGN; in vsw_receive_packet()
H A Dvnet_rxdring.c239 rxdp->data_buf_offset = VIO_MBLK_DATA_OFF(vmp) + VNET_IPALIGN; in vgen_create_rx_dring()
1085 (VIO_MBLK_DATA_OFF(vmp) + VNET_IPALIGN))) { in vgen_receive_packet()
1117 dmp = allocb(nbytes + VNET_IPALIGN, BPRI_MED); in vgen_receive_packet()
1122 bcopy(mp->b_rptr + VNET_IPALIGN, in vgen_receive_packet()
1123 dmp->b_rptr + VNET_IPALIGN, nbytes); in vgen_receive_packet()
1131 VIO_MBLK_DATA_OFF(new_vmp) + VNET_IPALIGN; in vgen_receive_packet()
1134 mp->b_rptr += VNET_IPALIGN; in vgen_receive_packet()
H A Dvsw_txdring.c247 data_sz = vswp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN; in vsw_setup_tx_dring()
529 data_sz = vswp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN; in vsw_init_multipools()
848 bufp += VNET_IPALIGN; in vsw_dringsend()
1180 nbytes = (desc.nbytes + VNET_IPALIGN + 7) & ~7; in vsw_process_dringdata()
1182 mp = allocb(desc.nbytes + VNET_IPALIGN + 8, in vsw_process_dringdata()
1198 VNET_IPALIGN + 8, BPRI_MED); in vsw_process_dringdata()
1236 mp->b_rptr += VNET_IPALIGN; in vsw_process_dringdata()
H A Dvnet_txdring.c184 data_sz = vgenp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN; in vgen_create_tx_dring()
494 data_sz = vgenp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN; in vgen_init_multipools()
672 dst = tbufp->datap + VNET_IPALIGN; in vgen_dringsend()
1064 nbytes = (VNET_IPALIGN + rxd.nbytes + 7) & ~7; in vgen_process_dringdata()
1066 mp = allocb(VNET_IPALIGN + rxd.nbytes + 8, in vgen_process_dringdata()
1079 mp = allocb(VNET_IPALIGN + in vgen_process_dringdata()
1157 mp->b_rptr += VNET_IPALIGN; in vgen_process_dringdata()