Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ice/ice_common.h
/* SPDX-License-Identifier: BSD-3-Clause */ | /* SPDX-License-Identifier: BSD-3-Clause */ | ||||
/* Copyright (c) 2020, Intel Corporation | /* Copyright (c) 2021, Intel Corporation | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions are met: | * modification, are permitted provided that the following conditions are met: | ||||
* | * | ||||
* 1. Redistributions of source code must retain the above copyright notice, | * 1. Redistributions of source code must retain the above copyright notice, | ||||
* this list of conditions and the following disclaimer. | * this list of conditions and the following disclaimer. | ||||
* | * | ||||
▲ Show 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
enum ice_status | enum ice_status | ||||
ice_clear_tx_drbell_q_ctx(struct ice_hw *hw, u32 tx_drbell_q_index); | ice_clear_tx_drbell_q_ctx(struct ice_hw *hw, u32 tx_drbell_q_index); | ||||
enum ice_status | enum ice_status | ||||
ice_write_tx_drbell_q_ctx(struct ice_hw *hw, | ice_write_tx_drbell_q_ctx(struct ice_hw *hw, | ||||
struct ice_tx_drbell_q_ctx *tx_drbell_q_ctx, | struct ice_tx_drbell_q_ctx *tx_drbell_q_ctx, | ||||
u32 tx_drbell_q_index); | u32 tx_drbell_q_index); | ||||
enum ice_status | enum ice_status | ||||
ice_aq_get_rss_lut(struct ice_hw *hw, u16 vsi_handle, u8 lut_type, u8 *lut, | ice_aq_get_rss_lut(struct ice_hw *hw, struct ice_aq_get_set_rss_lut_params *get_params); | ||||
u16 lut_size); | |||||
enum ice_status | enum ice_status | ||||
ice_aq_set_rss_lut(struct ice_hw *hw, u16 vsi_handle, u8 lut_type, u8 *lut, | ice_aq_set_rss_lut(struct ice_hw *hw, struct ice_aq_get_set_rss_lut_params *set_params); | ||||
u16 lut_size); | |||||
enum ice_status | enum ice_status | ||||
ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, | ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, | ||||
struct ice_aqc_get_set_rss_keys *keys); | struct ice_aqc_get_set_rss_keys *keys); | ||||
enum ice_status | enum ice_status | ||||
ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, | ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, | ||||
struct ice_aqc_get_set_rss_keys *keys); | struct ice_aqc_get_set_rss_keys *keys); | ||||
enum ice_status | enum ice_status | ||||
ice_aq_add_lan_txq(struct ice_hw *hw, u8 count, | ice_aq_add_lan_txq(struct ice_hw *hw, u8 count, | ||||
▲ Show 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | |||||
ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap, | ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap, | ||||
u16 *max_lanqs); | u16 *max_lanqs); | ||||
enum ice_status | enum ice_status | ||||
ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, | ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, | ||||
u8 num_qgrps, struct ice_aqc_add_tx_qgrp *buf, u16 buf_size, | u8 num_qgrps, struct ice_aqc_add_tx_qgrp *buf, u16 buf_size, | ||||
struct ice_sq_cd *cd); | struct ice_sq_cd *cd); | ||||
enum ice_status ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle); | enum ice_status ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle); | ||||
void ice_replay_post(struct ice_hw *hw); | void ice_replay_post(struct ice_hw *hw); | ||||
void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw); | |||||
void ice_sched_replay_agg(struct ice_hw *hw); | |||||
enum ice_status ice_sched_replay_tc_node_bw(struct ice_port_info *pi); | |||||
enum ice_status ice_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle); | |||||
enum ice_status ice_sched_replay_root_node_bw(struct ice_port_info *pi); | |||||
enum ice_status | |||||
ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx); | |||||
struct ice_q_ctx * | struct ice_q_ctx * | ||||
ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle); | ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle); | ||||
void | void | ||||
ice_stat_update40(struct ice_hw *hw, u32 reg, bool prev_stat_loaded, | ice_stat_update40(struct ice_hw *hw, u32 reg, bool prev_stat_loaded, | ||||
u64 *prev_stat, u64 *cur_stat); | u64 *prev_stat, u64 *cur_stat); | ||||
void | void | ||||
ice_stat_update32(struct ice_hw *hw, u32 reg, bool prev_stat_loaded, | ice_stat_update32(struct ice_hw *hw, u32 reg, bool prev_stat_loaded, | ||||
u64 *prev_stat, u64 *cur_stat); | u64 *prev_stat, u64 *cur_stat); | ||||
Show All 14 Lines | |||||
enum ice_status ice_aq_alternate_clear(struct ice_hw *hw); | enum ice_status ice_aq_alternate_clear(struct ice_hw *hw); | ||||
enum ice_status | enum ice_status | ||||
ice_sched_query_elem(struct ice_hw *hw, u32 node_teid, | ice_sched_query_elem(struct ice_hw *hw, u32 node_teid, | ||||
struct ice_aqc_txsched_elem_data *buf); | struct ice_aqc_txsched_elem_data *buf); | ||||
enum ice_status | enum ice_status | ||||
ice_get_cur_lldp_persist_status(struct ice_hw *hw, u32 *lldp_status); | ice_get_cur_lldp_persist_status(struct ice_hw *hw, u32 *lldp_status); | ||||
enum ice_status | enum ice_status | ||||
ice_get_dflt_lldp_persist_status(struct ice_hw *hw, u32 *lldp_status); | ice_get_dflt_lldp_persist_status(struct ice_hw *hw, u32 *lldp_status); | ||||
enum ice_status ice_get_netlist_ver_info(struct ice_hw *hw); | enum ice_status ice_get_netlist_ver_info(struct ice_hw *hw, struct ice_netlist_info *netlist); | ||||
enum ice_status | enum ice_status | ||||
ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size, | ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size, | ||||
struct ice_sq_cd *cd); | struct ice_sq_cd *cd); | ||||
bool ice_fw_supports_lldp_fltr_ctrl(struct ice_hw *hw); | bool ice_fw_supports_lldp_fltr_ctrl(struct ice_hw *hw); | ||||
enum ice_status | enum ice_status | ||||
ice_lldp_fltr_add_remove(struct ice_hw *hw, u16 vsi_num, bool add); | ice_lldp_fltr_add_remove(struct ice_hw *hw, u16 vsi_num, bool add); | ||||
#endif /* _ICE_COMMON_H_ */ | #endif /* _ICE_COMMON_H_ */ |