cxgbe/iw_cxgbe: Do not check the size of the memory region being
registered. T4/5/6 have no internal limit on this size. This is probably a copy paste from the T3 iw_cxgb driver. MFC after: 3 days Sponsored by: Chelsio Communications
This commit is contained in:
parent
576429f04b
commit
f52a45c98e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314509
@ -341,9 +341,6 @@ static int build_phys_page_list(struct ib_phys_buf *buffer_list,
|
||||
PAGE_SIZE - 1) & PAGE_MASK;
|
||||
}
|
||||
|
||||
if (*total_size > 0xFFFFFFFFULL)
|
||||
return -ENOMEM;
|
||||
|
||||
/* Find largest page shift we can use to cover buffers */
|
||||
for (*shift = PAGE_SHIFT; *shift < 27; ++(*shift))
|
||||
if ((1ULL << *shift) & mask)
|
||||
|
Loading…
Reference in New Issue
Block a user