Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h535 u8 mtu_idx:3; member
539 u8 mtu_idx:3; member
573 u8 mtu_idx:3; member
577 u8 mtu_idx:3; member
/Linux-v4.19/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.c478 req->mtu_idx = NMTUS - 1; in init_tp_parity()
916 req->mtu_idx = NMTUS - 1; /* should be 0 but there's a T3 bug */ in write_smt_entry()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c1541 int mtu_idx, aligned_mtu_idx; in cxgb4_best_aligned_mtu() local
1548 for (mtu_idx = 0, aligned_mtu_idx = -1; mtu_idx < NMTUS; mtu_idx++) { in cxgb4_best_aligned_mtu()
1549 unsigned short data_size = mtus[mtu_idx] - header_size; in cxgb4_best_aligned_mtu()
1555 aligned_mtu_idx = mtu_idx; in cxgb4_best_aligned_mtu()
1561 if (mtu_idx+1 < NMTUS && mtus[mtu_idx+1] > max_mtu) in cxgb4_best_aligned_mtu()
1568 if (mtu_idx == NMTUS) in cxgb4_best_aligned_mtu()
1569 mtu_idx--; in cxgb4_best_aligned_mtu()
1576 mtu_idx - aligned_mtu_idx <= 1) in cxgb4_best_aligned_mtu()
1577 mtu_idx = aligned_mtu_idx; in cxgb4_best_aligned_mtu()
1583 *mtu_idxp = mtu_idx; in cxgb4_best_aligned_mtu()
[all …]
/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_cm.c127 csk->mtu_idx = TCPOPT_MSS_G(opt); in assign_rxopt()
859 unsigned int mtu_idx; in chtls_select_mss() local
886 8, &mtu_idx); in chtls_select_mss()
890 return mtu_idx; in chtls_select_mss()
954 csk->mtu_idx = chtls_select_mss(csk, dst_mtu(__sk_dst_get(sk)), in chtls_pass_accept_rpl()
958 MSS_IDX_V(csk->mtu_idx) | in chtls_pass_accept_rpl()
Dchtls.h211 u32 mtu_idx; /* MTU table index */ member
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_cm.c431 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-v4.19/drivers/infiniband/hw/cxgb4/
Dcm.c685 unsigned int mtu_idx; in send_connect() local
736 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in send_connect()
753 MSS_IDX_V(mtu_idx) | in send_connect()
1917 unsigned int mtu_idx; in send_fw_act_open_req() local
1942 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in send_fw_act_open_req()
1960 MSS_IDX_V(mtu_idx) | in send_fw_act_open_req()
2370 unsigned int mtu_idx; in accept_cr() local
2393 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in accept_cr()
2409 MSS_IDX_V(mtu_idx) | in accept_cr()
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1117 unsigned int mtu_idx; in cxgbit_pass_accept_rpl() local
1136 cxgb_best_mtu(csk->com.cdev->lldi.mtus, csk->mtu, &mtu_idx, in cxgbit_pass_accept_rpl()
1149 MSS_IDX_V(mtu_idx) | in cxgbit_pass_accept_rpl()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12095 int mtu_idx = BP_FW_MB_IDX(bp); in bnx2x_get_hwinfo() local
12099 mtu = SHMEM2_RD(bp, mtu_size[mtu_idx]); in bnx2x_get_hwinfo()