ice.h (98817a84ff1c755c347ac633ff017a623a631fad) | ice.h (8d7aab3515fa1f9774939537419fecf5247689a9) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) 2018, Intel Corporation. */ 3 4#ifndef _ICE_H_ 5#define _ICE_H_ 6 7#include <linux/types.h> 8#include <linux/errno.h> --- 41 unchanged lines hidden (view full) --- 50#include "ice_common.h" 51#include "ice_sched.h" 52#include "ice_virtchnl_pf.h" 53#include "ice_sriov.h" 54#include "ice_fdir.h" 55#include "ice_xsk.h" 56#include "ice_arfs.h" 57 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) 2018, Intel Corporation. */ 3 4#ifndef _ICE_H_ 5#define _ICE_H_ 6 7#include <linux/types.h> 8#include <linux/errno.h> --- 41 unchanged lines hidden (view full) --- 50#include "ice_common.h" 51#include "ice_sched.h" 52#include "ice_virtchnl_pf.h" 53#include "ice_sriov.h" 54#include "ice_fdir.h" 55#include "ice_xsk.h" 56#include "ice_arfs.h" 57 |
58extern const char ice_drv_ver[]; | |
59#define ICE_BAR0 0 60#define ICE_REQ_DESC_MULTIPLE 32 61#define ICE_MIN_NUM_DESC 64 62#define ICE_MAX_NUM_DESC 8160 63#define ICE_DFLT_MIN_RX_DESC 512 64#define ICE_DFLT_NUM_TX_DESC 256 65#define ICE_DFLT_NUM_RX_DESC 2048 66 --- 302 unchanged lines hidden (view full) --- 369 370struct ice_pf { 371 struct pci_dev *pdev; 372 373 /* devlink port data */ 374 struct devlink_port devlink_port; 375 376 struct devlink_region *nvm_region; | 58#define ICE_BAR0 0 59#define ICE_REQ_DESC_MULTIPLE 32 60#define ICE_MIN_NUM_DESC 64 61#define ICE_MAX_NUM_DESC 8160 62#define ICE_DFLT_MIN_RX_DESC 512 63#define ICE_DFLT_NUM_TX_DESC 256 64#define ICE_DFLT_NUM_RX_DESC 2048 65 --- 302 unchanged lines hidden (view full) --- 368 369struct ice_pf { 370 struct pci_dev *pdev; 371 372 /* devlink port data */ 373 struct devlink_port devlink_port; 374 375 struct devlink_region *nvm_region; |
376 struct devlink_region *devcaps_region; |
|
377 378 /* OS reserved IRQ details */ 379 struct msix_entry *msix_entries; 380 struct ice_res_tracker *irq_tracker; 381 /* First MSIX vector used by SR-IOV VFs. Calculated by subtracting the 382 * number of MSIX vectors needed for all SR-IOV VFs from the number of 383 * MSIX vectors allowed on this PF. 384 */ --- 205 unchanged lines hidden --- | 377 378 /* OS reserved IRQ details */ 379 struct msix_entry *msix_entries; 380 struct ice_res_tracker *irq_tracker; 381 /* First MSIX vector used by SR-IOV VFs. Calculated by subtracting the 382 * number of MSIX vectors needed for all SR-IOV VFs from the number of 383 * MSIX vectors allowed on this PF. 384 */ --- 205 unchanged lines hidden --- |