diff options
author | Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> | 2018-12-19 13:03:27 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-01-15 14:11:10 -0500 |
commit | 03f7a986684597607de02f3023aa6c3657a78ab5 (patch) | |
tree | a68e18437a07c01c3f4a771941207a3f5dfbdb80 /drivers/net/ethernet/intel/ice/ice_lib.h | |
parent | ab4ab73fc1ec6dec548fa36c5e383ef5faa7b4c1 (diff) |
ice: Rework queue management code for reuse
This patch reworks the queue management code to allow for reuse with the
XDP feature (to be added in a future patch).
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
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_lib.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.h b/drivers/net/ethernet/intel/ice/ice_lib.h index 3831b4f0960a..7988a53729a9 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.h +++ b/drivers/net/ethernet/intel/ice/ice_lib.h | |||
@@ -15,7 +15,7 @@ void ice_update_eth_stats(struct ice_vsi *vsi); | |||
15 | 15 | ||
16 | int ice_vsi_cfg_rxqs(struct ice_vsi *vsi); | 16 | int ice_vsi_cfg_rxqs(struct ice_vsi *vsi); |
17 | 17 | ||
18 | int ice_vsi_cfg_txqs(struct ice_vsi *vsi); | 18 | int ice_vsi_cfg_lan_txqs(struct ice_vsi *vsi); |
19 | 19 | ||
20 | void ice_vsi_cfg_msix(struct ice_vsi *vsi); | 20 | void ice_vsi_cfg_msix(struct ice_vsi *vsi); |
21 | 21 | ||
@@ -31,7 +31,8 @@ int ice_vsi_start_rx_rings(struct ice_vsi *vsi); | |||
31 | 31 | ||
32 | int ice_vsi_stop_rx_rings(struct ice_vsi *vsi); | 32 | int ice_vsi_stop_rx_rings(struct ice_vsi *vsi); |
33 | 33 | ||
34 | int ice_vsi_stop_tx_rings(struct ice_vsi *vsi, enum ice_disq_rst_src rst_src, | 34 | int |
35 | ice_vsi_stop_lan_tx_rings(struct ice_vsi *vsi, enum ice_disq_rst_src rst_src, | ||
35 | u16 rel_vmvf_num); | 36 | u16 rel_vmvf_num); |
36 | 37 | ||
37 | int ice_cfg_vlan_pruning(struct ice_vsi *vsi, bool ena); | 38 | int ice_cfg_vlan_pruning(struct ice_vsi *vsi, bool ena); |