Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c833 bitmap_zero(s->starving_fl, s->egr_sz); in setup_fw_sge_queues()
834 bitmap_zero(s->txq_maperr, s->egr_sz); in setup_fw_sge_queues()
3574 ret = t4_cfg_pfvf(adap, adap->mbox, adap->pf, 0, adap->sge.egr_sz, 64, in adap_init1()
4340 adap->sge.egr_sz = val[0] - adap->sge.egr_start + 1; in adap_init0()
4343 adap->sge.egr_map = kcalloc(adap->sge.egr_sz, in adap_init0()
4360 adap->sge.starving_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
4367 adap->sge.txq_maperr = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
4375 adap->sge.blocked_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
5593 bitmap_zero(adapter->sge.blocked_fl, adapter->sge.egr_sz); in init_one()
Dcxgb4_debugfs.c3252 ssize_t size = (adap->sge.egr_sz + 3) / 4 + in blocked_fl_read()
3253 adap->sge.egr_sz / 32 + 2; /* includes ,/\n/\0 */ in blocked_fl_read()
3260 adap->sge.egr_sz, adap->sge.blocked_fl); in blocked_fl_read()
3274 t = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), sizeof(long), GFP_KERNEL); in blocked_fl_write()
3278 err = bitmap_parse_user(ubuf, count, t, adap->sge.egr_sz); in blocked_fl_write()
3282 bitmap_copy(adap->sge.blocked_fl, t, adap->sge.egr_sz); in blocked_fl_write()
Dsge.c3256 for (i = 0; i < BITS_TO_LONGS(s->egr_sz); i++) in sge_rx_timer_cb()
3293 for (i = 0; i < BITS_TO_LONGS(s->egr_sz); i++) in sge_tx_timer_cb()
3900 adap->sge.egr_sz * sizeof(*adap->sge.egr_map)); in t4_free_sge_resources()
Dcxgb4.h810 unsigned int egr_sz; member