ice.h (ab4ab73fc1ec6dec548fa36c5e383ef5faa7b4c1) ice.h (03f7a986684597607de02f3023aa6c3657a78ab5)
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>

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

124};
125
126struct ice_res_tracker {
127 u16 num_entries;
128 u16 search_hint;
129 u16 list[1];
130};
131
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>

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

124};
125
126struct ice_res_tracker {
127 u16 num_entries;
128 u16 search_hint;
129 u16 list[1];
130};
131
132struct ice_qs_cfg {
133 struct mutex *qs_mutex; /* will be assgined to &pf->avail_q_mutex */
134 unsigned long *pf_map;
135 unsigned long pf_map_size;
136 unsigned int q_count;
137 unsigned int scatter_count;
138 u16 *vsi_map;
139 u16 vsi_map_offset;
140 u8 mapping_mode;
141};
142
132struct ice_sw {
133 struct ice_pf *pf;
134 u16 sw_id; /* switch ID for this switch */
135 u16 bridge_mode; /* VEB/VEPA/Port Virtualizer */
136};
137
138enum ice_state {
139 __ICE_DOWN,

--- 238 unchanged lines hidden ---
143struct ice_sw {
144 struct ice_pf *pf;
145 u16 sw_id; /* switch ID for this switch */
146 u16 bridge_mode; /* VEB/VEPA/Port Virtualizer */
147};
148
149enum ice_state {
150 __ICE_DOWN,

--- 238 unchanged lines hidden ---