/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_cm.h | 65 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-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 323 const unsigned short *mtus; /* MTU table */ member 401 unsigned int cxgb4_best_mtu(const unsigned short *mtus, unsigned short mtu, 403 unsigned int cxgb4_best_aligned_mtu(const unsigned short *mtus,
|
D | cxgb4_main.c | 1633 unsigned int cxgb4_best_mtu(const unsigned short *mtus, unsigned short mtu, in cxgb4_best_mtu() argument 1638 while (i < NMTUS - 1 && mtus[i + 1] <= mtu) in cxgb4_best_mtu() 1642 return mtus[i]; in cxgb4_best_mtu() 1662 unsigned int cxgb4_best_aligned_mtu(const unsigned short *mtus, in cxgb4_best_aligned_mtu() argument 1678 unsigned short data_size = mtus[mtu_idx] - header_size; in cxgb4_best_aligned_mtu() 1690 if (mtu_idx+1 < NMTUS && mtus[mtu_idx+1] > max_mtu) in cxgb4_best_aligned_mtu() 1713 return mtus[mtu_idx]; in cxgb4_best_aligned_mtu() 4878 t4_read_mtu_tbl(adap, adap->params.mtus, NULL); in adap_init0() 4900 if (adap->params.mtus[i] == 1492) { in adap_init0() 4901 adap->params.mtus[i] = 1488; in adap_init0() [all …]
|
D | cxgb4_uld.c | 661 lld->mtus = adap->params.mtus; in uld_init()
|
D | cxgb4.h | 385 unsigned short mtus[NMTUS]; member 1727 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log); 1744 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus,
|
D | t4_hw.c | 5750 void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log) in t4_read_mtu_tbl() argument 5759 mtus[i] = MTUVALUE_G(v); in t4_read_mtu_tbl() 5862 void t4_load_mtus(struct adapter *adap, const unsigned short *mtus, in t4_load_mtus() argument 5874 unsigned int mtu = mtus[i]; in t4_load_mtus()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_ctl_defs.h | 78 const unsigned short *mtus; /* the MTU table values */ member
|
D | t3_hw.c | 2816 static void init_mtus(unsigned short mtus[]) in init_mtus() argument 2823 mtus[0] = 88; in init_mtus() 2824 mtus[1] = 88; in init_mtus() 2825 mtus[2] = 256; in init_mtus() 2826 mtus[3] = 512; in init_mtus() 2827 mtus[4] = 576; in init_mtus() 2828 mtus[5] = 1024; in init_mtus() 2829 mtus[6] = 1280; in init_mtus() 2830 mtus[7] = 1492; in init_mtus() 2831 mtus[8] = 1500; in init_mtus() [all …]
|
D | cxgb3_ioctl.h | 120 uint16_t mtus[NMTUS]; member
|
D | cxgb3_offload.h | 193 const unsigned short *mtus; member
|
D | cxgb3_main.c | 935 unsigned int mtus = adapter->port[0]->mtu; in init_port_mtus() local 938 mtus |= adapter->port[1]->mtu << 16; in init_port_mtus() 939 t3_write_reg(adapter, A_TP_MTU_PORT_TABLE, mtus); in init_port_mtus() 1369 t3_load_mtus(adapter, adapter->params.mtus, adapter->params.a_wnd, in offload_open() 2381 if (m.mtus[0] < 81) /* accommodate SACK */ in cxgb_extension_ioctl() 2386 if (m.mtus[i] < m.mtus[i - 1]) in cxgb_extension_ioctl() 2389 memcpy(adapter->params.mtus, m.mtus, in cxgb_extension_ioctl() 2390 sizeof(adapter->params.mtus)); in cxgb_extension_ioctl() 2566 t3_load_mtus(adapter, adapter->params.mtus, in cxgb_change_mtu()
|
D | cxgb3_offload.c | 414 mtup->mtus = adapter->params.mtus; in cxgb_offload_ctl() 1251 t->mtus = mtutab.mtus; in cxgb3_offload_activate()
|
D | common.h | 390 unsigned short mtus[NMTUS]; member 726 void t3_load_mtus(struct adapter *adap, unsigned short mtus[NMTUS],
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 197 unsigned short mtus[NMTUS]; member
|
/Linux-v5.4/drivers/crypto/chelsio/chtls/ |
D | chtls_main.c | 250 cdev->mtus = lldi->mtus; in chtls_uld_add()
|
D | chtls.h | 130 const unsigned short *mtus; member
|
D | chtls_cm.c | 113 tp->rx_opt.mss_clamp = cdev->mtus[TCPOPT_MSS_G(opt)] - 40; in assign_rxopt() 879 tp->advmss = cxgb4_best_aligned_mtu(cdev->lldi->mtus, in chtls_select_mss()
|
/Linux-v5.4/drivers/scsi/cxgbi/ |
D | libcxgbi.h | 469 const unsigned short *mtus; member
|
D | libcxgbi.c | 1089 while (i < csk->cdev->nmtus - 1 && csk->cdev->mtus[i + 1] <= mtu) in cxgbi_sock_find_best_mtu() 1104 if (csk->advmss < csk->cdev->mtus[0] - 40) in cxgbi_sock_select_mss() 1105 csk->advmss = csk->cdev->mtus[0] - 40; in cxgbi_sock_select_mss()
|
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 863 csk->advmss = lldi->mtus[TCPOPT_MSS_G(tcp_opt)] - 40; in do_act_establish() 1779 cxgb4_best_mtu(lldi->mtus, csk->mtu, &csk->mss_idx); in init_act_open() 2142 cdev->mtus = lldi->mtus; in t4_uld_add()
|
/Linux-v5.4/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 1316 cdev->mtus = adapter->params.mtus; in cxgb3i_dev_open()
|
/Linux-v5.4/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 761 csk->emss = csk->com.cdev->lldi.mtus[TCPOPT_MSS_G(opt)] - in cxgbit_set_emss() 1154 cxgb_best_mtu(csk->com.cdev->lldi.mtus, csk->mtu, &mtu_idx, in cxgbit_pass_accept_rpl()
|
/Linux-v5.4/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 250 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() 1987 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in send_fw_act_open_req() 2425 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in accept_cr()
|
/Linux-v5.4/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 229 ep->emss = T3C_DATA(ep->com.tdev)->mtus[G_TCPOPT_MSS(opt)] - 40; in set_emss() 353 while (i < d->nmtus - 1 && d->mtus[i + 1] <= mtu) in find_best_mtu()
|
/Linux-v5.4/Documentation/networking/ |
D | ip-sysctl.txt | 51 which tries to discover path mtus by itself and depends on the
|