Deleted Added
full compact
vxgehal-ring.c (221167) vxgehal-ring.c (226436)
1/*-
2 * Copyright(c) 2002-2011 Exar Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification are permitted provided the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

--- 14 unchanged lines hidden (view full) ---

23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 */
1/*-
2 * Copyright(c) 2002-2011 Exar Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification are permitted provided the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

--- 14 unchanged lines hidden (view full) ---

23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 */
31/*$FreeBSD: head/sys/dev/vxge/vxgehal/vxgehal-ring.c 221167 2011-04-28 14:33:15Z gnn $*/
31/*$FreeBSD: head/sys/dev/vxge/vxgehal/vxgehal-ring.c 226436 2011-10-16 14:30:28Z eadler $*/
32
33#include <dev/vxge/vxgehal/vxgehal.h>
34
35/*
36 * __hal_ring_block_memblock_idx - Return the memblock index
37 * @block: Virtual address of memory block
38 *
39 * This function returns the index of memory block

--- 1294 unchanged lines hidden (view full) ---

1334 vxge_hal_trace_log_ring("<== %s:%s:%d Result: 0",
1335 __FILE__, __func__, __LINE__);
1336}
1337
1338/*
1339 * vxge_hal_ring_is_next_rxd_completed - Check if the next rxd is completed
1340 * @vpath_handle: Virtual Path handle.
1341 *
32
33#include <dev/vxge/vxgehal/vxgehal.h>
34
35/*
36 * __hal_ring_block_memblock_idx - Return the memblock index
37 * @block: Virtual address of memory block
38 *
39 * This function returns the index of memory block

--- 1294 unchanged lines hidden (view full) ---

1334 vxge_hal_trace_log_ring("<== %s:%s:%d Result: 0",
1335 __FILE__, __func__, __LINE__);
1336}
1337
1338/*
1339 * vxge_hal_ring_is_next_rxd_completed - Check if the next rxd is completed
1340 * @vpath_handle: Virtual Path handle.
1341 *
1342 * Checks if the the _next_ completed descriptor is in host memory
1342 * Checks if the _next_ completed descriptor is in host memory
1343 *
1344 * Returns: VXGE_HAL_OK - success.
1345 * VXGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors
1346 * are currently available for processing.
1347 */
1348vxge_hal_status_e
1349vxge_hal_ring_is_next_rxd_completed(
1350 vxge_hal_vpath_h vpath_handle)

--- 463 unchanged lines hidden ---
1343 *
1344 * Returns: VXGE_HAL_OK - success.
1345 * VXGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors
1346 * are currently available for processing.
1347 */
1348vxge_hal_status_e
1349vxge_hal_ring_is_next_rxd_completed(
1350 vxge_hal_vpath_h vpath_handle)

--- 463 unchanged lines hidden ---