diff options
author | Devesh Sharma <devesh.sharma@emulex.com> | 2013-12-05 11:18:01 +0100 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-01-13 22:14:33 +0100 |
commit | fe5e8a1acc7fd877b6706053cf88c418c33fe7a3 (patch) | |
tree | e31cf1a44daf8aae36f683a151fec120e9e90052 /drivers/infiniband/hw/ocrdma/ocrdma_sli.h | |
parent | Linux 3.13-rc8 (diff) | |
download | linux-fe5e8a1acc7fd877b6706053cf88c418c33fe7a3.tar.xz linux-fe5e8a1acc7fd877b6706053cf88c418c33fe7a3.zip |
RDMA/ocrdma: Fix AV_VALID bit position
Fix ah->av->valid bit position and big endian portability.
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_sli.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_sli.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h index 9f9570ec3c2e..27089032c669 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h @@ -1694,7 +1694,7 @@ struct ocrdma_grh { u16 rsvd; } __packed; -#define OCRDMA_AV_VALID Bit(0) +#define OCRDMA_AV_VALID Bit(7) #define OCRDMA_AV_VLAN_VALID Bit(1) struct ocrdma_av { |