Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c1035 bitmap_zero(s->starving_fl, s->egr_sz); in setup_sge_queues()
1036 bitmap_zero(s->txq_maperr, s->egr_sz); in setup_sge_queues()
3172 ret = t4_cfg_pfvf(adap, adap->mbox, adap->pf, 0, adap->sge.egr_sz, 64, in adap_init1()
3895 adap->sge.egr_sz = val[0] - adap->sge.egr_start + 1; in adap_init0()
3898 adap->sge.egr_map = kcalloc(adap->sge.egr_sz, in adap_init0()
3915 adap->sge.starving_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
3922 adap->sge.txq_maperr = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
3930 adap->sge.blocked_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
4782 bitmap_zero(adapter->sge.blocked_fl, adapter->sge.egr_sz); in init_one()
Dcxgb4_debugfs.c2649 ssize_t size = (adap->sge.egr_sz + 3) / 4 + in blocked_fl_read()
2650 adap->sge.egr_sz / 32 + 2; /* includes ,/\n/\0 */ in blocked_fl_read()
2657 adap->sge.egr_sz, adap->sge.blocked_fl); in blocked_fl_read()
2671 t = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), sizeof(long), GFP_KERNEL); in blocked_fl_write()
2675 err = bitmap_parse_user(ubuf, count, t, adap->sge.egr_sz); in blocked_fl_write()
2679 bitmap_copy(adap->sge.blocked_fl, t, adap->sge.egr_sz); in blocked_fl_write()
Dsge.c2344 for (i = 0; i < BITS_TO_LONGS(s->egr_sz); i++) in sge_rx_timer_cb()
2381 for (i = 0; i < BITS_TO_LONGS(s->egr_sz); i++) in sge_tx_timer_cb()
2927 adap->sge.egr_sz * sizeof(*adap->sge.egr_map)); in t4_free_sge_resources()
Dcxgb4.h666 unsigned int egr_sz; member