FreeBSD/sys/dev/vxge/include/vxgehal-ll.h
/*
 * vxge_hal_ring_rxds_per_block_get - Get the number of rxds per block.
 * @buf_mode: Buffer mode (1, 3 or 5)
 *
 * This function returns the number of RxD for RxD block for given buffer mode
 */
Get the number of rxds per block.
@buf_mode: Buffer mode (1, 3 or 5)

This function returns the number of RxD for RxD block for given buffer mode
Get the number of rxds per block . @buf_mode : Buffer mode ( 1 3 or 5 ) This function returns the number of RxD for RxD block for given buffer mode
static inline u32
vxge_hal_ring_rxds_per_block_get(
    u32 buf_mode)
{
	return ((u32) ((VXGE_OS_HOST_PAGE_SIZE - 16) /
	    ((buf_mode == 1) ? sizeof(vxge_hal_ring_rxd_1_t) :
	    ((buf_mode == 3) ? sizeof(vxge_hal_ring_rxd_3_t) :
	    sizeof(vxge_hal_ring_rxd_5_t)))));
}
static inline u32 vxge_hal_ring_rxds_per_block_get ( u32 buf_mode ) { return ( ( u32 ) ( ( VXGE_OS_HOST_PAGE_SIZE - 16 ) / ( ( buf_mode == 1 ) ? sizeof ( vxge_hal_ring_rxd_1_t ) : ( ( buf_mode == 3 ) ? sizeof ( vxge_hal_ring_rxd_3_t ) : sizeof ( vxge_hal_ring_rxd_5_t ) ) ) ) ) ; }
vxge_hal_ring_rxds_per_block_get - Get the number of rxds per block.
vxge_hal_ring_rxds_per_block_get - Get the number of rxds per block .
/* LINTED */