diff options
author | Rao Shoaib <rao.shoaib@oracle.com> | 2020-06-25 13:46:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-25 16:26:25 -0700 |
commit | 4c342f778fe234e0c2a2601d87fec8ba42f0d2c6 (patch) | |
tree | 4fb433b9203a0bc16f661d442a8695d4be9bcfff /include/uapi | |
parent | 6aeaf26222b230b3ab21f42e1e0d30738044ec69 (diff) | |
download | linux-stable-4c342f778fe234e0c2a2601d87fec8ba42f0d2c6.tar.gz linux-stable-4c342f778fe234e0c2a2601d87fec8ba42f0d2c6.tar.bz2 linux-stable-4c342f778fe234e0c2a2601d87fec8ba42f0d2c6.zip |
rds: transport module should be auto loaded when transport is set
This enhancement auto loads transport module when the transport
is set via SO_RDS_TRANSPORT socket option.
Reviewed-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Rao Shoaib <rao.shoaib@oracle.com>
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/rds.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index cba368e55863..c21edb966c19 100644 --- a/include/uapi/linux/rds.h +++ b/include/uapi/linux/rds.h @@ -64,10 +64,12 @@ /* supported values for SO_RDS_TRANSPORT */ #define RDS_TRANS_IB 0 -#define RDS_TRANS_IWARP 1 +#define RDS_TRANS_GAP 1 #define RDS_TRANS_TCP 2 #define RDS_TRANS_COUNT 3 #define RDS_TRANS_NONE (~0) +/* don't use RDS_TRANS_IWARP - it is deprecated */ +#define RDS_TRANS_IWARP RDS_TRANS_GAP /* IOCTLS commands for SOL_RDS */ #define SIOCRDSSETTOS (SIOCPROTOPRIVATE) |