diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index e0c7dfabf2b4..753a983a5fdc 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h | |||
@@ -732,29 +732,6 @@ extern int ipoib_debug_level; | |||
732 | do { (void) (priv); } while (0) | 732 | do { (void) (priv); } while (0) |
733 | #endif /* CONFIG_INFINIBAND_IPOIB_DEBUG_DATA */ | 733 | #endif /* CONFIG_INFINIBAND_IPOIB_DEBUG_DATA */ |
734 | 734 | ||
735 | |||
736 | #define IPOIB_GID_FMT "%2.2x%2.2x:%2.2x%2.2x:%2.2x%2.2x:%2.2x%2.2x:" \ | ||
737 | "%2.2x%2.2x:%2.2x%2.2x:%2.2x%2.2x:%2.2x%2.2x" | ||
738 | |||
739 | #define IPOIB_GID_RAW_ARG(gid) ((u8 *)(gid))[0], \ | ||
740 | ((u8 *)(gid))[1], \ | ||
741 | ((u8 *)(gid))[2], \ | ||
742 | ((u8 *)(gid))[3], \ | ||
743 | ((u8 *)(gid))[4], \ | ||
744 | ((u8 *)(gid))[5], \ | ||
745 | ((u8 *)(gid))[6], \ | ||
746 | ((u8 *)(gid))[7], \ | ||
747 | ((u8 *)(gid))[8], \ | ||
748 | ((u8 *)(gid))[9], \ | ||
749 | ((u8 *)(gid))[10],\ | ||
750 | ((u8 *)(gid))[11],\ | ||
751 | ((u8 *)(gid))[12],\ | ||
752 | ((u8 *)(gid))[13],\ | ||
753 | ((u8 *)(gid))[14],\ | ||
754 | ((u8 *)(gid))[15] | ||
755 | |||
756 | #define IPOIB_GID_ARG(gid) IPOIB_GID_RAW_ARG((gid).raw) | ||
757 | |||
758 | #define IPOIB_QPN(ha) (be32_to_cpup((__be32 *) ha) & 0xffffff) | 735 | #define IPOIB_QPN(ha) (be32_to_cpup((__be32 *) ha) & 0xffffff) |
759 | 736 | ||
760 | #endif /* _IPOIB_H */ | 737 | #endif /* _IPOIB_H */ |