diff options
author | Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> | 2018-09-19 20:23:13 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-10-02 10:13:23 -0400 |
commit | 4fb33f3107e194793bf947183f29ddce5d80a19f (patch) | |
tree | 28180a6f6d72085556a16f950ae60af85149db5d /drivers/net/ethernet/intel/ice/ice_sched.h | |
parent | 5726ca0e5eaad0f194979e66c29c1d22029f1041 (diff) |
ice: Expand use of VSI handles part 2/2
This patch is a continuation of the previous patch where VSI
handles are used instead of VSI numbers.
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_sched.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_sched.h b/drivers/net/ethernet/intel/ice/ice_sched.h index badadcc120d3..5dc9cfa04c58 100644 --- a/drivers/net/ethernet/intel/ice/ice_sched.h +++ b/drivers/net/ethernet/intel/ice/ice_sched.h | |||
@@ -12,7 +12,6 @@ | |||
12 | struct ice_sched_agg_vsi_info { | 12 | struct ice_sched_agg_vsi_info { |
13 | struct list_head list_entry; | 13 | struct list_head list_entry; |
14 | DECLARE_BITMAP(tc_bitmap, ICE_MAX_TRAFFIC_CLASS); | 14 | DECLARE_BITMAP(tc_bitmap, ICE_MAX_TRAFFIC_CLASS); |
15 | u16 vsi_id; | ||
16 | }; | 15 | }; |
17 | 16 | ||
18 | struct ice_sched_agg_info { | 17 | struct ice_sched_agg_info { |
@@ -35,9 +34,9 @@ ice_sched_add_node(struct ice_port_info *pi, u8 layer, | |||
35 | void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node); | 34 | void ice_free_sched_node(struct ice_port_info *pi, struct ice_sched_node *node); |
36 | struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc); | 35 | struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc); |
37 | struct ice_sched_node * | 36 | struct ice_sched_node * |
38 | ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_id, u8 tc, | 37 | ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc, |
39 | u8 owner); | 38 | u8 owner); |
40 | enum ice_status | 39 | enum ice_status |
41 | ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_id, u8 tc, u16 maxqs, | 40 | ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs, |
42 | u8 owner, bool enable); | 41 | u8 owner, bool enable); |
43 | #endif /* _ICE_SCHED_H_ */ | 42 | #endif /* _ICE_SCHED_H_ */ |