diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2007-07-24 16:55:39 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-10-09 23:04:14 -0400 |
commit | 210d6ca3db058cd1d6e6fd235ee3e25d6ac221cd (patch) | |
tree | 3fb104498d7b4144a1da0ca9d4a2241560a96ef4 /drivers/infiniband/hw/ipath/ipath_iba6120.c | |
parent | 327a338d4fd018d33e7cacde46c0d82622b4bda8 (diff) |
IB/ipath: Performance optimization for CPU differences
Different processors have different ordering restrictions for write
combining. By taking advantage of this, we can eliminate some write
barriers when writing to the send buffers.
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_iba6120.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_iba6120.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_iba6120.c b/drivers/infiniband/hw/ipath/ipath_iba6120.c index 5b6ac9a1a709..a324c6f7aeba 100644 --- a/drivers/infiniband/hw/ipath/ipath_iba6120.c +++ b/drivers/infiniband/hw/ipath/ipath_iba6120.c | |||
@@ -1273,6 +1273,8 @@ static void ipath_pe_tidtemplate(struct ipath_devdata *dd) | |||
1273 | static int ipath_pe_early_init(struct ipath_devdata *dd) | 1273 | static int ipath_pe_early_init(struct ipath_devdata *dd) |
1274 | { | 1274 | { |
1275 | dd->ipath_flags |= IPATH_4BYTE_TID; | 1275 | dd->ipath_flags |= IPATH_4BYTE_TID; |
1276 | if (ipath_unordered_wc()) | ||
1277 | dd->ipath_flags |= IPATH_PIO_FLUSH_WC; | ||
1276 | 1278 | ||
1277 | /* | 1279 | /* |
1278 | * For openfabrics, we need to be able to handle an IB header of | 1280 | * For openfabrics, we need to be able to handle an IB header of |