rds: Remove IPv6 dependency
This patch removes the IPv6 dependency from RDS. Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f394ad28fe
commit
e65d4d9633
@@ -180,6 +180,7 @@ void rds_ib_get_mr_info(struct rds_ib_device *rds_ibdev, struct rds_info_rdma_co
|
||||
iinfo->rdma_mr_size = pool_1m->fmr_attr.max_pages;
|
||||
}
|
||||
|
||||
#if IS_ENABLED(CONFIG_IPV6)
|
||||
void rds6_ib_get_mr_info(struct rds_ib_device *rds_ibdev,
|
||||
struct rds6_info_rdma_connection *iinfo6)
|
||||
{
|
||||
@@ -188,6 +189,7 @@ void rds6_ib_get_mr_info(struct rds_ib_device *rds_ibdev,
|
||||
iinfo6->rdma_mr_max = pool_1m->max_items;
|
||||
iinfo6->rdma_mr_size = pool_1m->fmr_attr.max_pages;
|
||||
}
|
||||
#endif
|
||||
|
||||
struct rds_ib_mr *rds_ib_reuse_mr(struct rds_ib_mr_pool *pool)
|
||||
{
|
||||
|
Reference in New Issue
Block a user