Home
last modified time | relevance | path

Searched refs:mtu_idx (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h526 u8 mtu_idx:3; member
530 u8 mtu_idx:3; member
564 u8 mtu_idx:3; member
568 u8 mtu_idx:3; member
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h1283 __u8 mtu_idx:4; member
1287 __u8 mtu_idx:4; member
1320 __u8 mtu_idx:4; member
1324 __u8 mtu_idx:4; member
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()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c165 csk->mtu_idx = TCPOPT_MSS_G(opt); in assign_rxopt()
950 unsigned int mtu_idx; in chtls_select_mss() local
982 8, &mtu_idx); in chtls_select_mss()
986 return mtu_idx; in chtls_select_mss()
1032 csk->mtu_idx = chtls_select_mss(csk, dst_mtu(__sk_dst_get(sk)), in chtls_pass_accept_rpl()
1036 MSS_IDX_V(csk->mtu_idx) | in chtls_pass_accept_rpl()
Dchtls.h307 u32 mtu_idx; /* MTU table index */ member
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2068 int mtu_idx, aligned_mtu_idx; in cxgb4_best_aligned_mtu() local
2075 for (mtu_idx = 0, aligned_mtu_idx = -1; mtu_idx < NMTUS; mtu_idx++) { in cxgb4_best_aligned_mtu()
2076 unsigned short data_size = mtus[mtu_idx] - header_size; in cxgb4_best_aligned_mtu()
2082 aligned_mtu_idx = mtu_idx; in cxgb4_best_aligned_mtu()
2088 if (mtu_idx+1 < NMTUS && mtus[mtu_idx+1] > max_mtu) in cxgb4_best_aligned_mtu()
2095 if (mtu_idx == NMTUS) in cxgb4_best_aligned_mtu()
2096 mtu_idx--; in cxgb4_best_aligned_mtu()
2103 mtu_idx - aligned_mtu_idx <= 1) in cxgb4_best_aligned_mtu()
2104 mtu_idx = aligned_mtu_idx; in cxgb4_best_aligned_mtu()
2110 *mtu_idxp = mtu_idx; in cxgb4_best_aligned_mtu()
[all …]
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dcm.c724 unsigned int mtu_idx; in send_connect() local
775 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in send_connect()
792 MSS_IDX_V(mtu_idx) | in send_connect()
1962 unsigned int mtu_idx; in send_fw_act_open_req() local
1987 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in send_fw_act_open_req()
2005 MSS_IDX_V(mtu_idx) | in send_fw_act_open_req()
2416 unsigned int mtu_idx; in accept_cr() local
2425 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in accept_cr()
2441 MSS_IDX_V(mtu_idx) | in accept_cr()
/linux-6.1.9/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1137 unsigned int mtu_idx; in cxgbit_pass_accept_rpl() local
1156 cxgb_best_mtu(csk->com.cdev->lldi.mtus, csk->mtu, &mtu_idx, in cxgbit_pass_accept_rpl()
1169 MSS_IDX_V(mtu_idx) | in cxgbit_pass_accept_rpl()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12079 int mtu_idx = BP_FW_MB_IDX(bp); in bnx2x_get_hwinfo() local
12083 mtu = SHMEM2_RD(bp, mtu_size[mtu_idx]); in bnx2x_get_hwinfo()