Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | eprom_image |
struct | vxge_hw_device_date |
struct | vxge_hw_device_version |
struct | vxge_hw_fifo_config |
struct | vxge_hw_ring_config |
struct | vxge_hw_vp_config |
struct | vxge_hw_device_config |
struct | vxge_hw_uld_cbs |
struct | __vxge_hw_blockpool_entry |
struct | __vxge_hw_blockpool |
struct | __vxge_hw_channel |
struct | __vxge_hw_virtualpath |
struct | __vxge_hw_vpath_handle |
struct | __vxge_hw_device |
struct | vxge_hw_device_hw_info |
struct | vxge_hw_device_attr |
struct | __vxge_hw_ring |
struct | __vxge_hw_fifo |
struct | __vxge_hw_fifo_txdl_priv |
struct | __vxge_hw_non_offload_db_wrapper |
struct | vxge_hw_fifo_txd |
struct | vxge_hw_ring_rxd_1 |
struct | vxge_hw_rth_hash_types |
struct | vxge_hw_ring_attr |
struct | vxge_hw_fifo_attr |
struct | vxge_hw_vpath_attr |
Variables | |
struct __vxge_hw_channel | ____cacheline_aligned |
#define NULL_VPID 0xFFFFFFFF |
Definition at line 77 of file vxge-config.h.
Definition at line 26 of file vxge-config.h.
#define vxge_assert | ( | test | ) |
Definition at line 56 of file vxge-config.h.
#define VXGE_CACHE_LINE_SIZE 128 |
Definition at line 22 of file vxge-config.h.
#define VXGE_COMPONENT_ALL 0xffffffff |
Definition at line 99 of file vxge-config.h.
#define VXGE_COMPONENT_LL 0x20000000 |
Definition at line 98 of file vxge-config.h.
#define VXGE_DEBUG_ERR_MASK 0x20000000 |
Definition at line 86 of file vxge-config.h.
vxge_debug_ll : level of debug verbosity. : mask for the debug : Circular buffer for tracing : printf like format string
Provides logging facilities. Can be customized on per-module basis or/and with debug levels. Input parameters, except module and level, are the same as posix printf. This function may be compiled out if DEBUG macro was never defined. See also: enum vxge_debug_level{}.
Definition at line 2064 of file vxge-config.h.
#define VXGE_DEBUG_MASK 0x00000001 |
Definition at line 87 of file vxge-config.h.
#define VXGE_DEBUG_MODULE_MASK 0x20000000 |
Definition at line 84 of file vxge-config.h.
#define VXGE_DEBUG_TRACE_MASK 0x20000000 |
Definition at line 85 of file vxge-config.h.
#define VXGE_HW_BASE_BADCFG 300 |
Definition at line 103 of file vxge-config.h.
#define VXGE_HW_BASE_ERR 200 |
Definition at line 102 of file vxge-config.h.
#define VXGE_HW_BASE_INF 100 |
Definition at line 101 of file vxge-config.h.
#define VXGE_HW_DEF_DEVICE_POLL_MILLIS 1000 |
Definition at line 420 of file vxge-config.h.
#define VXGE_HW_DEF_FIFO_ALIGNMENT_SIZE VXGE_CACHE_LINE_SIZE |
Definition at line 272 of file vxge-config.h.
#define VXGE_HW_DEF_FIFO_MEMBLOCK_SIZE 8096 |
Definition at line 267 of file vxge-config.h.
#define VXGE_HW_DEF_RING_BLOCKS 2 |
Definition at line 321 of file vxge-config.h.
#define VXGE_HW_DEF_RING_RXDS_LIMIT 44 |
Definition at line 336 of file vxge-config.h.
#define VXGE_HW_DEFAULT_MTU 1500 |
Definition at line 32 of file vxge-config.h.
#define VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM 0x4 |
Definition at line 750 of file vxge-config.h.
#define VXGE_HW_DEVICE_ACCESS_RIGHT_SRPCIM 0x2 |
Definition at line 749 of file vxge-config.h.
#define VXGE_HW_DEVICE_ACCESS_RIGHT_VPATH 0x1 |
Definition at line 748 of file vxge-config.h.
#define VXGE_HW_DEVICE_DEAD 0xDEADDEAD |
Definition at line 736 of file vxge-config.h.
#define VXGE_HW_DEVICE_LINK_STATE_SET | ( | hldev, | |
ls | |||
) | (hldev->link_state = ls) |
Definition at line 846 of file vxge-config.h.
#define VXGE_HW_DEVICE_MAGIC 0x12345678 |
Definition at line 735 of file vxge-config.h.
Definition at line 870 of file vxge-config.h.
#define VXGE_HW_DEVICE_TIM_INT_MASK_RESET | ( | m0, | |
m1, | |||
i | |||
) |
#define VXGE_HW_DEVICE_TIM_INT_MASK_SET | ( | m0, | |
m1, | |||
i | |||
) |
#define VXGE_HW_FIFO_DISABLE 0 |
Definition at line 254 of file vxge-config.h.
#define VXGE_HW_FIFO_ENABLE 1 |
Definition at line 253 of file vxge-config.h.
#define VXGE_HW_FIFO_NO_SNOOP_ALL 3 |
Definition at line 283 of file vxge-config.h.
#define VXGE_HW_FIFO_NO_SNOOP_DEFAULT 0 |
Definition at line 284 of file vxge-config.h.
#define VXGE_HW_FIFO_NO_SNOOP_DISABLED 0 |
Definition at line 280 of file vxge-config.h.
#define VXGE_HW_FIFO_NO_SNOOP_FRM 2 |
Definition at line 282 of file vxge-config.h.
#define VXGE_HW_FIFO_NO_SNOOP_TXD 1 |
Definition at line 281 of file vxge-config.h.
#define VXGE_HW_FIFO_QUEUE_INTR_DEFAULT 0 |
Definition at line 277 of file vxge-config.h.
#define VXGE_HW_FIFO_QUEUE_INTR_DISABLE 0 |
Definition at line 276 of file vxge-config.h.
#define VXGE_HW_FIFO_QUEUE_INTR_ENABLE 1 |
Definition at line 275 of file vxge-config.h.
Definition at line 1277 of file vxge-config.h.
Definition at line 1268 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST VXGE_HW_FIFO_GATHER_CODE_FIRST |
Definition at line 1269 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_GATHER_CODE_LAST VXGE_HW_FIFO_GATHER_CODE_LAST |
Definition at line 1270 of file vxge-config.h.
Definition at line 1287 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_INT_TYPE_PER_LIST vxge_mBIT(46) |
Definition at line 1289 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_INT_TYPE_UTILZ vxge_mBIT(47) |
Definition at line 1290 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_LIST_OWN_ADAPTER vxge_mBIT(7) |
Definition at line 1261 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_LSO_EN vxge_mBIT(30) |
Definition at line 1273 of file vxge-config.h.
Definition at line 1275 of file vxge-config.h.
Definition at line 1264 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_T_CODE_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 12, 4) |
Definition at line 1263 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_T_CODE_UNUSED VXGE_HW_FIFO_T_CODE_UNUSED |
Definition at line 1265 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_TX_CKO_IPV4_EN vxge_mBIT(5) |
Definition at line 1280 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_TX_CKO_TCP_EN vxge_mBIT(6) |
Definition at line 1281 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_TX_CKO_UDP_EN vxge_mBIT(7) |
Definition at line 1282 of file vxge-config.h.
#define VXGE_HW_FIFO_TXD_VLAN_ENABLE vxge_mBIT(15) |
Definition at line 1283 of file vxge-config.h.
Definition at line 1285 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_MRIOV 3 |
Definition at line 810 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_MRIOV_4 10 |
Definition at line 817 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_MRIOV_8 4 |
Definition at line 811 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION 1 |
Definition at line 808 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION_17 5 |
Definition at line 812 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION_2 8 |
Definition at line 815 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION_4 9 |
Definition at line 816 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_SINGLE_FUNCTION 0 |
Definition at line 807 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_SRIOV 2 |
Definition at line 809 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_SRIOV_4 7 |
Definition at line 814 of file vxge-config.h.
#define VXGE_HW_FUNCTION_MODE_SRIOV_8 6 |
Definition at line 813 of file vxge-config.h.
#define VXGE_HW_FW_STRLEN 32 |
struct vxge_hw_device_date - Date Format : Day : Month : Year
Structure for returning date
Definition at line 212 of file vxge-config.h.
#define VXGE_HW_HWTS_DEFAULT 1 |
Definition at line 456 of file vxge-config.h.
#define VXGE_HW_HWTS_DISABLE 0 |
Definition at line 454 of file vxge-config.h.
#define VXGE_HW_HWTS_ENABLE 1 |
Definition at line 455 of file vxge-config.h.
#define VXGE_HW_INCR_DMA_BLOCK_POOL_SIZE 4 |
Definition at line 426 of file vxge-config.h.
#define VXGE_HW_INFO_LEN 64 |
Definition at line 780 of file vxge-config.h.
#define VXGE_HW_INITIAL_DMA_BLOCK_POOL_SIZE 0 |
Definition at line 425 of file vxge-config.h.
#define VXGE_HW_INTR_MODE_DEF 0 |
Definition at line 436 of file vxge-config.h.
#define VXGE_HW_INTR_MODE_IRQLINE 0 |
Definition at line 432 of file vxge-config.h.
#define VXGE_HW_INTR_MODE_MSIX 1 |
Definition at line 433 of file vxge-config.h.
#define VXGE_HW_INTR_MODE_MSIX_ONE_SHOT 2 |
Definition at line 434 of file vxge-config.h.
#define VXGE_HW_MAX_DEVICE_POLL_MILLIS 100000 |
Definition at line 419 of file vxge-config.h.
#define VXGE_HW_MAX_DMA_BLOCK_POOL_SIZE 4096 |
Definition at line 427 of file vxge-config.h.
#define VXGE_HW_MAX_FIFO_ALIGNMENT_SIZE 65536 |
Definition at line 271 of file vxge-config.h.
#define VXGE_HW_MAX_FIFO_BLOCKS 128 |
Definition at line 258 of file vxge-config.h.
#define VXGE_HW_MAX_FIFO_FRAGS 256 |
Definition at line 262 of file vxge-config.h.
#define VXGE_HW_MAX_FIFO_MEMBLOCK_SIZE 131072 |
Definition at line 266 of file vxge-config.h.
#define VXGE_HW_MAX_MTU 9600 |
Definition at line 31 of file vxge-config.h.
#define VXGE_HW_MAX_PAYLOAD_SIZE_512 2 |
Definition at line 429 of file vxge-config.h.
#define VXGE_HW_MAX_POLLING_COUNT 100 |
Definition at line 2091 of file vxge-config.h.
#define VXGE_HW_MAX_RING_BLOCKS 128 |
Definition at line 320 of file vxge-config.h.
#define VXGE_HW_MAX_ROM_IMAGES 8 |
Definition at line 34 of file vxge-config.h.
#define VXGE_HW_MIN_DEVICE_POLL_MILLIS 1 |
Definition at line 418 of file vxge-config.h.
#define VXGE_HW_MIN_DMA_BLOCK_POOL_SIZE 0 |
Definition at line 424 of file vxge-config.h.
#define VXGE_HW_MIN_FIFO_ALIGNMENT_SIZE 0 |
Definition at line 270 of file vxge-config.h.
#define VXGE_HW_MIN_FIFO_BLOCKS 2 |
Definition at line 257 of file vxge-config.h.
#define VXGE_HW_MIN_FIFO_FRAGS 1 |
Definition at line 261 of file vxge-config.h.
#define VXGE_HW_MIN_FIFO_MEMBLOCK_SIZE VXGE_HW_BLOCK_SIZE |
Definition at line 265 of file vxge-config.h.
#define VXGE_HW_MIN_MTU 68 |
Definition at line 30 of file vxge-config.h.
#define VXGE_HW_MIN_RING_BLOCKS 1 |
Definition at line 319 of file vxge-config.h.
#define VXGE_HW_MIN_SUCCESSIVE_IDLE_COUNT 5 |
Definition at line 2090 of file vxge-config.h.
#define VXGE_HW_MR_NO_SR_VH0_BASE_FUNCTION 1 |
Definition at line 799 of file vxge-config.h.
#define VXGE_HW_MR_SR_VH0_INVALID_CONFIG 4 |
Definition at line 802 of file vxge-config.h.
#define VXGE_HW_NO_MR_NO_SR_NORMAL_FUNCTION 0 |
Definition at line 798 of file vxge-config.h.
#define VXGE_HW_NO_MR_SR_VH0_FUNCTION0 2 |
Definition at line 800 of file vxge-config.h.
#define VXGE_HW_NO_MR_SR_VH0_VIRTUAL_FUNCTION 3 |
Definition at line 801 of file vxge-config.h.
#define VXGE_HW_NODBW_GET_LAST_TXD_NUMBER | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 32, 8) |
Definition at line 1117 of file vxge-config.h.
#define VXGE_HW_NODBW_GET_NO_SNOOP | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 56, 8) |
Definition at line 1120 of file vxge-config.h.
#define VXGE_HW_NODBW_GET_TYPE | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 0, 8) |
Definition at line 1113 of file vxge-config.h.
Definition at line 1118 of file vxge-config.h.
Definition at line 1121 of file vxge-config.h.
#define VXGE_HW_NODBW_LIST_NO_SNOOP_TX_FRAME_DATA_READ 0x1 |
Definition at line 1123 of file vxge-config.h.
#define VXGE_HW_NODBW_LIST_NO_SNOOP_TXD_READ_TXD0_WRITE 0x2 |
Definition at line 1122 of file vxge-config.h.
Definition at line 1114 of file vxge-config.h.
#define VXGE_HW_NODBW_TYPE_NODBW 0 |
Definition at line 1115 of file vxge-config.h.
#define VXGE_HW_RING_DEFAULT 1 |
Definition at line 316 of file vxge-config.h.
#define VXGE_HW_RING_DISABLE 0 |
Definition at line 315 of file vxge-config.h.
#define VXGE_HW_RING_ENABLE 1 |
Definition at line 314 of file vxge-config.h.
Definition at line 1426 of file vxge-config.h.
#define VXGE_HW_RING_RXD_1_BUFFER0_SIZE_GET | ( | ctrl1 | ) | vxge_bVALn(ctrl1, 2, 14) |
Definition at line 1425 of file vxge-config.h.
#define VXGE_HW_RING_RXD_1_BUFFER0_SIZE_MASK vxge_vBIT(0x3FFF, 2, 14) |
Definition at line 1427 of file vxge-config.h.
#define VXGE_HW_RING_RXD_1_RTH_HASH_VAL_GET | ( | ctrl1 | ) | vxge_bVALn(ctrl1, 16, 32) |
Definition at line 1429 of file vxge-config.h.
#define VXGE_HW_RING_RXD_BUFFER_MODE_1 1 |
Definition at line 324 of file vxge-config.h.
#define VXGE_HW_RING_RXD_BUFFER_MODE_3 3 |
Definition at line 325 of file vxge-config.h.
#define VXGE_HW_RING_RXD_BUFFER_MODE_5 5 |
Definition at line 326 of file vxge-config.h.
#define VXGE_HW_RING_RXD_BUFFER_MODE_DEFAULT 1 |
Definition at line 327 of file vxge-config.h.
#define VXGE_HW_RING_RXD_ETHER_ENCAP_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 25, 2) |
Definition at line 1415 of file vxge-config.h.
#define VXGE_HW_RING_RXD_FAST_PATH_ELIGIBLE_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 8, 1) |
Definition at line 1392 of file vxge-config.h.
#define VXGE_HW_RING_RXD_FRAME_PROTO_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 27, 5) |
Definition at line 1417 of file vxge-config.h.
#define VXGE_HW_RING_RXD_IS_ICMP_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 17, 1) |
Definition at line 1405 of file vxge-config.h.
#define VXGE_HW_RING_RXD_IS_VLAN_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 24, 1) |
Definition at line 1413 of file vxge-config.h.
#define VXGE_HW_RING_RXD_L3_CKSUM_CORRECT_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 9, 1) |
Definition at line 1394 of file vxge-config.h.
#define VXGE_HW_RING_RXD_L3_CKSUM_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 32, 16) |
Definition at line 1419 of file vxge-config.h.
#define VXGE_HW_RING_RXD_L4_CKSUM_CORRECT_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 10, 1) |
Definition at line 1396 of file vxge-config.h.
#define VXGE_HW_RING_RXD_L4_CKSUM_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 48, 16) |
Definition at line 1421 of file vxge-config.h.
#define VXGE_HW_RING_RXD_LIST_OWN_ADAPTER vxge_mBIT(7) |
Definition at line 1390 of file vxge-config.h.
#define VXGE_HW_RING_RXD_RTH_BUCKET_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 0, 7) |
Definition at line 1388 of file vxge-config.h.
#define VXGE_HW_RING_RXD_RTH_HASH_TYPE_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 20, 4) |
Definition at line 1411 of file vxge-config.h.
#define VXGE_HW_RING_RXD_RTH_IT_HIT_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 19, 1) |
Definition at line 1409 of file vxge-config.h.
#define VXGE_HW_RING_RXD_RTH_SPDM_HIT_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 18, 1) |
Definition at line 1407 of file vxge-config.h.
#define VXGE_HW_RING_RXD_SYN_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 16, 1) |
Definition at line 1403 of file vxge-config.h.
Definition at line 1399 of file vxge-config.h.
#define VXGE_HW_RING_RXD_T_CODE_GET | ( | ctrl0 | ) | vxge_bVALn(ctrl0, 12, 4) |
Definition at line 1398 of file vxge-config.h.
#define VXGE_HW_RING_RXD_T_CODE_UNUSED VXGE_HW_RING_T_CODE_UNUSED |
Definition at line 1401 of file vxge-config.h.
#define VXGE_HW_RING_RXD_VLAN_TAG_GET | ( | ctrl1 | ) | vxge_bVALn(ctrl1, 48, 16) |
Definition at line 1431 of file vxge-config.h.
#define VXGE_HW_RING_SCATTER_MODE_A 0 |
Definition at line 330 of file vxge-config.h.
#define VXGE_HW_RING_SCATTER_MODE_B 1 |
Definition at line 331 of file vxge-config.h.
#define VXGE_HW_RING_SCATTER_MODE_C 2 |
Definition at line 332 of file vxge-config.h.
#define VXGE_HW_RING_SCATTER_MODE_USE_FLASH_DEFAULT 0xffffffff |
Definition at line 333 of file vxge-config.h.
#define VXGE_HW_RTH_DEFAULT 0 |
Definition at line 441 of file vxge-config.h.
#define VXGE_HW_RTH_DISABLE 0 |
Definition at line 439 of file vxge-config.h.
#define VXGE_HW_RTH_ENABLE 1 |
Definition at line 440 of file vxge-config.h.
#define VXGE_HW_RTH_IT_TYPE_DEFAULT 0 |
Definition at line 446 of file vxge-config.h.
#define VXGE_HW_RTH_IT_TYPE_MULTI_IT 1 |
Definition at line 445 of file vxge-config.h.
#define VXGE_HW_RTH_IT_TYPE_SOLO_IT 0 |
Definition at line 444 of file vxge-config.h.
#define VXGE_HW_RTS_MAC_DEFAULT 0 |
Definition at line 451 of file vxge-config.h.
#define VXGE_HW_RTS_MAC_DISABLE 0 |
Definition at line 449 of file vxge-config.h.
#define VXGE_HW_RTS_MAC_ENABLE 1 |
Definition at line 450 of file vxge-config.h.
#define VXGE_HW_SR_VH_FUNCTION0 5 |
Definition at line 803 of file vxge-config.h.
#define VXGE_HW_SR_VH_VIRTUAL_FUNCTION 6 |
Definition at line 804 of file vxge-config.h.
#define VXGE_HW_VH_NORMAL_FUNCTION 7 |
Definition at line 805 of file vxge-config.h.
#define VXGE_HW_VP_NOT_OPEN 0 |
Definition at line 678 of file vxge-config.h.
#define VXGE_HW_VP_OPEN 1 |
Definition at line 679 of file vxge-config.h.
#define VXGE_HW_VPATH_BANDWIDTH_DEFAULT 0 |
Definition at line 370 of file vxge-config.h.
#define VXGE_HW_VPATH_BANDWIDTH_MAX 100 |
Definition at line 369 of file vxge-config.h.
#define VXGE_HW_VPATH_BANDWIDTH_MIN 0 |
Definition at line 368 of file vxge-config.h.
#define VXGE_HW_VPATH_MAX_INITIAL_MTU VXGE_HW_MAX_MTU |
Definition at line 379 of file vxge-config.h.
#define VXGE_HW_VPATH_MIN_INITIAL_MTU VXGE_HW_MIN_MTU |
Definition at line 378 of file vxge-config.h.
#define VXGE_HW_VPATH_PRIORITY_DEFAULT 0 |
Definition at line 365 of file vxge-config.h.
#define VXGE_HW_VPATH_PRIORITY_MAX 16 |
Definition at line 364 of file vxge-config.h.
#define VXGE_HW_VPATH_PRIORITY_MIN 0 |
Definition at line 363 of file vxge-config.h.
#define VXGE_HW_VPATH_RPA_STRIP_VLAN_TAG_DISABLE 0 |
Definition at line 384 of file vxge-config.h.
#define VXGE_HW_VPATH_RPA_STRIP_VLAN_TAG_ENABLE 1 |
Definition at line 383 of file vxge-config.h.
#define VXGE_HW_VPATH_RPA_STRIP_VLAN_TAG_USE_FLASH_DEFAULT 0xffffffff |
Definition at line 385 of file vxge-config.h.
#define VXGE_HW_VPATH_USE_FLASH_DEFAULT_INITIAL_MTU 0xffffffff |
Definition at line 380 of file vxge-config.h.
VXGE_HW_CHANNEL_TYPE_UNKNOWN | |
VXGE_HW_CHANNEL_TYPE_FIFO | |
VXGE_HW_CHANNEL_TYPE_RING | |
VXGE_HW_CHANNEL_TYPE_MAX |
Definition at line 573 of file vxge-config.h.
enum vxge_debug_level |
enum vxge_debug_level : debug disabled : all errors going to be logged out : all errors plus all kind of verbose tracing print outs going to be logged out. Very noisy.
This enumeration going to be used to switch between different debug levels during runtime if DEBUG macro defined during compilation. If DEBUG macro not defined than code will be compiled out.
Definition at line 71 of file vxge-config.h.
enum enum vxge_hw_device_link_state - Link state enumeration. : Invalid link state. : Link is down. : Link is up.
Definition at line 155 of file vxge-config.h.
enum enum vxge_hw_fw_upgrade_code - FW upgrade return codes. : All OK send next 16 bytes : upload completed : upload error : skip bytes in the stream
VXGE_HW_FW_UPGRADE_OK | |
VXGE_HW_FW_UPGRADE_DONE | |
VXGE_HW_FW_UPGRADE_ERR | |
VXGE_FW_UPGRADE_BYTES2SKIP |
Definition at line 169 of file vxge-config.h.
enum enum vxge_hw_fw_upgrade_err_code - FW upgrade error codes. : corrupt data : buffer overflow : invalid .ncf file : invalid .ncf file : invalid .ncf file : invalid .ncf file : corrupt data : invalid .ncf file : generic error unknown type : failed to flash image check failed
Definition at line 189 of file vxge-config.h.
Definition at line 1436 of file vxge-config.h.
enum vxge_hw_status |
Definition at line 105 of file vxge-config.h.
enum vxge_hw_txdl_state |
enum enum vxge_hw_txdl_state - Descriptor (TXDL) state. : Invalid state. : Descriptor is available for reservation. : Descriptor is posted for processing by the device. : Descriptor is free and can be reused for filling-in and posting later.
Titan/HW descriptor states.
VXGE_HW_TXDL_STATE_NONE | |
VXGE_HW_TXDL_STATE_AVAIL | |
VXGE_HW_TXDL_STATE_POSTED | |
VXGE_HW_TXDL_STATE_FREED |
Definition at line 969 of file vxge-config.h.
enum vxge_hw_status __vxge_hw_device_is_privilaged | ( | u32 | host_type, |
u32 | func_id | ||
) |
Definition at line 690 of file vxge-config.c.
enum vxge_hw_status __devinit vxge_hw_device_config_default_get | ( | struct vxge_hw_device_config * | device_config | ) |
Definition at line 2921 of file vxge-config.c.
void vxge_hw_device_debug_set | ( | struct __vxge_hw_device * | devh, |
enum vxge_debug_level | level, | ||
u32 | mask | ||
) |
Definition at line 1852 of file vxge-config.c.
u32 vxge_hw_device_error_level_get | ( | struct __vxge_hw_device * | devh | ) |
Definition at line 1877 of file vxge-config.c.
enum vxge_hw_status vxge_hw_device_flick_link_led | ( | struct __vxge_hw_device * | hldev, |
u64 | on_off | ||
) |
vxge_hw_device_flick_link_led - Flick (blink) link LED. : HW device. : TRUE if flickering to be on, FALSE to be off
Flicker the link LED.
Definition at line 3626 of file vxge-config.c.
enum vxge_hw_status vxge_hw_device_getpause_data | ( | struct __vxge_hw_device * | devh, |
u32 | port, | ||
u32 * | tx, | ||
u32 * | rx | ||
) |
Definition at line 1909 of file vxge-config.c.
enum vxge_hw_status __devinit vxge_hw_device_hw_info_get | ( | void __iomem * | bar0, |
struct vxge_hw_device_hw_info * | hw_info | ||
) |
enum vxge_hw_status __devinit vxge_hw_device_initialize | ( | struct __vxge_hw_device ** | devh, |
struct vxge_hw_device_attr * | attr, | ||
struct vxge_hw_device_config * | device_config | ||
) |
Definition at line 1314 of file vxge-config.c.
u16 vxge_hw_device_link_width_get | ( | struct __vxge_hw_device * | devh | ) |
Definition at line 1980 of file vxge-config.c.
const u8* vxge_hw_device_product_name_get | ( | struct __vxge_hw_device * | devh | ) |
const u8* vxge_hw_device_serial_number_get | ( | struct __vxge_hw_device * | devh | ) |
enum vxge_hw_status vxge_hw_device_setpause_data | ( | struct __vxge_hw_device * | devh, |
u32 | port, | ||
u32 | tx, | ||
u32 | rx | ||
) |
Definition at line 1944 of file vxge-config.c.
void vxge_hw_device_terminate | ( | struct __vxge_hw_device * | devh | ) |
Definition at line 1400 of file vxge-config.c.
u32 vxge_hw_device_trace_level_get | ( | struct __vxge_hw_device * | devh | ) |
Definition at line 1893 of file vxge-config.c.
void vxge_hw_device_wait_receive_idle | ( | struct __vxge_hw_device * | hldev | ) |
Definition at line 99 of file vxge-config.c.
enum vxge_hw_status vxge_hw_flash_fw | ( | struct __vxge_hw_device * | hldev | ) |
Definition at line 247 of file vxge-config.c.
enum vxge_hw_status vxge_hw_upgrade_read_version | ( | struct __vxge_hw_device * | hldev, |
u32 * | major, | ||
u32 * | minor, | ||
u32 * | build | ||
) |
Definition at line 223 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_check_leak | ( | struct __vxge_hw_ring * | ring | ) |
vxge_hw_vpath_check_leak - Check for memory leak : Handle to the ring object used for receive
If PRC_RXD_DOORBELL_VPn.NEW_QW_CNT is larger or equal to PRC_CFG6_VPn.RXD_SPAT then a leak has occurred. Returns: VXGE_HW_FAIL, if leak has occurred.
Definition at line 3953 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_close | ( | struct __vxge_hw_vpath_handle * | vpath_handle | ) |
Definition at line 4981 of file vxge-config.c.
void vxge_hw_vpath_enable | ( | struct __vxge_hw_vpath_handle * | vp | ) |
Definition at line 5110 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_eprom_img_ver_get | ( | struct __vxge_hw_device * | hldev, |
struct eprom_image * | eprom_image_data | ||
) |
Definition at line 374 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_mtu_set | ( | struct __vxge_hw_vpath_handle * | vpath_handle, |
u32 | new_mtu | ||
) |
Definition at line 4718 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_open | ( | struct __vxge_hw_device * | devh, |
struct vxge_hw_vpath_attr * | attr, | ||
struct __vxge_hw_vpath_handle ** | vpath_handle | ||
) |
Definition at line 4813 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_recover_from_reset | ( | struct __vxge_hw_vpath_handle * | vpath_handle | ) |
Definition at line 5058 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_reset | ( | struct __vxge_hw_vpath_handle * | vpath_handle | ) |
Definition at line 5032 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_rts_rth_itable_set | ( | struct __vxge_hw_vpath_handle ** | vpath_handles, |
u32 | vpath_count, | ||
u8 * | mtable, | ||
u8 * | itable, | ||
u32 | itable_size | ||
) |
Definition at line 3814 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_rts_rth_set | ( | struct __vxge_hw_vpath_handle * | vpath_handle, |
enum vxge_hw_rth_algoritms | algorithm, | ||
struct vxge_hw_rth_hash_types * | hash_type, | ||
u16 | bucket_size | ||
) |
Definition at line 3720 of file vxge-config.c.
void vxge_hw_vpath_rx_doorbell_init | ( | struct __vxge_hw_vpath_handle * | vp | ) |
vxge_hw_vpath_rx_doorbell_post - Close the handle got from previous vpath (vpath) open : Handle got from previous vpath open
This function is used to close access to virtual path opened earlier.
Definition at line 4918 of file vxge-config.c.
enum vxge_hw_status vxge_hw_vpath_strip_fcs_check | ( | struct __vxge_hw_device * | hldev, |
u64 | vpath_mask | ||
) |
Definition at line 3228 of file vxge-config.c.
int vxge_hw_vpath_wait_receive_idle | ( | struct __vxge_hw_device * | hldev, |
u32 | vp_id | ||
) |
Definition at line 47 of file vxge-config.c.
enum vxge_hw_status vxge_update_fw_image | ( | struct __vxge_hw_device * | hldev, |
const u8 * | filebuf, | ||
int | size | ||
) |
Definition at line 278 of file vxge-config.c.