Lines Matching refs:disable_req
432 struct fcoe_kwqe_conn_enable_disable disable_req; in bnx2fc_send_session_disable_req() local
439 memset(&disable_req, 0x00, in bnx2fc_send_session_disable_req()
441 disable_req.hdr.op_code = FCOE_KWQE_OPCODE_DISABLE_CONN; in bnx2fc_send_session_disable_req()
442 disable_req.hdr.flags = in bnx2fc_send_session_disable_req()
445 disable_req.src_mac_addr_lo[0] = tgt->src_addr[5]; in bnx2fc_send_session_disable_req()
446 disable_req.src_mac_addr_lo[1] = tgt->src_addr[4]; in bnx2fc_send_session_disable_req()
447 disable_req.src_mac_addr_mid[0] = tgt->src_addr[3]; in bnx2fc_send_session_disable_req()
448 disable_req.src_mac_addr_mid[1] = tgt->src_addr[2]; in bnx2fc_send_session_disable_req()
449 disable_req.src_mac_addr_hi[0] = tgt->src_addr[1]; in bnx2fc_send_session_disable_req()
450 disable_req.src_mac_addr_hi[1] = tgt->src_addr[0]; in bnx2fc_send_session_disable_req()
452 disable_req.dst_mac_addr_lo[0] = ctlr->dest_addr[5]; in bnx2fc_send_session_disable_req()
453 disable_req.dst_mac_addr_lo[1] = ctlr->dest_addr[4]; in bnx2fc_send_session_disable_req()
454 disable_req.dst_mac_addr_mid[0] = ctlr->dest_addr[3]; in bnx2fc_send_session_disable_req()
455 disable_req.dst_mac_addr_mid[1] = ctlr->dest_addr[2]; in bnx2fc_send_session_disable_req()
456 disable_req.dst_mac_addr_hi[0] = ctlr->dest_addr[1]; in bnx2fc_send_session_disable_req()
457 disable_req.dst_mac_addr_hi[1] = ctlr->dest_addr[0]; in bnx2fc_send_session_disable_req()
460 disable_req.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
461 disable_req.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
462 disable_req.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()
466 disable_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
467 disable_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
468 disable_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()
469 disable_req.context_id = tgt->context_id; in bnx2fc_send_session_disable_req()
470 disable_req.conn_id = tgt->fcoe_conn_id; in bnx2fc_send_session_disable_req()
471 disable_req.vlan_tag = interface->vlan_id << in bnx2fc_send_session_disable_req()
473 disable_req.vlan_tag |= in bnx2fc_send_session_disable_req()
475 disable_req.vlan_flag = interface->vlan_enabled; in bnx2fc_send_session_disable_req()
477 kwqe_arr[0] = (struct kwqe *) &disable_req; in bnx2fc_send_session_disable_req()