Searched refs:mfs (Results 1 – 13 of 13) sorted by relevance
| /drivers/scsi/libfc/ |
| A D | fc_lport.c | 668 old_mfs = lport->mfs; in fc_set_mfs() 671 mfs &= ~3; in fc_set_mfs() 672 if (mfs > FC_MAX_FRAME) in fc_set_mfs() 673 mfs = FC_MAX_FRAME; in fc_set_mfs() 675 lport->mfs = mfs; in fc_set_mfs() 679 if (!rc && mfs < old_mfs) in fc_set_mfs() 1744 u16 mfs; in fc_lport_flogi_resp() local 1785 if (mfs < FC_SP_MIN_MAX_PAYLOAD || mfs > FC_SP_MAX_MAX_PAYLOAD) { in fc_lport_flogi_resp() 1787 "lport->mfs:%u\n", mfs, lport->mfs); in fc_lport_flogi_resp() 1792 if (mfs <= lport->mfs) { in fc_lport_flogi_resp() [all …]
|
| A D | fc_rport.c | 222 unsigned int mfs; in fc_plogi_get_maxframe() local 228 mfs = ntohs(flp->fl_csp.sp_bb_data) & FC_SP_BB_DATA_MASK; in fc_plogi_get_maxframe() 229 if (mfs >= FC_SP_MIN_MAX_PAYLOAD && mfs < maxval) in fc_plogi_get_maxframe() 230 maxval = mfs; in fc_plogi_get_maxframe() 231 mfs = ntohs(flp->fl_cssp[3 - 1].cp_rdfs); in fc_plogi_get_maxframe() 232 if (mfs >= FC_SP_MIN_MAX_PAYLOAD && mfs < maxval) in fc_plogi_get_maxframe() 233 maxval = mfs; in fc_plogi_get_maxframe() 728 rdata->maxframe_size = fc_plogi_get_maxframe(flogi, lport->mfs); in fc_rport_login_complete() 1028 rdata->maxframe_size = fc_plogi_get_maxframe(plp, lport->mfs); in fc_rport_plogi_resp() 1937 rdata->maxframe_size = fc_plogi_get_maxframe(pl, lport->mfs); in fc_rport_recv_plogi_req()
|
| A D | fc_encode.h | 764 csp->sp_bb_data = htons((u16) lport->mfs); in fc_plogi_fill() 772 cp->cp_rdfs = htons((u16) lport->mfs); in fc_plogi_fill() 795 sp->sp_bb_data = htons((u16) lport->mfs); in fc_flogi_fill() 820 sp->sp_bb_data = htons((u16) lport->mfs); in fc_fdisc_fill()
|
| /drivers/scsi/fcoe/ |
| A D | fcoe.c | 702 u32 mfs; in fcoe_netdev_config() local 724 mfs = netdev->mtu; in fcoe_netdev_config() 726 mfs = FCOE_MTU; in fcoe_netdev_config() 727 FCOE_NETDEV_DBG(netdev, "Supports FCOE_MTU of %d bytes\n", mfs); in fcoe_netdev_config() 729 mfs -= (sizeof(struct fcoe_hdr) + sizeof(struct fcoe_crc_eof)); in fcoe_netdev_config() 730 if (fc_set_mfs(lport, mfs)) in fcoe_netdev_config() 1822 u32 mfs; in fcoe_device_notification() local 1848 mfs = netdev->mtu - (sizeof(struct fcoe_hdr) + in fcoe_device_notification() 1850 if (mfs >= FC_MIN_MAX_FRAME) in fcoe_device_notification() 1851 fc_set_mfs(lport, mfs); in fcoe_device_notification()
|
| A D | fcoe_ctlr.c | 367 return fip->lp->mfs + sizeof(struct fc_frame_header) + in fcoe_ctlr_fcoe_size()
|
| /drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| A D | chtls_io.c | 47 return DIV_ROUND_UP(size, csk->tlshws.mfs); in nos_ivs() 367 dlen = (dlen < hws->mfs) ? dlen : hws->mfs; in tls_tx_data_wr() 411 req_wr->mfs = htons(hws->mfs); in tls_tx_data_wr() 449 int fragsize = hws->mfs; in chtls_expansion_size() 490 pdus = DIV_ROUND_UP(tls_len, hws->mfs); in make_tlstx_data_wr() 498 ((hws->expansion / hws->pdus) + hws->mfs); in make_tlstx_data_wr()
|
| A D | chtls.h | 265 u32 mfs; member 395 __be16 mfs; member
|
| A D | chtls_hw.c | 395 kwr->wr.mfs = htons(TLS_MFS); in chtls_setkey()
|
| A D | chtls_cm.c | 80 csk->tlshws.mfs = TLS_MFS; in chtls_sock_create()
|
| /drivers/scsi/csiostor/ |
| A D | csio_lnode.c | 297 __be16 mfs; in csio_ln_fdmi_rhba_cbfn() local 370 mfs = ln->ln_sparm.csp.sp_bb_data; in csio_ln_fdmi_rhba_cbfn() 372 &mfs, sizeof(mfs)); in csio_ln_fdmi_rhba_cbfn()
|
| /drivers/scsi/qedf/ |
| A D | qedf_main.c | 1776 fc_host_maxframe_size(lport->host) = lport->mfs; in qedf_lport_setup() 1956 fc_host_maxframe_size(vn_port->host) = n_port->mfs; in qedf_vport_create()
|
| /drivers/scsi/bnx2fc/ |
| A D | bnx2fc_hwi.c | 267 ofld_req3.rx_max_fc_pay_len = lport->mfs; in bnx2fc_send_session_ofld_req()
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | t4fw_api.h | 4076 __be16 mfs; member
|
Completed in 77 milliseconds