Home
last modified time | relevance | path

Searched refs:mtus (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.h65 cxgb_best_mtu(const unsigned short *mtus, unsigned short mtu, in cxgb_best_mtu() argument
76 cxgb4_best_aligned_mtu(mtus, hdr_size, data_size, 8, idx); in cxgb_best_mtu()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c2752 static void init_mtus(unsigned short mtus[]) in init_mtus() argument
2759 mtus[0] = 88; in init_mtus()
2760 mtus[1] = 88; in init_mtus()
2761 mtus[2] = 256; in init_mtus()
2762 mtus[3] = 512; in init_mtus()
2763 mtus[4] = 576; in init_mtus()
2764 mtus[5] = 1024; in init_mtus()
2765 mtus[6] = 1280; in init_mtus()
2766 mtus[7] = 1492; in init_mtus()
2767 mtus[8] = 1500; in init_mtus()
[all …]
Dcxgb3_ctl_defs.h78 const unsigned short *mtus; /* the MTU table values */ member
Dcxgb3_ioctl.h120 uint16_t mtus[NMTUS]; member
Dcxgb3_offload.h193 const unsigned short *mtus; member
Dcxgb3_main.c933 unsigned int mtus = adapter->port[0]->mtu; in init_port_mtus() local
936 mtus |= adapter->port[1]->mtu << 16; in init_port_mtus()
937 t3_write_reg(adapter, A_TP_MTU_PORT_TABLE, mtus); in init_port_mtus()
1368 t3_load_mtus(adapter, adapter->params.mtus, adapter->params.a_wnd, in offload_open()
2381 if (m.mtus[0] < 81) /* accommodate SACK */ in cxgb_siocdevprivate()
2386 if (m.mtus[i] < m.mtus[i - 1]) in cxgb_siocdevprivate()
2389 memcpy(adapter->params.mtus, m.mtus, in cxgb_siocdevprivate()
2390 sizeof(adapter->params.mtus)); in cxgb_siocdevprivate()
2566 t3_load_mtus(adapter, adapter->params.mtus, in cxgb_change_mtu()
Dcxgb3_offload.c414 mtup->mtus = adapter->params.mtus; in cxgb_offload_ctl()
1251 t->mtus = mtutab.mtus; in cxgb3_offload_activate()
Dcommon.h390 unsigned short mtus[NMTUS]; member
724 void t3_load_mtus(struct adapter *adap, unsigned short mtus[NMTUS],
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h428 const unsigned short *mtus; /* MTU table */ member
513 unsigned int cxgb4_best_mtu(const unsigned short *mtus, unsigned short mtu,
515 unsigned int cxgb4_best_aligned_mtu(const unsigned short *mtus,
Dcxgb4_uld.c607 lld->mtus = adap->params.mtus; in uld_init()
Dcxgb4_main.c2030 unsigned int cxgb4_best_mtu(const unsigned short *mtus, unsigned short mtu, in cxgb4_best_mtu() argument
2035 while (i < NMTUS - 1 && mtus[i + 1] <= mtu) in cxgb4_best_mtu()
2039 return mtus[i]; in cxgb4_best_mtu()
2059 unsigned int cxgb4_best_aligned_mtu(const unsigned short *mtus, in cxgb4_best_aligned_mtu() argument
2075 unsigned short data_size = mtus[mtu_idx] - header_size; in cxgb4_best_aligned_mtu()
2087 if (mtu_idx+1 < NMTUS && mtus[mtu_idx+1] > max_mtu) in cxgb4_best_aligned_mtu()
2110 return mtus[mtu_idx]; in cxgb4_best_aligned_mtu()
5371 t4_read_mtu_tbl(adap, adap->params.mtus, NULL); in adap_init0()
5393 if (adap->params.mtus[i] == 1492) { in adap_init0()
5394 adap->params.mtus[i] = 1488; in adap_init0()
[all …]
Dcxgb4.h458 unsigned short mtus[NMTUS]; member
1936 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log);
1953 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus,
Dt4_hw.c5738 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log) in t4_read_mtu_tbl() argument
5747 mtus[i] = MTUVALUE_G(v); in t4_read_mtu_tbl()
5850 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, in t4_load_mtus() argument
5862 unsigned int mtu = mtus[i]; in t4_load_mtus()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h187 unsigned short mtus[NMTUS]; member
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_main.c257 cdev->mtus = lldi->mtus; in chtls_uld_add()
Dchtls.h221 const unsigned short *mtus; member
Dchtls_cm.c152 tp->rx_opt.mss_clamp = cdev->mtus[TCPOPT_MSS_G(opt)] - 40; in assign_rxopt()
979 tp->advmss = cxgb4_best_aligned_mtu(cdev->lldi->mtus, in chtls_select_mss()
/linux-6.6.21/drivers/scsi/cxgbi/
Dlibcxgbi.h484 const unsigned short *mtus; member
Dlibcxgbi.c1092 while (i < csk->cdev->nmtus - 1 && csk->cdev->mtus[i + 1] <= mtu) in cxgbi_sock_find_best_mtu()
1107 if (csk->advmss < csk->cdev->mtus[0] - 40) in cxgbi_sock_select_mss()
1108 csk->advmss = csk->cdev->mtus[0] - 40; in cxgbi_sock_select_mss()
/linux-6.6.21/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c945 csk->advmss = lldi->mtus[TCPOPT_MSS_G(tcp_opt)] - 40; in do_act_establish()
1860 cxgb4_best_mtu(lldi->mtus, csk->mtu, &csk->mss_idx); in init_act_open()
2241 cdev->mtus = lldi->mtus; in t4_uld_add()
/linux-6.6.21/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1325 cdev->mtus = adapter->params.mtus; in cxgb3i_dev_open()
/linux-6.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c761 csk->emss = csk->com.cdev->lldi.mtus[TCPOPT_MSS_G(opt)] - in cxgbit_set_emss()
1156 cxgb_best_mtu(csk->com.cdev->lldi.mtus, csk->mtu, &mtu_idx, in cxgbit_pass_accept_rpl()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dcm.c250 ep->emss = ep->com.dev->rdev.lldi.mtus[TCPOPT_MSS_G(opt)] - in set_emss()
775 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in send_connect()
1990 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in send_fw_act_open_req()
2428 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in accept_cr()
/linux-6.6.21/Documentation/networking/
Dip-sysctl.rst61 which tries to discover path mtus by itself and depends on the