Lines Matching refs:mtu_idx
1670 int mtu_idx, aligned_mtu_idx; in cxgb4_best_aligned_mtu() local
1677 for (mtu_idx = 0, aligned_mtu_idx = -1; mtu_idx < NMTUS; mtu_idx++) { in cxgb4_best_aligned_mtu()
1678 unsigned short data_size = mtus[mtu_idx] - header_size; in cxgb4_best_aligned_mtu()
1684 aligned_mtu_idx = mtu_idx; in cxgb4_best_aligned_mtu()
1690 if (mtu_idx+1 < NMTUS && mtus[mtu_idx+1] > max_mtu) in cxgb4_best_aligned_mtu()
1697 if (mtu_idx == NMTUS) in cxgb4_best_aligned_mtu()
1698 mtu_idx--; in cxgb4_best_aligned_mtu()
1705 mtu_idx - aligned_mtu_idx <= 1) in cxgb4_best_aligned_mtu()
1706 mtu_idx = aligned_mtu_idx; in cxgb4_best_aligned_mtu()
1712 *mtu_idxp = mtu_idx; in cxgb4_best_aligned_mtu()
1713 return mtus[mtu_idx]; in cxgb4_best_aligned_mtu()