ena.c (f180142c7659a150f58ad8d8c878216a0b53fc66) | ena.c (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 --- 165 unchanged lines hidden (view full) --- 174 struct ena_admin_aenq_entry *); 175static int ena_copy_eni_metrics(struct ena_adapter *); 176static void ena_timer_service(void *); 177 178static char ena_version[] = DEVICE_NAME DRV_MODULE_NAME " v" DRV_MODULE_VERSION; 179 180static ena_vendor_info_t ena_vendor_info_array[] = { 181 { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_PF, 0}, | 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 --- 165 unchanged lines hidden (view full) --- 174 struct ena_admin_aenq_entry *); 175static int ena_copy_eni_metrics(struct ena_adapter *); 176static void ena_timer_service(void *); 177 178static char ena_version[] = DEVICE_NAME DRV_MODULE_NAME " v" DRV_MODULE_VERSION; 179 180static ena_vendor_info_t ena_vendor_info_array[] = { 181 { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_PF, 0}, |
182 { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_LLQ_PF, 0}, | 182 { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_PF_RSERV0, 0}, |
183 { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_VF, 0}, | 183 { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_VF, 0}, |
184 { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_LLQ_VF, 0}, | 184 { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_VF_RSERV0, 0}, |
185 /* Last entry */ 186 { 0, 0, 0 } 187}; 188 189/* 190 * Contains pointers to event handlers, e.g. link state chage. 191 */ 192static struct ena_aenq_handlers aenq_handlers; --- 3735 unchanged lines hidden --- | 185 /* Last entry */ 186 { 0, 0, 0 } 187}; 188 189/* 190 * Contains pointers to event handlers, e.g. link state chage. 191 */ 192static struct ena_aenq_handlers aenq_handlers; --- 3735 unchanged lines hidden --- |