diff options
author | Damjan Marion <damarion@cisco.com> | 2023-11-13 12:18:24 +0000 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2023-11-13 19:05:17 +0000 |
commit | 2d725c61286ccb8625ffad5c678cee337f88bceb (patch) | |
tree | c3b70710a4f4e5b30c68a6791af151b9de787c62 /src/plugins/dev_ena/ena_defs.h | |
parent | e596ca1b51d25c24bd06132f9824d4bd0c6a5ecc (diff) |
ena: Amazon Elastic Network Adapter (ENA) native driver
Type: feature
Change-Id: Icd9de05f2cbac0e5a6dfb1f1414f21dc4b893104
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dev_ena/ena_defs.h')
-rw-r--r-- | src/plugins/dev_ena/ena_defs.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/plugins/dev_ena/ena_defs.h b/src/plugins/dev_ena/ena_defs.h new file mode 100644 index 00000000000..1e52ed4e05b --- /dev/null +++ b/src/plugins/dev_ena/ena_defs.h @@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: Apache-2.0 + * Copyright(c) 2023 Cisco Systems, Inc. + */ + +#ifndef _ENA_DEFS_H_ +#define _ENA_DEFS_H_ + +#include <vppinfra/clib.h> +#include <vppinfra/error_bootstrap.h> +#include <dev_ena/ena_reg_defs.h> +#include <dev_ena/ena_admin_defs.h> +#include <dev_ena/ena_aenq_defs.h> +#include <dev_ena/ena_io_defs.h> + +/* + * MMIO Response + */ +typedef struct +{ + u16 req_id; + u16 reg_off; + u32 reg_val; +} ena_mmio_resp_t; + +#endif /* _ENA_DEFS_H_ */ |