Home
last modified time | relevance | path

Searched refs:NMTUS (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcommon.h72 #define NMTUS 8 macro
187 unsigned short mtus[NMTUS];
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ioctl.h120 uint16_t mtus[NMTUS];
H A Dcommon.h75 NMTUS = 16, /* size of MTU table */ enumerator
390 unsigned short mtus[NMTUS];
724 void t3_load_mtus(struct adapter *adap, unsigned short mtus[NMTUS],
H A Dcxgb3_main.c475 req->mtu_idx = NMTUS - 1; in init_tp_parity()
912 req->mtu_idx = NMTUS - 1; /* should be 0 but there's a T3 bug */ in write_smt_entry()
2378 if (m.nmtus != NMTUS) in cxgb_siocdevprivate()
2384 for (i = 1; i < NMTUS; ++i) in cxgb_siocdevprivate()
H A Dcxgb3_offload.c413 mtup->size = NMTUS; in cxgb_offload_ctl()
H A Dt3_hw.c2832 void t3_load_mtus(struct adapter *adap, unsigned short mtus[NMTUS], in t3_load_mtus() argument
2844 for (i = 0; i < NMTUS; ++i) { in t3_load_mtus()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.h49 NMTUS = 16, /* size of MTU table */ enumerator
H A Dcudbg_lib.c291 len = NMTUS * sizeof(u16); in cudbg_get_entity_length()
368 len = sizeof(u16) * NMTUS * NCCTRL_WIN; in cudbg_get_entity_length()
1599 rc = cudbg_get_buff(pdbg_init, dbg_buff, NMTUS * sizeof(u16), in cudbg_collect_path_mtu()
2954 size = sizeof(u16) * NMTUS * NCCTRL_WIN; in cudbg_collect_cctrl()
H A Dcxgb4.h458 unsigned short mtus[NMTUS];
1937 void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]);
H A Dcxgb4_main.c2035 while (i < NMTUS - 1 && mtus[i + 1] <= mtu) in cxgb4_best_mtu()
2074 for (mtu_idx = 0, aligned_mtu_idx = -1; mtu_idx < NMTUS; mtu_idx++) { in cxgb4_best_aligned_mtu()
2087 if (mtu_idx+1 < NMTUS && mtus[mtu_idx+1] > max_mtu) in cxgb4_best_aligned_mtu()
2094 if (mtu_idx == NMTUS) in cxgb4_best_aligned_mtu()
5392 for (i = 0; i < NMTUS; i++) in adap_init0()
H A Dt4_hw.c5743 for (i = 0; i < NMTUS; ++i) { in t4_read_mtu_tbl()
5761 void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]) in t4_read_cong_tbl()
5765 for (mtu = 0; mtu < NMTUS; ++mtu) in t4_read_cong_tbl()
5861 for (i = 0; i < NMTUS; ++i) { in t4_load_mtus()
H A Dcxgb4_debugfs.c863 incr = kmalloc_array(NMTUS, sizeof(*incr), GFP_KERNEL); in cctrl_tbl_show()
/linux/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c1326 cdev->nmtus = NMTUS; in cxgb3i_dev_open()
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c2242 cdev->nmtus = NMTUS; in t4_uld_add()