Lines Matching defs:max

948 	u16 next, max = rxr->rx_agg_bmap_size;
950 next = find_next_zero_bit(rxr->rx_agg_bmap, max, idx);
951 if (next >= max)
952 next = find_first_zero_bit(rxr->rx_agg_bmap, max);
2639 "%s firmware reset event, data1: 0x%x, data2: 0x%x, min wait %u ms, max wait %u ms\n",
4360 rx_space = rx_size + ALIGN(max(NET_SKB_PAD, XDP_PACKET_HEADROOM), 8) +
4405 ALIGN(max(NET_SKB_PAD, XDP_PACKET_HEADROOM), 8) -
6146 max_ring = max(max_ring, bp->rss_indir_tbl[i]);
7115 static int __bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max,
7117 static int bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max,
7700 u16 val, tmr, max, flags = hw_coal->flags;
7703 max = hw_coal->bufs_per_record * 128;
7705 max = hw_coal->bufs_per_record * hw_coal->budget;
7706 max = min_t(u16, max, coal_cap->num_cmpl_aggr_int_max);
7708 val = clamp_t(u16, hw_coal->coal_bufs, 1, max);
9478 netdev_warn(bp->dev, "Device requests max timeout of %d seconds, may trigger hung task watchdog\n",
10295 static int __bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max,
10301 *rx = min_t(int, _rx, max);
10302 *tx = min_t(int, _tx, max);
10304 if (max < 2)
10307 while (_rx + _tx > max) {
10341 static int bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max,
10349 rc = __bnxt_trim_rings(bp, rx, &tx_cp, max, sh);
10356 return __bnxt_trim_rings(bp, rx, tx, max, sh);
10512 int i, total_vecs, max, rc = 0, min = 1, ulp_msix, tx_cp;
10516 max = bnxt_get_max_func_irqs(bp);
10517 if (total_vecs > max)
10518 total_vecs = max;
15395 /* MTU range: 60 - FW defined max */