FreeBSD/sys/dev/vxge/include/vxgehal-ll.h
/*
 * vxge_hal_ring_rxd_1b_info_get - Get extended information associated with
 *				  a completed receive descriptor for 1b mode.
 * @vpath_handle: Virtual Path handle.
 * @rxdh: Descriptor handle.
 * @rxd_info: Descriptor information
 *
 * Retrieve extended information associated with a completed receive descriptor.
 *
 */
Get extended information associated with
a completed receive descriptor for 1b mode.
@vpath_handle: Virtual Path handle.
@rxdh: Descriptor handle.

Retrieve extended information associated with a completed receive descriptor.
Get extended information associated with a completed receive descriptor for 1b mode . @vpath_handle : Virtual Path handle . @rxdh : Descriptor handle . Retrieve extended information associated with a completed receive descriptor .
static	inline
void vxge_hal_ring_rxd_1b_info_get(
    vxge_hal_vpath_h vpath_handle,
    vxge_hal_rxd_h rxdh,
    vxge_hal_ring_rxd_info_t *rxd_info)
{
	vxge_hal_ring_rxd_1_t *rxdp = (vxge_hal_ring_rxd_1_t *) rxdh;
	rxd_info->syn_flag =
	    (u32) VXGE_HAL_RING_RXD_SYN_GET(rxdp->control_0);
	rxd_info->is_icmp =
	    (u32) VXGE_HAL_RING_RXD_IS_ICMP_GET(rxdp->control_0);
	rxd_info->fast_path_eligible =
	    (u32) VXGE_HAL_RING_RXD_FAST_PATH_ELIGIBLE_GET(rxdp->control_0);
	rxd_info->l3_cksum_valid =
	    (u32) VXGE_HAL_RING_RXD_L3_CKSUM_CORRECT_GET(rxdp->control_0);
	rxd_info->l3_cksum =
	    (u32) VXGE_HAL_RING_RXD_L3_CKSUM_GET(rxdp->control_0);
	rxd_info->l4_cksum_valid =
	    (u32) VXGE_HAL_RING_RXD_L4_CKSUM_CORRECT_GET(rxdp->control_0);
	rxd_info->l4_cksum =
	    (u32) VXGE_HAL_RING_RXD_L4_CKSUM_GET(rxdp->control_0);
	rxd_info->frame =
	    (u32) VXGE_HAL_RING_RXD_ETHER_ENCAP_GET(rxdp->control_0);
	rxd_info->proto =
	    (u32) VXGE_HAL_RING_RXD_FRAME_PROTO_GET(rxdp->control_0);
	rxd_info->is_vlan =
	    (u32) VXGE_HAL_RING_RXD_IS_VLAN_GET(rxdp->control_0);
	rxd_info->vlan =
	    (u32) VXGE_HAL_RING_RXD_VLAN_TAG_GET(rxdp->control_1);
	rxd_info->rth_bucket =
	    (u32) VXGE_HAL_RING_RXD_RTH_BUCKET_GET(rxdp->control_0);
	rxd_info->rth_it_hit =
	    (u32) VXGE_HAL_RING_RXD_RTH_IT_HIT_GET(rxdp->control_0);
	rxd_info->rth_spdm_hit =
	    (u32) VXGE_HAL_RING_RXD_RTH_SPDM_HIT_GET(rxdp->control_0);
	rxd_info->rth_hash_type =
	    (u32) VXGE_HAL_RING_RXD_RTH_HASH_TYPE_GET(rxdp->control_0);
	rxd_info->rth_value =
	    (u32) VXGE_HAL_RING_RXD_1_RTH_HASH_VAL_GET(rxdp->control_1);
}
static inline void vxge_hal_ring_rxd_1b_info_get ( vxge_hal_vpath_h vpath_handle , vxge_hal_rxd_h rxdh , vxge_hal_ring_rxd_info_t * rxd_info ) { vxge_hal_ring_rxd_1_t * rxdp = ( vxge_hal_ring_rxd_1_t * ) rxdh ; rxd_info -> syn_flag = ( u32 ) VXGE_HAL_RING_RXD_SYN_GET ( rxdp -> control_0 ) ; rxd_info -> is_icmp = ( u32 ) VXGE_HAL_RING_RXD_IS_ICMP_GET ( rxdp -> control_0 ) ; rxd_info -> fast_path_eligible = ( u32 ) VXGE_HAL_RING_RXD_FAST_PATH_ELIGIBLE_GET ( rxdp -> control_0 ) ; rxd_info -> l3_cksum_valid = ( u32 ) VXGE_HAL_RING_RXD_L3_CKSUM_CORRECT_GET ( rxdp -> control_0 ) ; rxd_info -> l3_cksum = ( u32 ) VXGE_HAL_RING_RXD_L3_CKSUM_GET ( rxdp -> control_0 ) ; rxd_info -> l4_cksum_valid = ( u32 ) VXGE_HAL_RING_RXD_L4_CKSUM_CORRECT_GET ( rxdp -> control_0 ) ; rxd_info -> l4_cksum = ( u32 ) VXGE_HAL_RING_RXD_L4_CKSUM_GET ( rxdp -> control_0 ) ; rxd_info -> frame = ( u32 ) VXGE_HAL_RING_RXD_ETHER_ENCAP_GET ( rxdp -> control_0 ) ; rxd_info -> proto = ( u32 ) VXGE_HAL_RING_RXD_FRAME_PROTO_GET ( rxdp -> control_0 ) ; rxd_info -> is_vlan = ( u32 ) VXGE_HAL_RING_RXD_IS_VLAN_GET ( rxdp -> control_0 ) ; rxd_info -> vlan = ( u32 ) VXGE_HAL_RING_RXD_VLAN_TAG_GET ( rxdp -> control_1 ) ; rxd_info -> rth_bucket = ( u32 ) VXGE_HAL_RING_RXD_RTH_BUCKET_GET ( rxdp -> control_0 ) ; rxd_info -> rth_it_hit = ( u32 ) VXGE_HAL_RING_RXD_RTH_IT_HIT_GET ( rxdp -> control_0 ) ; rxd_info -> rth_spdm_hit = ( u32 ) VXGE_HAL_RING_RXD_RTH_SPDM_HIT_GET ( rxdp -> control_0 ) ; rxd_info -> rth_hash_type = ( u32 ) VXGE_HAL_RING_RXD_RTH_HASH_TYPE_GET ( rxdp -> control_0 ) ; rxd_info -> rth_value = ( u32 ) VXGE_HAL_RING_RXD_1_RTH_HASH_VAL_GET ( rxdp -> control_1 ) ; }
vxge_hal_ring_rxd_1b_info_get - Get extended information associated with
                                a completed receive descriptor for 1b mode.
vxge_hal_ring_rxd_1b_info_get - Get extended information associated with a completed receive descriptor for 1b mode .
/* LINTED */