Home
last modified time | relevance | path

Searched refs:egr_sz (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c3212 ssize_t size = (adap->sge.egr_sz + 3) / 4 + in blocked_fl_read()
3213 adap->sge.egr_sz / 32 + 2; /* includes ,/\n/\0 */ in blocked_fl_read()
3220 adap->sge.egr_sz, adap->sge.blocked_fl); in blocked_fl_read()
3234 t = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), sizeof(long), GFP_KERNEL); in blocked_fl_write()
3238 err = bitmap_parse_user(ubuf, count, t, adap->sge.egr_sz); in blocked_fl_write()
3244 bitmap_copy(adap->sge.blocked_fl, t, adap->sge.egr_sz); in blocked_fl_write()
Dcxgb4_main.c960 bitmap_zero(s->starving_fl, s->egr_sz); in setup_fw_sge_queues()
961 bitmap_zero(s->txq_maperr, s->egr_sz); in setup_fw_sge_queues()
3743 ret = t4_cfg_pfvf(adap, adap->mbox, adap->pf, 0, adap->sge.egr_sz, 64, in adap_init1()
4552 adap->sge.egr_sz = val[0] - adap->sge.egr_start + 1; in adap_init0()
4555 adap->sge.egr_map = kcalloc(adap->sge.egr_sz, in adap_init0()
4572 adap->sge.starving_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
4579 adap->sge.txq_maperr = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
4587 adap->sge.blocked_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
5842 bitmap_zero(adapter->sge.blocked_fl, adapter->sge.egr_sz); in init_one()
Dsge.c3423 for (i = 0; i < BITS_TO_LONGS(s->egr_sz); i++) in sge_rx_timer_cb()
3460 for (i = 0; i < BITS_TO_LONGS(s->egr_sz); i++) in sge_tx_timer_cb()
4110 adap->sge.egr_sz * sizeof(*adap->sge.egr_map)); in t4_free_sge_resources()
Dcxgb4.h834 unsigned int egr_sz; member