Lines Matching refs:ofld_req3

181 	struct fcoe_kwqe_conn_offload3 ofld_req3;  in bnx2fc_send_session_ofld_req()  local
233 memset(&ofld_req3, 0x00, sizeof(struct fcoe_kwqe_conn_offload3)); in bnx2fc_send_session_ofld_req()
235 ofld_req3.hdr.op_code = FCOE_KWQE_OPCODE_OFFLOAD_CONN3; in bnx2fc_send_session_ofld_req()
236 ofld_req3.hdr.flags = in bnx2fc_send_session_ofld_req()
239 ofld_req3.vlan_tag = interface->vlan_id << in bnx2fc_send_session_ofld_req()
241 ofld_req3.vlan_tag |= 3 << FCOE_KWQE_CONN_OFFLOAD3_PRIORITY_SHIFT; in bnx2fc_send_session_ofld_req()
255 ofld_req3.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
256 ofld_req3.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
257 ofld_req3.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
260 ofld_req3.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
261 ofld_req3.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
262 ofld_req3.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
264 ofld_req3.tx_total_conc_seqs = rdata->max_seq; in bnx2fc_send_session_ofld_req()
266 ofld_req3.tx_max_conc_seqs_c3 = rdata->max_seq; in bnx2fc_send_session_ofld_req()
267 ofld_req3.rx_max_fc_pay_len = lport->mfs; in bnx2fc_send_session_ofld_req()
269 ofld_req3.rx_total_conc_seqs = BNX2FC_MAX_SEQS; in bnx2fc_send_session_ofld_req()
270 ofld_req3.rx_max_conc_seqs_c3 = BNX2FC_MAX_SEQS; in bnx2fc_send_session_ofld_req()
271 ofld_req3.rx_open_seqs_exch_c3 = 1; in bnx2fc_send_session_ofld_req()
273 ofld_req3.confq_first_pbe_addr_lo = tgt->confq_dma; in bnx2fc_send_session_ofld_req()
274 ofld_req3.confq_first_pbe_addr_hi = (u32)((u64) tgt->confq_dma >> 32); in bnx2fc_send_session_ofld_req()
277 ofld_req3.flags = 0; in bnx2fc_send_session_ofld_req()
283 ofld_req3.flags |= (((rdata->sp_features & FC_SP_FT_EDTR) ? 1 : 0) << in bnx2fc_send_session_ofld_req()
286 ofld_req3.flags |= (((rdata->sp_features & FC_SP_FT_SEQC) ? 1 : 0) << in bnx2fc_send_session_ofld_req()
294 ofld_req3.flags |= 1 << in bnx2fc_send_session_ofld_req()
296 ofld_req3.flags |= (((rdata->flags & FC_RP_FLAGS_REC_SUPPORTED) in bnx2fc_send_session_ofld_req()
302 ofld_req3.flags |= (interface->vlan_enabled << in bnx2fc_send_session_ofld_req()
341 kwqe_arr[2] = (struct kwqe *) &ofld_req3; in bnx2fc_send_session_ofld_req()