linux/drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*****************************************************************************
 *                                                                           *
 * File: cpl5_cmd.h                                                          *
 * $Revision: 1.6 $                                                          *
 * $Date: 2005/06/21 18:29:47 $                                              *
 * Description:                                                              *
 *  part of the Chelsio 10Gb Ethernet Driver.                                *
 *                                                                           *
 *                                                                           *
 * http://www.chelsio.com                                                    *
 *                                                                           *
 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc.                    *
 * All rights reserved.                                                      *
 *                                                                           *
 * Maintainers: [email protected]                                      *
 *                                                                           *
 * Authors: Dimitrios Michailidis   <[email protected]>                         *
 *          Tina Yang               <[email protected]>                     *
 *          Felix Marti             <[email protected]>                      *
 *          Scott Bardone           <[email protected]>                   *
 *          Kurt Ottaway            <[email protected]>                   *
 *          Frank DiMambro          <[email protected]>                      *
 *                                                                           *
 * History:                                                                  *
 *                                                                           *
 ****************************************************************************/

#ifndef _CXGB_CPL5_CMD_H_
#define _CXGB_CPL5_CMD_H_

#include <asm/byteorder.h>

#if !defined(__LITTLE_ENDIAN_BITFIELD) && !defined(__BIG_ENDIAN_BITFIELD)
#error "Adjust your <asm/byteorder.h> defines"
#endif

enum CPL_opcode {};

#define NUM_CPL_CMDS

enum CPL_error {};

enum {};

enum {};

enum {};

enum {};

enum {};

opcode_tid;

#define S_OPCODE
#define V_OPCODE(x)
#define G_OPCODE(x)
#define G_TID(x)

/* tid is assumed to be 24-bits */
#define MK_OPCODE_TID(opcode, tid)

#define OPCODE_TID(cmd)

/* extract the TID from a CPL command */
#define GET_TID(cmd)

struct tcp_options {};

struct cpl_pass_open_req {};

struct cpl_pass_open_rpl {};

struct cpl_pass_establish {};

struct cpl_pass_accept_req {};

struct cpl_pass_accept_rpl {};

struct cpl_act_open_req {};

struct cpl_act_open_rpl {};

struct cpl_act_establish {};

struct cpl_get_tcb {};

struct cpl_get_tcb_rpl {};

struct cpl_set_tcb {};

struct cpl_set_tcb_field {};

struct cpl_set_tcb_rpl {};

struct cpl_pcmd {};

struct cpl_pcmd_read {};

struct cpl_pcmd_read_rpl {};

struct cpl_close_con_req {};

struct cpl_close_con_rpl {};

struct cpl_close_listserv_req {};

struct cpl_close_listserv_rpl {};

struct cpl_abort_req {};

struct cpl_abort_rpl {};

struct cpl_peer_close {};

struct cpl_tx_data {};

struct cpl_tx_data_ack {};

struct cpl_rx_data {};

struct cpl_rx_data_ack {};

struct cpl_rx_data_ddp {};

/*
 * We want this header's alignment to be no more stringent than 2-byte aligned.
 * All fields are u8 or u16 except for the length.  However that field is not
 * used so we break it into 2 16-bit parts to easily meet our alignment needs.
 */
struct cpl_tx_pkt {};

struct cpl_tx_pkt_lso {};

struct cpl_rx_pkt {};

struct cpl_l2t_write_req {};

struct cpl_l2t_write_rpl {};

struct cpl_l2t_read_req {};

struct cpl_l2t_read_rpl {};

struct cpl_smt_write_req {};

struct cpl_smt_write_rpl {};

struct cpl_smt_read_req {};

struct cpl_smt_read_rpl {};

struct cpl_rte_delete_req {};

struct cpl_rte_delete_rpl {};

struct cpl_rte_write_req {};

struct cpl_rte_write_rpl {};

struct cpl_rte_read_req {};

struct cpl_rte_read_rpl {};

struct cpl_mss_change {};

#endif /* _CXGB_CPL5_CMD_H_ */