diff options
author | Hoang-Nam Nguyen <hnguyen@de.ibm.com> | 2006-11-05 21:42:56 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-13 08:46:28 -0800 |
commit | c58121143f87930621c1a6fa9683b6862f2b42c9 (patch) | |
tree | ad7523e1bbae9df75875c5a350834efea6008cdf /drivers/infiniband/hw/ehca/hipz_hw.h | |
parent | 7e28db5d8ff63b1cabc221c5cb84a5f45752f1c2 (diff) |
IB/ehca: Use named constant for max mtu
Define and use a constant EHCA_MAX_MTU instead hardcoded value.
Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/hipz_hw.h')
-rw-r--r-- | drivers/infiniband/hw/ehca/hipz_hw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/hipz_hw.h b/drivers/infiniband/hw/ehca/hipz_hw.h index 3fc92b031c5..fad91368dc5 100644 --- a/drivers/infiniband/hw/ehca/hipz_hw.h +++ b/drivers/infiniband/hw/ehca/hipz_hw.h @@ -45,6 +45,8 @@ #include "ehca_tools.h" +#define EHCA_MAX_MTU 4 + /* QP Table Entry Memory Map */ struct hipz_qptemm { u64 qpx_hcr; |