ena.h (f180142c7659a150f58ad8d8c878216a0b53fc66) ena.h (7d2e6f207ec94a1caf49610031f50a02a3187202)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 136 unchanged lines hidden (view full) ---

145/* Max number of timeouted packets before device reset */
146#define DEFAULT_TX_CMP_THRESHOLD (128)
147
148/*
149 * Supported PCI vendor and devices IDs
150 */
151#define PCI_VENDOR_ID_AMAZON 0x1d0f
152
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 136 unchanged lines hidden (view full) ---

145/* Max number of timeouted packets before device reset */
146#define DEFAULT_TX_CMP_THRESHOLD (128)
147
148/*
149 * Supported PCI vendor and devices IDs
150 */
151#define PCI_VENDOR_ID_AMAZON 0x1d0f
152
153#define PCI_DEV_ID_ENA_PF 0x0ec2
154#define PCI_DEV_ID_ENA_LLQ_PF 0x1ec2
155#define PCI_DEV_ID_ENA_VF 0xec20
156#define PCI_DEV_ID_ENA_LLQ_VF 0xec21
153#define PCI_DEV_ID_ENA_PF 0x0ec2
154#define PCI_DEV_ID_ENA_PF_RSERV0 0x1ec2
155#define PCI_DEV_ID_ENA_VF 0xec20
156#define PCI_DEV_ID_ENA_VF_RSERV0 0xec21
157
158/*
159 * Flags indicating current ENA driver state
160 */
161enum ena_flags_t {
162 ENA_FLAG_DEVICE_RUNNING,
163 ENA_FLAG_DEV_UP,
164 ENA_FLAG_LINK_UP,

--- 357 unchanged lines hidden ---
157
158/*
159 * Flags indicating current ENA driver state
160 */
161enum ena_flags_t {
162 ENA_FLAG_DEVICE_RUNNING,
163 ENA_FLAG_DEV_UP,
164 ENA_FLAG_LINK_UP,

--- 357 unchanged lines hidden ---