ice.h (715a1284d89a740b197b3bad5eb20d36a397382f) ice.h (f3fe97f64384fa4073d9dc0278c4b351c92e295c)
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>

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

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
67#define ICE_DFLT_TRAFFIC_CLASS BIT(0)
68#define ICE_INT_NAME_STR_LEN (IFNAMSIZ + 16)
69#define ICE_AQ_LEN 64
70#define ICE_MBXSQ_LEN 64
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>

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

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
67#define ICE_DFLT_TRAFFIC_CLASS BIT(0)
68#define ICE_INT_NAME_STR_LEN (IFNAMSIZ + 16)
69#define ICE_AQ_LEN 64
70#define ICE_MBXSQ_LEN 64
71#define ICE_MIN_MSIX 2
71#define ICE_MIN_LAN_TXRX_MSIX 1
72#define ICE_MIN_LAN_OICR_MSIX 1
73#define ICE_MIN_MSIX (ICE_MIN_LAN_TXRX_MSIX + ICE_MIN_LAN_OICR_MSIX)
72#define ICE_FDIR_MSIX 1
73#define ICE_NO_VSI 0xffff
74#define ICE_VSI_MAP_CONTIG 0
75#define ICE_VSI_MAP_SCATTER 1
76#define ICE_MAX_SCATTER_TXQS 16
77#define ICE_MAX_SCATTER_RXQS 16
78#define ICE_Q_WAIT_RETRY_LIMIT 10
79#define ICE_Q_WAIT_MAX_RETRY (5 * ICE_Q_WAIT_RETRY_LIMIT)

--- 531 unchanged lines hidden ---
74#define ICE_FDIR_MSIX 1
75#define ICE_NO_VSI 0xffff
76#define ICE_VSI_MAP_CONTIG 0
77#define ICE_VSI_MAP_SCATTER 1
78#define ICE_MAX_SCATTER_TXQS 16
79#define ICE_MAX_SCATTER_RXQS 16
80#define ICE_Q_WAIT_RETRY_LIMIT 10
81#define ICE_Q_WAIT_MAX_RETRY (5 * ICE_Q_WAIT_RETRY_LIMIT)

--- 531 unchanged lines hidden ---