Lines Matching defs:max
859 u16 next, max = rxr->rx_agg_bmap_size;
861 next = find_next_zero_bit(rxr->rx_agg_bmap, max, idx);
862 if (next >= max)
863 next = find_first_zero_bit(rxr->rx_agg_bmap, max);
2276 "%s firmware reset event, data1: 0x%x, data2: 0x%x, min wait %u ms, max wait %u ms\n",
3904 rx_space = rx_size + ALIGN(max(NET_SKB_PAD, XDP_PACKET_HEADROOM), 8) +
3949 ALIGN(max(NET_SKB_PAD, XDP_PACKET_HEADROOM), 8) -
5226 max_ring = max(max_ring, bp->rss_indir_tbl[i]);
6148 static int bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max,
6696 u16 val, tmr, max, flags = hw_coal->flags;
6699 max = hw_coal->bufs_per_record * 128;
6701 max = hw_coal->bufs_per_record * hw_coal->budget;
6702 max = min_t(u16, max, coal_cap->num_cmpl_aggr_int_max);
6704 val = clamp_t(u16, hw_coal->coal_bufs, 1, max);
8241 netdev_warn(bp->dev, "Device requests max timeout of %d seconds, may trigger hung task watchdog\n",
8948 static int bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max,
8954 *rx = min_t(int, _rx, max);
8955 *tx = min_t(int, _tx, max);
8957 if (max < 2)
8960 while (_rx + _tx > max) {
9134 int i, total_vecs, max, rc = 0, min = 1, ulp_msix;
9138 max = bnxt_get_max_func_irqs(bp);
9139 if (total_vecs > max)
9140 total_vecs = max;
13747 /* MTU range: 60 - FW defined max */