Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ice/ice_switch.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | struct ice_vsi_ctx { | ||||
u16 vsis_unallocated; | u16 vsis_unallocated; | ||||
u16 flags; | u16 flags; | ||||
struct ice_aqc_vsi_props info; | struct ice_aqc_vsi_props info; | ||||
struct ice_sched_vsi_info sched; | struct ice_sched_vsi_info sched; | ||||
u8 alloc_from_pool; | u8 alloc_from_pool; | ||||
u8 vf_num; | u8 vf_num; | ||||
u16 num_lan_q_entries[ICE_MAX_TRAFFIC_CLASS]; | u16 num_lan_q_entries[ICE_MAX_TRAFFIC_CLASS]; | ||||
struct ice_q_ctx *lan_q_ctx[ICE_MAX_TRAFFIC_CLASS]; | struct ice_q_ctx *lan_q_ctx[ICE_MAX_TRAFFIC_CLASS]; | ||||
u16 num_rdma_q_entries[ICE_MAX_TRAFFIC_CLASS]; | |||||
struct ice_q_ctx *rdma_q_ctx[ICE_MAX_TRAFFIC_CLASS]; | |||||
}; | }; | ||||
/* This is to be used by add/update mirror rule Admin Queue command */ | /* This is to be used by add/update mirror rule Admin Queue command */ | ||||
struct ice_mir_rule_buf { | struct ice_mir_rule_buf { | ||||
u16 vsi_idx; /* VSI index */ | u16 vsi_idx; /* VSI index */ | ||||
/* For each VSI, user can specify whether corresponding VSI | /* For each VSI, user can specify whether corresponding VSI | ||||
* should be added/removed to/from mirror rule | * should be added/removed to/from mirror rule | ||||
▲ Show 20 Lines • Show All 347 Lines • ▼ Show 20 Lines | |||||
ice_remove_vlan(struct ice_hw *hw, struct LIST_HEAD_TYPE *v_list); | ice_remove_vlan(struct ice_hw *hw, struct LIST_HEAD_TYPE *v_list); | ||||
void ice_rem_all_sw_rules_info(struct ice_hw *hw); | void ice_rem_all_sw_rules_info(struct ice_hw *hw); | ||||
enum ice_status ice_add_mac(struct ice_hw *hw, struct LIST_HEAD_TYPE *m_lst); | enum ice_status ice_add_mac(struct ice_hw *hw, struct LIST_HEAD_TYPE *m_lst); | ||||
enum ice_status ice_remove_mac(struct ice_hw *hw, struct LIST_HEAD_TYPE *m_lst); | enum ice_status ice_remove_mac(struct ice_hw *hw, struct LIST_HEAD_TYPE *m_lst); | ||||
enum ice_status | enum ice_status | ||||
ice_add_eth_mac(struct ice_hw *hw, struct LIST_HEAD_TYPE *em_list); | ice_add_eth_mac(struct ice_hw *hw, struct LIST_HEAD_TYPE *em_list); | ||||
enum ice_status | enum ice_status | ||||
ice_remove_eth_mac(struct ice_hw *hw, struct LIST_HEAD_TYPE *em_list); | ice_remove_eth_mac(struct ice_hw *hw, struct LIST_HEAD_TYPE *em_list); | ||||
enum ice_status | |||||
ice_cfg_iwarp_fltr(struct ice_hw *hw, u16 vsi_handle, bool enable); | |||||
enum ice_status | enum ice_status | ||||
ice_add_mac_with_sw_marker(struct ice_hw *hw, struct ice_fltr_info *f_info, | ice_add_mac_with_sw_marker(struct ice_hw *hw, struct ice_fltr_info *f_info, | ||||
u16 sw_marker); | u16 sw_marker); | ||||
enum ice_status | enum ice_status | ||||
ice_add_mac_with_counter(struct ice_hw *hw, struct ice_fltr_info *f_info); | ice_add_mac_with_counter(struct ice_hw *hw, struct ice_fltr_info *f_info); | ||||
void ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle); | void ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle); | ||||
Show All 35 Lines |