Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-ring.h51 #define XGE_HAL_RXD_GET_L3_CKSUM(control_1) ((u16)(control_1>>16) & 0xFFFF) argument
52 #define XGE_HAL_RXD_GET_L4_CKSUM(control_1) ((u16)(control_1 & 0xFFFF)) argument
61 #define XGE_HAL_RXD_GET_T_CODE(control_1) \ argument
62 ((control_1 & XGE_HAL_RXD_T_CODE)>>48)
63 #define XGE_HAL_RXD_SET_T_CODE(control_1, val) \ argument
64 (control_1 |= (((u64)val & 0xF) << 48))
68 #define XGE_HAL_RXD_GET_FRAME_TYPE(control_1) \ argument
69 (u8)(0x3 & ((control_1 & XGE_HAL_RXD_MASK_FRAME_TYPE) >> 37))
70 #define XGE_HAL_RXD_GET_FRAME_PROTO(control_1) \ argument
71 (u8)((control_1 & XGE_HAL_RXD_MASK_FRAME_PROTO) >> 32)
[all …]
H A Dxgehal-fifo.h93 u64 control_1; member
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-ring-fp.c162 rxdp->control_1 = rxdp->control_2 = 0; in xge_hal_ring_dtr_reserve()
192 ext_info->l3_cksum = XGE_HAL_RXD_GET_L3_CKSUM(rxdp->control_1); in xge_hal_ring_dtr_info_get()
193 ext_info->l4_cksum = XGE_HAL_RXD_GET_L4_CKSUM(rxdp->control_1); in xge_hal_ring_dtr_info_get()
194 ext_info->frame = XGE_HAL_RXD_GET_FRAME_TYPE(rxdp->control_1); in xge_hal_ring_dtr_info_get()
195 ext_info->proto = XGE_HAL_RXD_GET_FRAME_PROTO(rxdp->control_1); in xge_hal_ring_dtr_info_get()
202 ext_info->rth_it_hit = XGE_HAL_RXD_GET_RTH_IT_HIT(rxdp->control_1); in xge_hal_ring_dtr_info_get()
204 XGE_HAL_RXD_GET_RTH_SPDM_HIT(rxdp->control_1); in xge_hal_ring_dtr_info_get()
206 XGE_HAL_RXD_GET_RTH_HASH_TYPE(rxdp->control_1); in xge_hal_ring_dtr_info_get()
231 ext_info->l3_cksum = XGE_HAL_RXD_GET_L3_CKSUM(rxdp->control_1); in xge_hal_ring_dtr_info_nb_get()
232 ext_info->l4_cksum = XGE_HAL_RXD_GET_L4_CKSUM(rxdp->control_1); in xge_hal_ring_dtr_info_nb_get()
[all …]
H A Dxgehal-fifo-fp.c57 txdp->control_1 |= XGE_HAL_TXD_LIST_OWN_XENA; in __hal_fifo_dtr_post_single()
61 XGE_HAL_SET_TXD_T_CODE(txdp->control_1, XGE_HAL_TXD_T_CODE_UNUSED_5); in __hal_fifo_dtr_post_single()
86 if (txdp->control_1 & XGE_HAL_TXD_LSO_COF_CTRL(XGE_HAL_TXD_TCP_LSO)) { in __hal_fifo_dtr_post_single()
118 txdp->control_1, txdp->control_2, txdp->buffer_pointer, in __hal_fifo_dtr_post_single()
362 txdp->control_1 = txdp->control_2 = 0; in xge_hal_fifo_dtr_reserve_many()
444 txdp->control_1 = txdp->control_2 = 0; in xge_hal_fifo_dtr_reserve()
513 txdp_first->control_1 |= XGE_HAL_TXD_GATHER_CODE_FIRST; in xge_hal_fifo_dtr_post()
517 txdp_last->control_1 |= XGE_HAL_TXD_GATHER_CODE_LAST; in xge_hal_fifo_dtr_post()
567 txdp_first->control_1 |= XGE_HAL_TXD_GATHER_CODE_FIRST; in xge_hal_fifo_dtr_post_many()
573 txdp_last->control_1 |= XGE_HAL_TXD_GATHER_CODE_LAST; in xge_hal_fifo_dtr_post_many()
[all …]
H A Dxgehal-device.c5657 txdp->control_1, txdp->control_2, txdp->buffer_pointer, in xge_hal_device_handle_tcode()
5696 ":"XGE_OS_LLXFMT, rxdp->control_1, in xge_hal_device_handle_tcode()