diff options
author | Chien Tung <ctung@neteffect.com> | 2008-09-26 15:08:10 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-09-30 15:35:46 -0700 |
commit | 2b537c2824194d50072ab260f54d6fe4cb8d17e8 (patch) | |
tree | cbfaf2ecce497f8a51dc24bd93da1afa185af260 /drivers/infiniband/hw/nes/nes_hw.h | |
parent | de182149c31786b2b07fa408fb076599b29232a1 (diff) | |
download | op-kernel-dev-2b537c2824194d50072ab260f54d6fe4cb8d17e8.zip op-kernel-dev-2b537c2824194d50072ab260f54d6fe4cb8d17e8.tar.gz |
RDMA/nes: Add wqm_quanta module option
Add a module parameter wqm_quanta. It controls the number of segments
transmitted at a time.
Signed-off-by: Sweta Bhatt <sweta.bhatt@einfochips.com>
Signed-off-by: Chien Tung <ctung@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_hw.h')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_hw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_hw.h b/drivers/infiniband/hw/nes/nes_hw.h index fc0f063..82d0676 100644 --- a/drivers/infiniband/hw/nes/nes_hw.h +++ b/drivers/infiniband/hw/nes/nes_hw.h @@ -156,6 +156,7 @@ enum indexed_regs { NES_IDX_ENDNODE0_NSTAT_TX_OCTETS_HI = 0x7004, NES_IDX_ENDNODE0_NSTAT_TX_FRAMES_LO = 0x7008, NES_IDX_ENDNODE0_NSTAT_TX_FRAMES_HI = 0x700c, + NES_IDX_WQM_CONFIG1 = 0x5004, NES_IDX_CM_CONFIG = 0x5100, NES_IDX_NIC_LOGPORT_TO_PHYPORT = 0x6000, NES_IDX_NIC_PHYPORT_TO_USW = 0x6008, @@ -1079,6 +1080,7 @@ struct nes_adapter { u32 et_rx_max_coalesced_frames_high; u32 et_rate_sample_interval; u32 timer_int_limit; + u32 wqm_quanta; /* Adapter base MAC address */ u32 mac_addr_low; |