diff options
| author | Ralph Campbell <ralph.campbell@qlogic.com> | 2008-01-06 21:02:34 -0800 | 
|---|---|---|
| committer | Roland Dreier <rolandd@cisco.com> | 2008-01-25 14:15:39 -0800 | 
| commit | 60948a415859cb859e24f0dfe739069d66577466 (patch) | |
| tree | 392b6e21c7041998600a78821dc1ba1fba9c6572 /drivers/infiniband/hw/ipath/ipath_kernel.h | |
| parent | a18e26ae442001de62f6b84a923e8613347dc35f (diff) | |
IB/ipath: Port config has on-chip effects for 7220
The number of configured ports for the 7220 changes the number of eager
TIDs available per port, for all but port 0 (kernel port) which remains
constant, so add a field to give port0 count separate from the portdata
structure.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
| -rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index 08272bef2475..b9cca8403239 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h @@ -253,6 +253,7 @@ struct ipath_devdata {  	int (*ipath_f_get_base_info)(struct ipath_portdata *, void *);  	/* free irq */  	void (*ipath_f_free_irq)(struct ipath_devdata *); +	void (*ipath_f_config_ports)(struct ipath_devdata *, ushort);  	void (*ipath_f_read_counters)(struct ipath_devdata *,  				      struct infinipath_counters *);  	struct ipath_ibdev *verbs_dev; @@ -326,6 +327,8 @@ struct ipath_devdata {  	u32 ipath_cfgports;  	/* count of port 0 hdrqfull errors */  	u32 ipath_p0_hdrqfull; +	/* port 0 number of receive eager buffers */ +	u32 ipath_p0_rcvegrcnt;  	/*  	 * index of last piobuffer we used.  Speeds up searching, by | 
