Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ice/ice_switch.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 398 Lines • ▼ Show 20 Lines | |||||
enum ice_status | enum ice_status | ||||
ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id); | ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id); | ||||
enum ice_status | enum ice_status | ||||
ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id); | ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id); | ||||
/* Switch/bridge related commands */ | /* Switch/bridge related commands */ | ||||
enum ice_status ice_update_sw_rule_bridge_mode(struct ice_hw *hw); | enum ice_status ice_update_sw_rule_bridge_mode(struct ice_hw *hw); | ||||
enum ice_status ice_alloc_rss_global_lut(struct ice_hw *hw, bool shared_res, u16 *global_lut_id); | |||||
enum ice_status ice_free_rss_global_lut(struct ice_hw *hw, u16 global_lut_id); | |||||
enum ice_status | enum ice_status | ||||
ice_alloc_sw(struct ice_hw *hw, bool ena_stats, bool shared_res, u16 *sw_id, | ice_alloc_sw(struct ice_hw *hw, bool ena_stats, bool shared_res, u16 *sw_id, | ||||
u16 *counter_id); | u16 *counter_id); | ||||
enum ice_status | enum ice_status | ||||
ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id); | ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id); | ||||
enum ice_status | enum ice_status | ||||
ice_aq_get_res_alloc(struct ice_hw *hw, u16 *num_entries, | ice_aq_get_res_alloc(struct ice_hw *hw, u16 *num_entries, | ||||
struct ice_aqc_get_res_resp_elem *buf, u16 buf_size, | struct ice_aqc_get_res_resp_elem *buf, u16 buf_size, | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |