Searched refs:mtu_idx (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 535 u8 mtu_idx:3; member 539 u8 mtu_idx:3; member 573 u8 mtu_idx:3; member 577 u8 mtu_idx:3; member
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_cpl.h | 1283 __u8 mtu_idx:4; member 1287 __u8 mtu_idx:4; member 1320 __u8 mtu_idx:4; member 1324 __u8 mtu_idx:4; member
|
D | cxgb3_main.c | 477 req->mtu_idx = NMTUS - 1; in init_tp_parity() 915 req->mtu_idx = NMTUS - 1; /* should be 0 but there's a T3 bug */ in write_smt_entry()
|
/Linux-v5.4/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 431 unsigned int mtu_idx; in send_connect() local 441 mtu_idx = find_best_mtu(T3C_DATA(ep->com.tdev), dst_mtu(ep->dst)); in send_connect() 448 V_MSS_IDX(mtu_idx) | in send_connect() 1271 unsigned int mtu_idx; in accept_cr() local 1279 mtu_idx = find_best_mtu(T3C_DATA(ep->com.tdev), dst_mtu(ep->dst)); in accept_cr() 1286 V_MSS_IDX(mtu_idx) | in accept_cr()
|
/Linux-v5.4/drivers/crypto/chelsio/chtls/ |
D | chtls_cm.c | 126 csk->mtu_idx = TCPOPT_MSS_G(opt); in assign_rxopt() 855 unsigned int mtu_idx; in chtls_select_mss() local 882 8, &mtu_idx); in chtls_select_mss() 886 return mtu_idx; in chtls_select_mss() 932 csk->mtu_idx = chtls_select_mss(csk, dst_mtu(__sk_dst_get(sk)), in chtls_pass_accept_rpl() 936 MSS_IDX_V(csk->mtu_idx) | in chtls_pass_accept_rpl()
|
D | chtls.h | 213 u32 mtu_idx; /* MTU table index */ member
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 1670 int mtu_idx, aligned_mtu_idx; in cxgb4_best_aligned_mtu() local 1677 for (mtu_idx = 0, aligned_mtu_idx = -1; mtu_idx < NMTUS; mtu_idx++) { in cxgb4_best_aligned_mtu() 1678 unsigned short data_size = mtus[mtu_idx] - header_size; in cxgb4_best_aligned_mtu() 1684 aligned_mtu_idx = mtu_idx; in cxgb4_best_aligned_mtu() 1690 if (mtu_idx+1 < NMTUS && mtus[mtu_idx+1] > max_mtu) in cxgb4_best_aligned_mtu() 1697 if (mtu_idx == NMTUS) in cxgb4_best_aligned_mtu() 1698 mtu_idx--; in cxgb4_best_aligned_mtu() 1705 mtu_idx - aligned_mtu_idx <= 1) in cxgb4_best_aligned_mtu() 1706 mtu_idx = aligned_mtu_idx; in cxgb4_best_aligned_mtu() 1712 *mtu_idxp = mtu_idx; in cxgb4_best_aligned_mtu() [all …]
|
/Linux-v5.4/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 724 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-v5.4/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1135 unsigned int mtu_idx; in cxgbit_pass_accept_rpl() local 1154 cxgb_best_mtu(csk->com.cdev->lldi.mtus, csk->mtu, &mtu_idx, in cxgbit_pass_accept_rpl() 1167 MSS_IDX_V(mtu_idx) | in cxgbit_pass_accept_rpl()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 12134 int mtu_idx = BP_FW_MB_IDX(bp); in bnx2x_get_hwinfo() local 12138 mtu = SHMEM2_RD(bp, mtu_size[mtu_idx]); in bnx2x_get_hwinfo()
|