Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h72 #define NMTUS 8 macro
187 unsigned short mtus[NMTUS];
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h120 uint16_t mtus[NMTUS];
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],
Dcxgb3_main.c476 req->mtu_idx = NMTUS - 1; in init_tp_parity()
913 req->mtu_idx = NMTUS - 1; /* should be 0 but there's a T3 bug */ in write_smt_entry()
2379 if (m.nmtus != NMTUS) in cxgb_siocdevprivate()
2385 for (i = 1; i < NMTUS; ++i) in cxgb_siocdevprivate()
Dcxgb3_offload.c413 mtup->size = NMTUS; in cxgb_offload_ctl()
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-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.h49 NMTUS = 16, /* size of MTU table */ enumerator
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()
Dcxgb4.h458 unsigned short mtus[NMTUS];
1937 void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]);
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()
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()
Dcxgb4_debugfs.c863 incr = kmalloc_array(NMTUS, sizeof(*incr), GFP_KERNEL); in cctrl_tbl_show()
/linux-6.6.21/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1326 cdev->nmtus = NMTUS; in cxgb3i_dev_open()
/linux-6.6.21/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c2242 cdev->nmtus = NMTUS; in t4_uld_add()