Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
nes.h File Reference
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/spinlock.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/workqueue.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <linux/crc32c.h>
#include <rdma/ib_smi.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_pack.h>
#include <rdma/rdma_cm.h>
#include <rdma/iw_cm.h>
#include "nes_hw.h"
#include "nes_verbs.h"
#include "nes_context.h"
#include "nes_user.h"
#include "nes_cm.h"
#include "nes_mgt.h"

Go to the source code of this file.

Data Structures

struct  nes_device
 
struct  nes_rskb_cb
 

Macros

#define NES_SEND_FIRST_WRITE
 
#define QUEUE_DISCONNECTS
 
#define DRV_NAME   "iw_nes"
 
#define DRV_VERSION   "1.5.0.1"
 
#define PFX   DRV_NAME ": "
 
#define PCI_VENDOR_ID_NETEFFECT   0x1678
 
#define PCI_DEVICE_ID_NETEFFECT_NE020   0x0100
 
#define PCI_DEVICE_ID_NETEFFECT_NE020_KR   0x0110
 
#define NE020_REV   4
 
#define NE020_REV1   5
 
#define BAR_0   0
 
#define BAR_1   2
 
#define RX_BUF_SIZE   (1536 + 8)
 
#define NES_REG0_SIZE   (4 * 1024)
 
#define NES_TX_TIMEOUT   (6*HZ)
 
#define NES_FIRST_QPN   64
 
#define NES_SW_CONTEXT_ALIGN   1024
 
#define NES_NIC_MAX_NICS   16
 
#define NES_MAX_ARP_TABLE_SIZE   4096
 
#define NES_NIC_CEQ_SIZE   8
 
#define NES_CCEQ_SIZE   ((nesadapter->max_cq / nesadapter->port_count) - 32)
 
#define NES_MAX_PORT_COUNT   4
 
#define MAX_DPC_ITERATIONS   128
 
#define NES_DRV_OPT_ENABLE_MPA_VER_0   0x00000001
 
#define NES_DRV_OPT_DISABLE_MPA_CRC   0x00000002
 
#define NES_DRV_OPT_DISABLE_FIRST_WRITE   0x00000004
 
#define NES_DRV_OPT_DISABLE_INTF   0x00000008
 
#define NES_DRV_OPT_ENABLE_MSI   0x00000010
 
#define NES_DRV_OPT_DUAL_LOGICAL_PORT   0x00000020
 
#define NES_DRV_OPT_SUPRESS_OPTION_BC   0x00000040
 
#define NES_DRV_OPT_NO_INLINE_DATA   0x00000080
 
#define NES_DRV_OPT_DISABLE_INT_MOD   0x00000100
 
#define NES_DRV_OPT_DISABLE_VIRT_WQ   0x00000200
 
#define NES_DRV_OPT_ENABLE_PAU   0x00000400
 
#define NES_AEQ_EVENT_TIMEOUT   2500
 
#define NES_DISCONNECT_EVENT_TIMEOUT   2000
 
#define NES_DBG_HW   0x00000001
 
#define NES_DBG_INIT   0x00000002
 
#define NES_DBG_ISR   0x00000004
 
#define NES_DBG_PHY   0x00000008
 
#define NES_DBG_NETDEV   0x00000010
 
#define NES_DBG_CM   0x00000020
 
#define NES_DBG_CM1   0x00000040
 
#define NES_DBG_NIC_RX   0x00000080
 
#define NES_DBG_NIC_TX   0x00000100
 
#define NES_DBG_CQP   0x00000200
 
#define NES_DBG_MMAP   0x00000400
 
#define NES_DBG_MR   0x00000800
 
#define NES_DBG_PD   0x00001000
 
#define NES_DBG_CQ   0x00002000
 
#define NES_DBG_QP   0x00004000
 
#define NES_DBG_MOD_QP   0x00008000
 
#define NES_DBG_AEQ   0x00010000
 
#define NES_DBG_IW_RX   0x00020000
 
#define NES_DBG_IW_TX   0x00040000
 
#define NES_DBG_SHUTDOWN   0x00080000
 
#define NES_DBG_PAU   0x00100000
 
#define NES_DBG_RSVD1   0x10000000
 
#define NES_DBG_RSVD2   0x20000000
 
#define NES_DBG_RSVD3   0x40000000
 
#define NES_DBG_RSVD4   0x80000000
 
#define NES_DBG_ALL   0xffffffff
 
#define nes_debug(level, fmt, args...)
 
#define assert(expr)   do {} while (0)
 
#define NES_EVENT_TIMEOUT   100000
 
#define max_frame_len   (max_mtu+ETH_HLEN)
 

Enumerations

enum  nes_resource {
  NES_RESOURCE_MW = 1, NES_RESOURCE_FAST_MR, NES_RESOURCE_PHYS_MR, NES_RESOURCE_USER_MR,
  NES_RESOURCE_PD, NES_RESOURCE_QP, NES_RESOURCE_CQ, NES_RESOURCE_ARP
}
 

Functions

void nes_add_ref (struct ib_qp *)
 
void nes_rem_ref (struct ib_qp *)
 
struct ib_qpnes_get_qp (struct ib_device *, int)
 
struct nes_adapternes_init_adapter (struct nes_device *, u8)
 
void nes_nic_init_timer_defaults (struct nes_device *, u8)
 
void nes_destroy_adapter (struct nes_adapter *)
 
int nes_init_cqp (struct nes_device *)
 
int nes_init_phy (struct nes_device *)
 
int nes_init_nic_qp (struct nes_device *, struct net_device *)
 
void nes_destroy_nic_qp (struct nes_vnic *)
 
int nes_napi_isr (struct nes_device *)
 
void nes_dpc (unsigned long)
 
void nes_nic_ce_handler (struct nes_device *, struct nes_hw_nic_cq *)
 
void nes_iwarp_ce_handler (struct nes_device *, struct nes_hw_cq *)
 
int nes_destroy_cqp (struct nes_device *)
 
int nes_nic_cm_xmit (struct sk_buff *, struct net_device *)
 
void nes_recheck_link_status (struct work_struct *work)
 
struct net_devicenes_netdev_init (struct nes_device *, void __iomem *)
 
void nes_netdev_destroy (struct net_device *)
 
voidnes_cm_create (struct net_device *)
 
int nes_cm_recv (struct sk_buff *, struct net_device *)
 
void nes_update_arp (unsigned char *, u32, u32, u16, u16)
 
void nes_manage_arp_cache (struct net_device *, unsigned char *, u32, u32)
 
void nes_sock_release (struct nes_qp *, unsigned long *)
 
void flush_wqes (struct nes_device *nesdev, struct nes_qp *, u32, u32)
 
int nes_manage_apbvt (struct nes_vnic *, u32, u32, u32)
 
int nes_cm_disconn (struct nes_qp *)
 
void nes_cm_disconn_worker (void *)
 
int nes_hw_modify_qp (struct nes_device *, struct nes_qp *, u32, u32, u32)
 
int nes_modify_qp (struct ib_qp *, struct ib_qp_attr *, int, struct ib_udata *)
 
struct nes_ib_devicenes_init_ofa_device (struct net_device *)
 
void nes_port_ibevent (struct nes_vnic *nesvnic)
 
void nes_destroy_ofa_device (struct nes_ib_device *)
 
int nes_register_ofa_device (struct nes_ib_device *)
 
int nes_read_eeprom_values (struct nes_device *, struct nes_adapter *)
 
void nes_write_1G_phy_reg (struct nes_device *, u8, u8, u16)
 
void nes_read_1G_phy_reg (struct nes_device *, u8, u8, u16 *)
 
void nes_write_10G_phy_reg (struct nes_device *, u16, u8, u16, u16)
 
void nes_read_10G_phy_reg (struct nes_device *, u8, u8, u16)
 
struct nes_cqp_requestnes_get_cqp_request (struct nes_device *)
 
void nes_free_cqp_request (struct nes_device *nesdev, struct nes_cqp_request *cqp_request)
 
void nes_put_cqp_request (struct nes_device *nesdev, struct nes_cqp_request *cqp_request)
 
void nes_post_cqp_request (struct nes_device *, struct nes_cqp_request *)
 
int nes_arp_table (struct nes_device *, u32, u8 *, u32)
 
void nes_mh_fix (unsigned long)
 
void nes_clc (unsigned long)
 
void nes_dump_mem (unsigned int, void *, int)
 
u32 nes_crc32 (u32, u32, u32, u32, u8 *, u32, u32, u32)
 

Variables

int max_mtu
 
int interrupt_mod_interval
 
int nes_if_count
 
int mpa_version
 
int disable_mpa_crc
 
unsigned int nes_drv_opt
 
unsigned int nes_debug_level
 
unsigned int wqm_quanta
 
struct list_head nes_adapter_list
 
atomic_t cm_connects
 
atomic_t cm_accepts
 
atomic_t cm_disconnects
 
atomic_t cm_closes
 
atomic_t cm_connecteds
 
atomic_t cm_connect_reqs
 
atomic_t cm_rejects
 
atomic_t mod_qp_timouts
 
atomic_t qps_created
 
atomic_t qps_destroyed
 
atomic_t sw_qps_destroyed
 
u32 mh_detected
 
u32 mh_pauses_sent
 
u32 cm_packets_sent
 
u32 cm_packets_bounced
 
u32 cm_packets_created
 
u32 cm_packets_received
 
u32 cm_packets_dropped
 
u32 cm_packets_retrans
 
atomic_t cm_listens_created
 
atomic_t cm_listens_destroyed
 
u32 cm_backlog_drops
 
atomic_t cm_loopbacks
 
atomic_t cm_nodes_created
 
atomic_t cm_nodes_destroyed
 
atomic_t cm_accel_dropped_pkts
 
atomic_t cm_resets_recvd
 
atomic_t pau_qps_created
 
atomic_t pau_qps_destroyed
 
u32 int_mod_timer_init
 
u32 int_mod_cq_depth_256
 
u32 int_mod_cq_depth_128
 
u32 int_mod_cq_depth_32
 
u32 int_mod_cq_depth_24
 
u32 int_mod_cq_depth_16
 
u32 int_mod_cq_depth_4
 
u32 int_mod_cq_depth_1
 

Macro Definition Documentation

#define assert (   expr)    do {} while (0)

Definition at line 157 of file nes.h.

#define BAR_0   0

Definition at line 75 of file nes.h.

#define BAR_1   2

Definition at line 76 of file nes.h.

#define DRV_NAME   "iw_nes"

Definition at line 59 of file nes.h.

#define DRV_VERSION   "1.5.0.1"

Definition at line 60 of file nes.h.

#define MAX_DPC_ITERATIONS   128

Definition at line 93 of file nes.h.

#define max_frame_len   (max_mtu+ETH_HLEN)

Definition at line 170 of file nes.h.

#define NE020_REV   4

Definition at line 72 of file nes.h.

#define NE020_REV1   5

Definition at line 73 of file nes.h.

#define NES_AEQ_EVENT_TIMEOUT   2500

Definition at line 107 of file nes.h.

#define NES_CCEQ_SIZE   ((nesadapter->max_cq / nesadapter->port_count) - 32)

Definition at line 89 of file nes.h.

#define NES_DBG_AEQ   0x00010000

Definition at line 128 of file nes.h.

#define NES_DBG_ALL   0xffffffff

Definition at line 137 of file nes.h.

#define NES_DBG_CM   0x00000020

Definition at line 117 of file nes.h.

#define NES_DBG_CM1   0x00000040

Definition at line 118 of file nes.h.

#define NES_DBG_CQ   0x00002000

Definition at line 125 of file nes.h.

#define NES_DBG_CQP   0x00000200

Definition at line 121 of file nes.h.

#define NES_DBG_HW   0x00000001

Definition at line 112 of file nes.h.

#define NES_DBG_INIT   0x00000002

Definition at line 113 of file nes.h.

#define NES_DBG_ISR   0x00000004

Definition at line 114 of file nes.h.

#define NES_DBG_IW_RX   0x00020000

Definition at line 129 of file nes.h.

#define NES_DBG_IW_TX   0x00040000

Definition at line 130 of file nes.h.

#define NES_DBG_MMAP   0x00000400

Definition at line 122 of file nes.h.

#define NES_DBG_MOD_QP   0x00008000

Definition at line 127 of file nes.h.

#define NES_DBG_MR   0x00000800

Definition at line 123 of file nes.h.

#define NES_DBG_NETDEV   0x00000010

Definition at line 116 of file nes.h.

#define NES_DBG_NIC_RX   0x00000080

Definition at line 119 of file nes.h.

#define NES_DBG_NIC_TX   0x00000100

Definition at line 120 of file nes.h.

#define NES_DBG_PAU   0x00100000

Definition at line 132 of file nes.h.

#define NES_DBG_PD   0x00001000

Definition at line 124 of file nes.h.

#define NES_DBG_PHY   0x00000008

Definition at line 115 of file nes.h.

#define NES_DBG_QP   0x00004000

Definition at line 126 of file nes.h.

#define NES_DBG_RSVD1   0x10000000

Definition at line 133 of file nes.h.

#define NES_DBG_RSVD2   0x20000000

Definition at line 134 of file nes.h.

#define NES_DBG_RSVD3   0x40000000

Definition at line 135 of file nes.h.

#define NES_DBG_RSVD4   0x80000000

Definition at line 136 of file nes.h.

#define NES_DBG_SHUTDOWN   0x00080000

Definition at line 131 of file nes.h.

#define nes_debug (   level,
  fmt,
  args... 
)

Definition at line 156 of file nes.h.

#define NES_DISCONNECT_EVENT_TIMEOUT   2000

Definition at line 108 of file nes.h.

#define NES_DRV_OPT_DISABLE_FIRST_WRITE   0x00000004

Definition at line 97 of file nes.h.

#define NES_DRV_OPT_DISABLE_INT_MOD   0x00000100

Definition at line 103 of file nes.h.

#define NES_DRV_OPT_DISABLE_INTF   0x00000008

Definition at line 98 of file nes.h.

#define NES_DRV_OPT_DISABLE_MPA_CRC   0x00000002

Definition at line 96 of file nes.h.

#define NES_DRV_OPT_DISABLE_VIRT_WQ   0x00000200

Definition at line 104 of file nes.h.

#define NES_DRV_OPT_DUAL_LOGICAL_PORT   0x00000020

Definition at line 100 of file nes.h.

#define NES_DRV_OPT_ENABLE_MPA_VER_0   0x00000001

Definition at line 95 of file nes.h.

#define NES_DRV_OPT_ENABLE_MSI   0x00000010

Definition at line 99 of file nes.h.

#define NES_DRV_OPT_ENABLE_PAU   0x00000400

Definition at line 105 of file nes.h.

#define NES_DRV_OPT_NO_INLINE_DATA   0x00000080

Definition at line 102 of file nes.h.

#define NES_DRV_OPT_SUPRESS_OPTION_BC   0x00000040

Definition at line 101 of file nes.h.

#define NES_EVENT_TIMEOUT   100000

Definition at line 159 of file nes.h.

#define NES_FIRST_QPN   64

Definition at line 81 of file nes.h.

#define NES_MAX_ARP_TABLE_SIZE   4096

Definition at line 85 of file nes.h.

#define NES_MAX_PORT_COUNT   4

Definition at line 91 of file nes.h.

#define NES_NIC_CEQ_SIZE   8

Definition at line 87 of file nes.h.

#define NES_NIC_MAX_NICS   16

Definition at line 84 of file nes.h.

#define NES_REG0_SIZE   (4 * 1024)

Definition at line 79 of file nes.h.

#define NES_SEND_FIRST_WRITE

Definition at line 55 of file nes.h.

#define NES_SW_CONTEXT_ALIGN   1024

Definition at line 82 of file nes.h.

#define NES_TX_TIMEOUT   (6*HZ)

Definition at line 80 of file nes.h.

#define PCI_DEVICE_ID_NETEFFECT_NE020   0x0100

Definition at line 68 of file nes.h.

#define PCI_DEVICE_ID_NETEFFECT_NE020_KR   0x0110

Definition at line 69 of file nes.h.

#define PCI_VENDOR_ID_NETEFFECT   0x1678

Definition at line 67 of file nes.h.

#define PFX   DRV_NAME ": "

Definition at line 61 of file nes.h.

#define QUEUE_DISCONNECTS

Definition at line 57 of file nes.h.

#define RX_BUF_SIZE   (1536 + 8)

Definition at line 78 of file nes.h.

Enumeration Type Documentation

Enumerator:
NES_RESOURCE_MW 
NES_RESOURCE_FAST_MR 
NES_RESOURCE_PHYS_MR 
NES_RESOURCE_USER_MR 
NES_RESOURCE_PD 
NES_RESOURCE_QP 
NES_RESOURCE_CQ 
NES_RESOURCE_ARP 

Definition at line 401 of file nes.h.

Function Documentation

void flush_wqes ( struct nes_device nesdev,
struct nes_qp nesqp,
u32  which_wq,
u32  wait_completion 
)

flush_wqes

Definition at line 3886 of file nes_hw.c.

void nes_add_ref ( struct ib_qp ibqp)

nes_add_ref

Definition at line 254 of file nes.c.

int nes_arp_table ( struct nes_device nesdev,
u32  ip_addr,
u8 mac_addr,
u32  action 
)

nes_arp_table

Definition at line 683 of file nes_utils.c.

void nes_clc ( unsigned long  parm)

nes_clc

Definition at line 883 of file nes_utils.c.

void* nes_cm_create ( struct net_device )
int nes_cm_disconn ( struct nes_qp nesqp)

nes_cm_disconn

Definition at line 2770 of file nes_cm.c.

void nes_cm_disconn_worker ( void )
int nes_cm_recv ( struct sk_buff skb,
struct net_device netdevice 
)

nes_cm_recv

Definition at line 3445 of file nes_cm.c.

u32 nes_crc32 ( u32  ,
u32  ,
u32  ,
u32  ,
u8 ,
u32  ,
u32  ,
u32   
)
void nes_destroy_adapter ( struct nes_adapter nesadapter)

nes_destroy_adapter - destroy the adapter structure

Definition at line 956 of file nes_hw.c.

int nes_destroy_cqp ( struct nes_device nesdev)

nes_destroy_cqp

Definition at line 1211 of file nes_hw.c.

void nes_destroy_nic_qp ( struct nes_vnic nesvnic)

nes_destroy_nic_qp

Definition at line 1914 of file nes_hw.c.

void nes_destroy_ofa_device ( struct nes_ib_device nesibdev)

nes_destroy_ofa_device

Definition at line 3974 of file nes_verbs.c.

void nes_dpc ( unsigned long  param)

nes_dpc

Definition at line 2147 of file nes_hw.c.

void nes_dump_mem ( unsigned int  dump_debug_level,
void addr,
int  length 
)

nes_dump_mem

Definition at line 904 of file nes_utils.c.

void nes_free_cqp_request ( struct nes_device nesdev,
struct nes_cqp_request cqp_request 
)

Definition at line 598 of file nes_utils.c.

struct nes_cqp_request* nes_get_cqp_request ( struct nes_device nesdev)
read

nes_get_cqp_request

Definition at line 561 of file nes_utils.c.

struct ib_qp* nes_get_qp ( struct ib_device device,
int  qpn 
)
read

nes_get_qp

Definition at line 350 of file nes.c.

int nes_hw_modify_qp ( struct nes_device nesdev,
struct nes_qp nesqp,
u32  next_iwarp_state,
u32  termlen,
u32  wait_completion 
)

nes_hw_modify_qp

Definition at line 2836 of file nes_verbs.c.

struct nes_adapter* nes_init_adapter ( struct nes_device nesdev,
u8  hw_rev 
)
read

nes_init_adapter - initialize adapter

Definition at line 255 of file nes_hw.c.

int nes_init_cqp ( struct nes_device nesdev)

nes_init_cqp

Definition at line 981 of file nes_hw.c.

int nes_init_nic_qp ( struct nes_device nesdev,
struct net_device netdev 
)

nes_init_nic_qp

Definition at line 1668 of file nes_hw.c.

struct nes_ib_device* nes_init_ofa_device ( struct net_device netdev)
read

nes_init_ofa_device

Definition at line 3824 of file nes_verbs.c.

int nes_init_phy ( struct nes_device nesdev)

nes_init_phy

Definition at line 1514 of file nes_hw.c.

void nes_iwarp_ce_handler ( struct nes_device nesdev,
struct nes_hw_cq hw_cq 
)

nes_iwarp_ce_handler

Definition at line 3760 of file nes_hw.c.

int nes_manage_apbvt ( struct nes_vnic nesvnic,
u32  accel_local_port,
u32  nic_index,
u32  add_port 
)

nes_manage_apbvt()

Definition at line 3778 of file nes_hw.c.

void nes_manage_arp_cache ( struct net_device netdev,
unsigned char mac_addr,
u32  ip_addr,
u32  action 
)

nes_manage_arp_cache

Definition at line 3832 of file nes_hw.c.

void nes_mh_fix ( unsigned long  parm)

nes_mh_fix

Definition at line 742 of file nes_utils.c.

int nes_modify_qp ( struct ib_qp ibqp,
struct ib_qp_attr attr,
int  attr_mask,
struct ib_udata udata 
)

nes_modify_qp

Definition at line 2913 of file nes_verbs.c.

int nes_napi_isr ( struct nes_device nesdev)

nes_napi_isr

Definition at line 2061 of file nes_hw.c.

void nes_netdev_destroy ( struct net_device netdev)

nes_netdev_destroy - destroy network device structure

Definition at line 1849 of file nes_nic.c.

struct net_device* nes_netdev_init ( struct nes_device nesdev,
void __iomem mmio_addr 
)
read

nes_netdev_init - initialize network device

Definition at line 1651 of file nes_nic.c.

void nes_nic_ce_handler ( struct nes_device nesdev,
struct nes_hw_nic_cq cq 
)

nes_nic_ce_handler

Definition at line 2789 of file nes_hw.c.

int nes_nic_cm_xmit ( struct sk_buff skb,
struct net_device netdev 
)

nes_nic_cm_xmit – CM calls this to send out pkts

Definition at line 1869 of file nes_nic.c.

void nes_nic_init_timer_defaults ( struct nes_device nesdev,
u8  jumbomode 
)

nes_nic_init_timer_defaults

Definition at line 125 of file nes_hw.c.

void nes_port_ibevent ( struct nes_vnic nesvnic)

Definition at line 3948 of file nes_verbs.c.

void nes_post_cqp_request ( struct nes_device nesdev,
struct nes_cqp_request cqp_request 
)

nes_post_cqp_request

Definition at line 627 of file nes_utils.c.

void nes_put_cqp_request ( struct nes_device nesdev,
struct nes_cqp_request cqp_request 
)

Definition at line 616 of file nes_utils.c.

void nes_read_10G_phy_reg ( struct nes_device nesdev,
u8  phy_addr,
u8  dev_addr,
u16  phy_reg 
)

nes_read_10G_phy_reg This routine only issues the read, the data must be read separately.

Definition at line 518 of file nes_utils.c.

void nes_read_1G_phy_reg ( struct nes_device nesdev,
u8  phy_reg,
u8  phy_addr,
u16 data 
)

nes_read_1G_phy_reg This routine only issues the read, the data must be read separately.

Definition at line 440 of file nes_utils.c.

int nes_read_eeprom_values ( struct nes_device nesdev,
struct nes_adapter nesadapter 
)

nes_read_eeprom_values -

Definition at line 85 of file nes_utils.c.

void nes_recheck_link_status ( struct work_struct work)

Definition at line 2693 of file nes_hw.c.

int nes_register_ofa_device ( struct nes_ib_device nesibdev)

nes_register_ofa_device

Definition at line 3989 of file nes_verbs.c.

void nes_rem_ref ( struct ib_qp ibqp)

nes_rem_ref

Definition at line 297 of file nes.c.

void nes_sock_release ( struct nes_qp ,
unsigned long  
)
void nes_update_arp ( unsigned char ,
u32  ,
u32  ,
u16  ,
u16   
)
void nes_write_10G_phy_reg ( struct nes_device nesdev,
u16  phy_addr,
u8  dev_addr,
u16  phy_reg,
u16  data 
)

nes_write_10G_phy_reg

Definition at line 472 of file nes_utils.c.

void nes_write_1G_phy_reg ( struct nes_device nesdev,
u8  phy_reg,
u8  phy_addr,
u16  data 
)

nes_write_1G_phy_reg

Definition at line 413 of file nes_utils.c.

Variable Documentation

atomic_t cm_accel_dropped_pkts

Definition at line 77 of file nes_cm.c.

atomic_t cm_accepts

Definition at line 152 of file nes_cm.c.

u32 cm_backlog_drops

Definition at line 73 of file nes_cm.c.

atomic_t cm_closes

Definition at line 154 of file nes_cm.c.

atomic_t cm_connect_reqs

Definition at line 156 of file nes_cm.c.

atomic_t cm_connecteds

Definition at line 155 of file nes_cm.c.

atomic_t cm_connects

Definition at line 151 of file nes_cm.c.

atomic_t cm_disconnects

Definition at line 153 of file nes_cm.c.

atomic_t cm_listens_created

Definition at line 71 of file nes_cm.c.

atomic_t cm_listens_destroyed

Definition at line 72 of file nes_cm.c.

atomic_t cm_loopbacks

Definition at line 74 of file nes_cm.c.

atomic_t cm_nodes_created

Definition at line 75 of file nes_cm.c.

atomic_t cm_nodes_destroyed

Definition at line 76 of file nes_cm.c.

u32 cm_packets_bounced

Definition at line 66 of file nes_cm.c.

u32 cm_packets_created

Definition at line 69 of file nes_cm.c.

u32 cm_packets_dropped

Definition at line 67 of file nes_cm.c.

u32 cm_packets_received

Definition at line 70 of file nes_cm.c.

u32 cm_packets_retrans

Definition at line 68 of file nes_cm.c.

u32 cm_packets_sent

Definition at line 65 of file nes_cm.c.

atomic_t cm_rejects

Definition at line 157 of file nes_cm.c.

atomic_t cm_resets_recvd

Definition at line 78 of file nes_cm.c.

int disable_mpa_crc

Definition at line 78 of file nes.c.

u32 int_mod_cq_depth_1

Definition at line 62 of file nes_hw.c.

u32 int_mod_cq_depth_128

Definition at line 57 of file nes_hw.c.

u32 int_mod_cq_depth_16

Definition at line 60 of file nes_hw.c.

u32 int_mod_cq_depth_24

Definition at line 59 of file nes_hw.c.

u32 int_mod_cq_depth_256

Definition at line 56 of file nes_hw.c.

u32 int_mod_cq_depth_32

Definition at line 58 of file nes_hw.c.

u32 int_mod_cq_depth_4

Definition at line 61 of file nes_hw.c.

u32 int_mod_timer_init

Definition at line 55 of file nes_hw.c.

int interrupt_mod_interval

Definition at line 69 of file nes.c.

int max_mtu

Definition at line 432 of file hipz_hw.h.

u32 mh_detected

Definition at line 56 of file nes_utils.c.

u32 mh_pauses_sent

Definition at line 57 of file nes_utils.c.

atomic_t mod_qp_timouts

Definition at line 49 of file nes_verbs.c.

int mpa_version

Definition at line 73 of file nes.c.

struct list_head nes_adapter_list
unsigned int nes_debug_level

Definition at line 86 of file nes.c.

unsigned int nes_drv_opt

Definition at line 82 of file nes.c.

int nes_if_count
atomic_t pau_qps_created

Definition at line 43 of file nes_mgt.c.

atomic_t pau_qps_destroyed

Definition at line 44 of file nes_mgt.c.

atomic_t qps_created

Definition at line 50 of file nes_verbs.c.

atomic_t qps_destroyed

Definition at line 101 of file nes.c.

atomic_t sw_qps_destroyed

Definition at line 51 of file nes_verbs.c.

unsigned int wqm_quanta

Definition at line 90 of file nes.c.