From 4de2841b30bae846092ed092d388a1b59f459b8b Mon Sep 17 00:00:00 2001 From: isaac Date: Tue, 16 Jun 2009 23:56:11 +0000 Subject: [PATCH] - a trivial comment update. --- lnet/klnds/o2iblnd/o2iblnd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lnet/klnds/o2iblnd/o2iblnd.c b/lnet/klnds/o2iblnd/o2iblnd.c index 7ccaad0..3dddc0e 100644 --- a/lnet/klnds/o2iblnd/o2iblnd.c +++ b/lnet/klnds/o2iblnd/o2iblnd.c @@ -1656,7 +1656,8 @@ kiblnd_dev_get_attr(kib_dev_t *ibdev) struct ib_device_attr *attr; int rc; - /* XXX here should be HCA's page shift/size/mask in the future? */ + /* It's safe to assume a HCA can handle a page size + * matching that of the native system */ ibdev->ibd_page_shift = PAGE_SHIFT; ibdev->ibd_page_size = 1 << PAGE_SHIFT; ibdev->ibd_page_mask = ~((__u64)ibdev->ibd_page_size - 1); -- 1.8.3.1