Searched refs:max_nds (Results 1 – 2 of 2) sorted by relevance
2433 int i, j, nds, max_nds; in hermon_ci_map_mem_iov() local2460 max_nds = iov_attr->iov_wr_nds; in hermon_ci_map_mem_iov()2462 max_nds -= (iov_attr->iov_lso_hdr_sz + sizeof (uint32_t) + in hermon_ci_map_mem_iov()2496 if (nds > max_nds) { in hermon_ci_map_mem_iov()2552 if (nds + cookie_cnt > max_nds) { in hermon_ci_map_mem_iov()
3092 int i, j, nds, max_nds; in tavor_ci_map_mem_iov() local3129 max_nds = iov_attr->iov_wr_nds; in tavor_ci_map_mem_iov()3131 max_nds -= (iov_attr->iov_lso_hdr_sz + sizeof (uint32_t) + in tavor_ci_map_mem_iov()3163 if (nds > max_nds) { in tavor_ci_map_mem_iov()3216 if (nds + cookie_cnt > max_nds) { in tavor_ci_map_mem_iov()