IB/ipath: Enable reduced PIO update for HCAs that support it.
Newer HCAs have a threshold counter to reduce the number of DMAs the chip makes to update the PIO buffer availability status bits. This patch enables the feature. Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
committed by
Roland Dreier
parent
0ab6b2b9ab
commit
1d7c2e529f
@@ -349,6 +349,7 @@ struct ipath_devdata {
|
||||
u32 ipath_lastrpkts;
|
||||
/* pio bufs allocated per port */
|
||||
u32 ipath_pbufsport;
|
||||
u32 ipath_pioupd_thresh; /* update threshold, some chips */
|
||||
/*
|
||||
* number of ports configured as max; zero is set to number chip
|
||||
* supports, less gives more pio bufs/port, etc.
|
||||
|
Reference in New Issue
Block a user