#ifndef __LIQUIDIO_COMMON_H__
#define __LIQUIDIO_COMMON_H__
#include "octeon_config.h"
#define LIQUIDIO_BASE_MAJOR_VERSION …
#define LIQUIDIO_BASE_MINOR_VERSION …
#define LIQUIDIO_BASE_MICRO_VERSION …
#define LIQUIDIO_BASE_VERSION …
struct lio_version { … };
#define CONTROL_IQ …
enum octeon_tag_type { … };
#define LIO_CONTROL …
#define LIO_DATA(i) …
#define OPCODE_CORE …
#define OPCODE_NIC …
#define OPCODE_SUBCODE(op, sub) …
#define OPCODE_NIC_CORE_DRV_ACTIVE …
#define OPCODE_NIC_NW_DATA …
#define OPCODE_NIC_CMD …
#define OPCODE_NIC_INFO …
#define OPCODE_NIC_PORT_STATS …
#define OPCODE_NIC_MDIO45 …
#define OPCODE_NIC_TIMESTAMP …
#define OPCODE_NIC_INTRMOD_CFG …
#define OPCODE_NIC_IF_CFG …
#define OPCODE_NIC_VF_DRV_NOTICE …
#define OPCODE_NIC_INTRMOD_PARAMS …
#define OPCODE_NIC_QCOUNT_UPDATE …
#define OPCODE_NIC_SET_TRUSTED_VF …
#define OPCODE_NIC_SYNC_OCTEON_TIME …
#define VF_DRV_LOADED …
#define VF_DRV_REMOVED …
#define VF_DRV_MACADDR_CHANGED …
#define OPCODE_NIC_VF_REP_PKT …
#define OPCODE_NIC_VF_REP_CMD …
#define OPCODE_NIC_UBOOT_CTL …
#define CORE_DRV_TEST_SCATTER_OP …
#define CVM_DRV_APP_START …
#define CVM_DRV_NO_APP …
#define CVM_DRV_APP_COUNT …
#define CVM_DRV_BASE_APP …
#define CVM_DRV_NIC_APP …
#define CVM_DRV_INVALID_APP …
#define CVM_DRV_APP_END …
#define BYTES_PER_DHLEN_UNIT …
#define MAX_REG_CNT …
#define INTRNAMSIZ …
#define IRQ_NAME_OFF(i) …
#define MAX_IOQ_INTERRUPTS_PER_PF …
#define MAX_IOQ_INTERRUPTS_PER_VF …
#define SCR2_BIT_FW_LOADED …
#define LIQUIDIO_TIME_SYNC_CAP …
#define LIQUIDIO_SWITCHDEV_CAP …
#define LIQUIDIO_SPOOFCHK_CAP …
#define OCTEON_REQUEST_NO_PERMISSION …
static inline u32 incr_index(u32 index, u32 count, u32 max)
{ … }
#define OCT_BOARD_NAME …
#define OCT_SERIAL_LEN …
struct octeon_core_setup { … };
struct octeon_sg_entry { … };
#define OCT_SG_ENTRY_SIZE …
static inline void add_sg_size(struct octeon_sg_entry *sg_entry,
u16 size,
u32 pos)
{ … }
#define OCTNET_FRM_LENGTH_SIZE …
#define OCTNET_FRM_PTP_HEADER_SIZE …
#define OCTNET_FRM_HEADER_SIZE …
#define OCTNET_MIN_FRM_SIZE …
#define OCTNET_MAX_FRM_SIZE …
#define OCTNET_DEFAULT_MTU …
#define OCTNET_DEFAULT_FRM_SIZE …
#define OCTNET_CMD_Q …
#define OCTNET_CMD_CHANGE_MTU …
#define OCTNET_CMD_CHANGE_MACADDR …
#define OCTNET_CMD_CHANGE_DEVFLAGS …
#define OCTNET_CMD_RX_CTL …
#define OCTNET_CMD_SET_MULTI_LIST …
#define OCTNET_CMD_CLEAR_STATS …
#define OCTNET_CMD_SET_SETTINGS …
#define OCTNET_CMD_SET_FLOW_CTL …
#define OCTNET_CMD_MDIO_READ_WRITE …
#define OCTNET_CMD_GPIO_ACCESS …
#define OCTNET_CMD_LRO_ENABLE …
#define OCTNET_CMD_LRO_DISABLE …
#define OCTNET_CMD_SET_RSS …
#define OCTNET_CMD_WRITE_SA …
#define OCTNET_CMD_DELETE_SA …
#define OCTNET_CMD_UPDATE_SA …
#define OCTNET_CMD_TNL_RX_CSUM_CTL …
#define OCTNET_CMD_TNL_TX_CSUM_CTL …
#define OCTNET_CMD_IPSECV2_AH_ESP_CTL …
#define OCTNET_CMD_VERBOSE_ENABLE …
#define OCTNET_CMD_VERBOSE_DISABLE …
#define OCTNET_CMD_VLAN_FILTER_CTL …
#define OCTNET_CMD_ADD_VLAN_FILTER …
#define OCTNET_CMD_DEL_VLAN_FILTER …
#define OCTNET_CMD_VXLAN_PORT_CONFIG …
#define OCTNET_CMD_ID_ACTIVE …
#define OCTNET_CMD_SET_UC_LIST …
#define OCTNET_CMD_SET_VF_LINKSTATE …
#define OCTNET_CMD_QUEUE_COUNT_CTL …
#define OCTNET_CMD_GROUP1 …
#define OCTNET_CMD_SET_VF_SPOOFCHK …
#define OCTNET_GROUP1_LAST_CMD …
#define OCTNET_CMD_VXLAN_PORT_ADD …
#define OCTNET_CMD_VXLAN_PORT_DEL …
#define OCTNET_CMD_RXCSUM_ENABLE …
#define OCTNET_CMD_RXCSUM_DISABLE …
#define OCTNET_CMD_TXCSUM_ENABLE …
#define OCTNET_CMD_TXCSUM_DISABLE …
#define OCTNET_CMD_VLAN_FILTER_ENABLE …
#define OCTNET_CMD_VLAN_FILTER_DISABLE …
#define OCTNET_CMD_FAIL …
#define SEAPI_CMD_FEC_SET …
#define SEAPI_CMD_FEC_SET_DISABLE …
#define SEAPI_CMD_FEC_SET_RS …
#define SEAPI_CMD_FEC_GET …
#define SEAPI_CMD_SPEED_SET …
#define SEAPI_CMD_SPEED_GET …
#define OPCODE_NIC_VF_PORT_STATS …
#define LIO_CMD_WAIT_TM …
#define CNNIC_L4SUM_VERIFIED …
#define CNNIC_IPSUM_VERIFIED …
#define CNNIC_TUN_CSUM_VERIFIED …
#define CNNIC_CSUM_VERIFIED …
#define OCTNIC_LROIPV4 …
#define OCTNIC_LROIPV6 …
enum octnet_ifflags { … };
octnet_cmd;
#define OCTNET_CMD_SIZE …
#define LIO_SOFTCMDRESP_IH2 …
#define LIO_SOFTCMDRESP_IH3 …
#define LIO_PCICMD_O2 …
#define LIO_PCICMD_O3 …
struct octeon_instr_ih3 { … };
struct octeon_instr_pki_ih3 { … };
struct octeon_instr_ih2 { … };
struct octeon_instr_irh { … };
struct octeon_instr_rdp { … };
octeon_rh;
#define OCT_RH_SIZE …
octnic_packet_params;
oct_link_status;
enum lio_phy_type { … };
oct_txpciq;
oct_rxpciq;
struct oct_link_info { … };
#define OCT_LINK_INFO_SIZE …
struct liquidio_if_cfg_info { … };
struct nic_rx_stats { … };
struct nic_tx_stats { … };
struct oct_link_stats { … };
static inline int opcode_slow_path(union octeon_rh *rh)
{ … }
#define LIO68XX_LED_CTRL_ADDR …
#define LIO68XX_LED_CTRL_CFGON …
#define LIO68XX_LED_CTRL_CFGOFF …
#define LIO68XX_LED_BEACON_ADDR …
#define LIO68XX_LED_BEACON_CFGON …
#define LIO68XX_LED_BEACON_CFGOFF …
#define VITESSE_PHY_GPIO_DRIVEON …
#define VITESSE_PHY_GPIO_CFG …
#define VITESSE_PHY_GPIO_DRIVEOFF …
#define VITESSE_PHY_GPIO_HIGH …
#define VITESSE_PHY_GPIO_LOW …
#define LED_IDENTIFICATION_ON …
#define LED_IDENTIFICATION_OFF …
#define LIO23XX_COPPERHEAD_LED_GPIO …
struct oct_mdio_cmd { … };
#define OCT_LINK_STATS_SIZE …
struct oct_intrmod_cfg { … };
#define BASE_QUEUE_NOT_REQUESTED …
oct_nic_if_cfg;
struct lio_trusted_vf { … };
struct lio_time { … };
struct lio_vf_rep_stats { … };
enum lio_vf_rep_req_type { … };
enum { … };
#define LIO_IF_NAME_SIZE …
struct lio_vf_rep_req { … };
struct lio_vf_rep_resp { … };
#endif