Home
last modified time | relevance | path

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

/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
/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()
914 req->mtu_idx = NMTUS - 1; /* should be 0 but there's a T3 bug */ in write_smt_entry()
/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
/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 …]
/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
1990 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in send_fw_act_open_req()
2008 MSS_IDX_V(mtu_idx) | in send_fw_act_open_req()
2419 unsigned int mtu_idx; in accept_cr() local
2428 cxgb_best_mtu(ep->com.dev->rdev.lldi.mtus, ep->mtu, &mtu_idx, in accept_cr()
2444 MSS_IDX_V(mtu_idx) | in accept_cr()
/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1135 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()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12075 int mtu_idx = BP_FW_MB_IDX(bp); in bnx2x_get_hwinfo() local
12079 mtu = SHMEM2_RD(bp, mtu_size[mtu_idx]); in bnx2x_get_hwinfo()