id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
ice_vc_add_vlans(9) | NAME ice_vc_add_vlans - add VLAN(s) from the virtchnl filter list
SYNOPSIS int ice_vc_add_vlans (struct ice_vf *vf , struct ice_vsi *vsi , struct virtchnl_vlan_filter_list_v2 *vfl );
ARGUMENTS vf VF used to add the VLAN(s)
vsi VF's VSI used to add the VLAN(s)
vfl virthchnl fil... |
ice_vc_allowlist_opcodes(9) | NAME ice_vc_allowlist_opcodes - allowlist selected opcodes
SYNOPSIS void ice_vc_allowlist_opcodes (struct ice_vf *vf , const u32 *opcodes , size_t size );
ARGUMENTS vf pointer to VF structure
opcodes array of opocodes to allowlist
size size of opcodes array
DESCRIPTION Function sh... |
ice_vc_can_add_mac(9) | NAME ice_vc_can_add_mac - check if the VF is allowed to add a given MAC
SYNOPSIS bool ice_vc_can_add_mac (const struct ice_vf *vf , const u8 *mac );
ARGUMENTS vf a VF to add the address to
mac address to check
RETURN true if the VF is allowed to add such MAC address, false otherwise.
SEE AL... |
ice_vc_cfg_irq_map_msg(9) | NAME ice_vc_cfg_irq_map_msg -
SYNOPSIS int ice_vc_cfg_irq_map_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to configure the IRQ to queue map
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt... |
ice_vc_cfg_promiscuous_mode_msg(9) | NAME ice_vc_cfg_promiscuous_mode_msg -
SYNOPSIS int ice_vc_cfg_promiscuous_mode_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to configure VF VSIs promiscuous mode
SEE ALSO Kernel file ./drivers/net/eth... |
ice_vc_cfg_q_bw(9) | NAME ice_vc_cfg_q_bw - Configure per queue bandwidth
SYNOPSIS int ice_vc_cfg_q_bw (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer which holds the command descriptor
DESCRIPTION Configure VF queues bandwidth.
RETURN 0 on success or negative e... |
ice_vc_cfg_q_quanta(9) | NAME ice_vc_cfg_q_quanta - Configure per queue quanta
SYNOPSIS int ice_vc_cfg_q_quanta (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer which holds the command descriptor
DESCRIPTION Configure VF queues quanta.
RETURN 0 on success or negative... |
ice_vc_cfg_qs_msg(9) | NAME ice_vc_cfg_qs_msg -
SYNOPSIS int ice_vc_cfg_qs_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to configure the Rx/Tx queues
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/queues.c ic... |
ice_vc_clear_allowlist(9) | NAME ice_vc_clear_allowlist - clear all allowlist opcodes
SYNOPSIS void ice_vc_clear_allowlist (struct ice_vf *vf );
ARGUMENTS vf pointer to VF structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/allowlist.c ice_vc_is_opcode_allowed(9), ice_vc_allowlist_opcodes(9), ice_vc_set_default_allowl... |
ice_vc_config_rss_hfunc(9) | NAME ice_vc_config_rss_hfunc -
SYNOPSIS int ice_vc_config_rss_hfunc (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Configure the VF's RSS Hash function
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/rss.c ice_vc_... |
ice_vc_config_rss_key(9) | NAME ice_vc_config_rss_key -
SYNOPSIS int ice_vc_config_rss_key (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Configure the VF's RSS key
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/rss.c ice_vc_validate_patte... |
ice_vc_config_rss_lut(9) | NAME ice_vc_config_rss_lut -
SYNOPSIS int ice_vc_config_rss_lut (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Configure the VF's RSS LUT
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/rss.c ice_vc_validate_patte... |
ice_vc_del_fdir_fltr(9) | NAME ice_vc_del_fdir_fltr - delete a FDIR filter for VF by the msg buffer
SYNOPSIS int ice_vc_del_fdir_fltr (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
RETURN 0 on success, and other on error.
SEE ALSO Kernel file ./drivers/net/e... |
ice_vc_del_fdir_fltr_post(9) | NAME ice_vc_del_fdir_fltr_post -
SYNOPSIS int ice_vc_del_fdir_fltr_post (struct ice_vf *vf , struct ice_vf_fdir_ctx *ctx , enum virtchnl_fdir_prgm_status status , bool success );
ARGUMENTS vf pointer to the VF structure
ctx FDIR context info for post processing
status virtchnl FD... |
ice_vc_del_fdir_raw(9) | NAME ice_vc_del_fdir_raw - delete a raw FDIR filter for VF
SYNOPSIS int ice_vc_del_fdir_raw (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf , enum virtchnl_status_code *v_ret , struct virtchnl_fdir_del *stat , int len );
ARGUMENTS vf pointer to the VF info
conf FDIR configuration for... |
ice_vc_del_mac_addr(9) | NAME ice_vc_del_mac_addr - attempt to delete the MAC address passed in
SYNOPSIS int ice_vc_del_mac_addr (struct ice_vf *vf , struct ice_vsi *vsi , struct virtchnl_ether_addr *vc_ether_addr );
ARGUMENTS vf pointer to the VF info
vsi pointer to the VF's VSI
vc_ether_addr
... |
ice_vc_del_mac_addr_msg(9) | NAME ice_vc_del_mac_addr_msg -
SYNOPSIS int ice_vc_del_mac_addr_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION remove guest MAC address filter
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ic... |
ice_vc_del_vlans(9) | NAME ice_vc_del_vlans - delete VLAN(s) from the virtchnl filter list
SYNOPSIS int ice_vc_del_vlans (struct ice_vf *vf , struct ice_vsi *vsi , struct virtchnl_vlan_filter_list_v2 *vfl );
ARGUMENTS vf VF used to delete the VLAN(s)
vsi VF's VSI used to delete the VLAN(s)
vfl virt... |
ice_vc_dis_qs_msg(9) | NAME ice_vc_dis_qs_msg -
SYNOPSIS int ice_vc_dis_qs_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to disable all or specific queue(s)
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/queues.... |
ice_vc_dis_vlan_insertion_v2_msg(9) | NAME ice_vc_dis_vlan_insertion_v2_msg -
SYNOPSIS int ice_vc_dis_vlan_insertion_v2_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf VF the message was received from
msg message received from the VF
DESCRIPTION virthcnl handler for VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2
SEE ALSO Kernel file ... |
ice_vc_dis_vlan_stripping(9) | NAME ice_vc_dis_vlan_stripping -
SYNOPSIS int ice_vc_dis_vlan_stripping (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF info
DESCRIPTION Disable VLAN header stripping for a given VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9), ice_set_pfe_link(9), ... |
ice_vc_dis_vlan_stripping_v2_msg(9) | NAME ice_vc_dis_vlan_stripping_v2_msg -
SYNOPSIS int ice_vc_dis_vlan_stripping_v2_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf VF the message was received from
msg message received from the VF
DESCRIPTION virthcnl handler for VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2
SEE ALSO Kernel file ... |
ice_vc_ena_qs_msg(9) | NAME ice_vc_ena_qs_msg -
SYNOPSIS int ice_vc_ena_qs_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to enable all or specific queue(s)
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/queues.c... |
ice_vc_ena_vlan_insertion_v2_msg(9) | NAME ice_vc_ena_vlan_insertion_v2_msg -
SYNOPSIS int ice_vc_ena_vlan_insertion_v2_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf VF the message was received from
msg message received from the VF
DESCRIPTION virthcnl handler for VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2
SEE ALSO Kernel file .... |
ice_vc_ena_vlan_offload(9) | NAME ice_vc_ena_vlan_offload - enable VLAN offload based on the ethertype_setting
SYNOPSIS int ice_vc_ena_vlan_offload (struct ice_vsi *vsi , int (*ena_offload)(struct ice_vsi *vsi, u16 tpid) , u32 ethertype_setting );
ARGUMENTS vsi VF's VSI used to enable the VLAN offload
ena_offload function used to... |
ice_vc_ena_vlan_stripping(9) | NAME ice_vc_ena_vlan_stripping -
SYNOPSIS int ice_vc_ena_vlan_stripping (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF info
DESCRIPTION Enable VLAN header stripping for a given VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9), ice_set_pfe_link(9), i... |
ice_vc_ena_vlan_stripping_v2_msg(9) | NAME ice_vc_ena_vlan_stripping_v2_msg -
SYNOPSIS int ice_vc_ena_vlan_stripping_v2_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf VF the message was received from
msg message received from the VF
DESCRIPTION virthcnl handler for VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2
SEE ALSO Kernel file .... |
ice_vc_ether_addr_type(9) | NAME ice_vc_ether_addr_type - get type of virtchnl_ether_addr
SYNOPSIS u8 ice_vc_ether_addr_type (struct virtchnl_ether_addr *vc_ether_addr );
ARGUMENTS vc_ether_addr used to extract the type
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9), ice_set_pfe_link(9), ice_v... |
ice_vc_fdir_alloc_prof(9) | NAME ice_vc_fdir_alloc_prof - allocate profile for this filter flow type
SYNOPSIS int ice_vc_fdir_alloc_prof (struct ice_vf *vf , enum ice_fltr_ptype flow );
ARGUMENTS vf pointer to the VF structure
flow filter flow type
RETURN 0 on success, and other on error.
SEE ALSO Kernel file .... |
ice_vc_fdir_clear_irq_ctx(9) | NAME ice_vc_fdir_clear_irq_ctx - clear FDIR context info for IRQ handler
SYNOPSIS void ice_vc_fdir_clear_irq_ctx (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF structure
RETURN 0 on success, and other on error.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_... |
ice_vc_fdir_comp_rules(9) | NAME ice_vc_fdir_comp_rules - compare if two filter rules have the same value
SYNOPSIS bool ice_vc_fdir_comp_rules (struct virtchnl_fdir_fltr_conf *conf_a , struct virtchnl_fdir_fltr_conf *conf_b );
ARGUMENTS conf_a FDIR configuration for filter a
conf_b FDIR configuration for filter b
RETURN 0 on ... |
ice_vc_fdir_config_input_set(9) | NAME ice_vc_fdir_config_input_set -
SYNOPSIS int ice_vc_fdir_config_input_set (struct ice_vf *vf , struct virtchnl_fdir_add *fltr , struct virtchnl_fdir_fltr_conf *conf , int tun );
ARGUMENTS vf pointer to the VF structure
fltr virtual channel add cmd buffer
conf FDIR configurat... |
ice_vc_fdir_flush_entry(9) | NAME ice_vc_fdir_flush_entry - remove all FDIR conf entry
SYNOPSIS void ice_vc_fdir_flush_entry (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF info
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_param_check(9), ice_vf_start_ctrl_vsi(9), ice_vc_fdir_al... |
ice_vc_fdir_free_prof(9) | NAME ice_vc_fdir_free_prof - free profile for this filter flow type
SYNOPSIS void ice_vc_fdir_free_prof (struct ice_vf *vf , enum ice_fltr_ptype flow );
ARGUMENTS vf pointer to the VF structure
flow filter flow type
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ... |
ice_vc_fdir_free_prof_all(9) | NAME ice_vc_fdir_free_prof_all - free all the profile for this VF
SYNOPSIS void ice_vc_fdir_free_prof_all (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_param_check(9), ice_vf_start_ctrl_vsi(9), ... |
ice_vc_fdir_has_prof_conflict(9) | NAME ice_vc_fdir_has_prof_conflict -
SYNOPSIS bool ice_vc_fdir_has_prof_conflict (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf );
ARGUMENTS vf pointer to the VF structure
conf FDIR configuration for each filter
DESCRIPTION Check if conf has conflicting profile with existing profil... |
ice_vc_fdir_insert_entry(9) | NAME ice_vc_fdir_insert_entry -
SYNOPSIS int ice_vc_fdir_insert_entry (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf , u32 *id );
ARGUMENTS vf pointer to the VF info
conf FDIR configuration for each filter
id pointer to ID value allocated by driver
DESCRIPTION Inse... |
ice_vc_fdir_irq_handler(9) | NAME ice_vc_fdir_irq_handler - ctrl_vsi Rx queue interrupt handler
SYNOPSIS void ice_vc_fdir_irq_handler (struct ice_vsi *ctrl_vsi , union ice_32b_rx_flex_desc *rx_desc );
ARGUMENTS ctrl_vsi pointer to a VF's CTRL VSI
rx_desc pointer to FDIR Rx queue descriptor
SEE ALSO Kernel file ./drivers/n... |
ice_vc_fdir_is_dup_fltr(9) | NAME ice_vc_fdir_is_dup_fltr -
SYNOPSIS bool ice_vc_fdir_is_dup_fltr (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf );
ARGUMENTS vf pointer to the VF info
conf FDIR configuration for each filter
DESCRIPTION Check if there is duplicated rule with same conf value
RETURN 0 true succe... |
ice_vc_fdir_is_raw_flow(9) | NAME ice_vc_fdir_is_raw_flow - check if FDIR flow is raw (binary)
SYNOPSIS bool ice_vc_fdir_is_raw_flow (struct virtchnl_proto_hdrs *proto );
ARGUMENTS proto virtchnl protocol headers
DESCRIPTION Check if the FDIR rule is raw flow (protocol agnostic flow) or not. Note that common FDIR rule must have non-ze... |
ice_vc_fdir_lookup_entry(9) | NAME ice_vc_fdir_lookup_entry - lookup FDIR conf entry by ID value
SYNOPSIS struct virtchnl_fdir_fltr_conf * ice_vc_fdir_lookup_entry (struct ice_vf *vf , u32 id );
ARGUMENTS vf pointer to the VF info
id filter rule's ID
RETURN NULL on error, and other on success.
SEE ALSO Kernel file ... |
ice_vc_fdir_param_check(9) | NAME ice_vc_fdir_param_check -
SYNOPSIS int ice_vc_fdir_param_check (struct ice_vf *vf , u16 vsi_id );
ARGUMENTS vf pointer to the VF structure
vsi_id VF relative VSI ID
DESCRIPTION Check for the valid VSI ID, PF's state and VF's state
RETURN 0 on success, and -EINVAL on error.
SEE ALSO Kerne... |
ice_vc_fdir_parse_action(9) | NAME ice_vc_fdir_parse_action -
SYNOPSIS int ice_vc_fdir_parse_action (struct ice_vf *vf , struct virtchnl_fdir_add *fltr , struct virtchnl_fdir_fltr_conf *conf );
ARGUMENTS vf pointer to the VF info
fltr virtual channel add cmd buffer
conf FDIR configuration for each filter
DE... |
ice_vc_fdir_parse_flow_fld(9) | NAME ice_vc_fdir_parse_flow_fld -
SYNOPSIS int ice_vc_fdir_parse_flow_fld (struct virtchnl_proto_hdr *proto_hdr , struct virtchnl_fdir_fltr_conf *conf , enum ice_flow_field *fld , int *fld_cnt );
ARGUMENTS proto_hdr virtual channel protocol filter header
conf FDIR configuration for each filter
... |
ice_vc_fdir_parse_pattern(9) | NAME ice_vc_fdir_parse_pattern -
SYNOPSIS int ice_vc_fdir_parse_pattern (struct ice_vf *vf , struct virtchnl_fdir_add *fltr , struct virtchnl_fdir_fltr_conf *conf );
ARGUMENTS vf pointer to the VF info
fltr virtual channel add cmd buffer
conf FDIR configuration for each filter
... |
ice_vc_fdir_parse_raw(9) | NAME ice_vc_fdir_parse_raw - parse a virtchnl raw FDIR rule
SYNOPSIS int ice_vc_fdir_parse_raw (struct ice_vf *vf , struct virtchnl_proto_hdrs *proto , struct virtchnl_fdir_fltr_conf *conf );
ARGUMENTS vf pointer to the VF info
proto virtchnl protocol headers
conf FDIR configurat... |
ice_vc_fdir_rem_prof(9) | NAME ice_vc_fdir_rem_prof - remove profile for this filter flow type
SYNOPSIS void ice_vc_fdir_rem_prof (struct ice_vf *vf , enum ice_fltr_ptype flow , int tun );
ARGUMENTS vf pointer to the VF structure
flow filter flow type
tun 0 implies non-tunnel type filter, 1 implies tunn... |
ice_vc_fdir_rem_prof_all(9) | NAME ice_vc_fdir_rem_prof_all - remove profile for this VF
SYNOPSIS void ice_vc_fdir_rem_prof_all (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_param_check(9), ice_vf_start_ctrl_vsi(9), ice_vc_... |
ice_vc_fdir_remove_entry(9) | NAME ice_vc_fdir_remove_entry - remove FDIR conf entry by ID value
SYNOPSIS void ice_vc_fdir_remove_entry (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf , u32 id );
ARGUMENTS vf pointer to the VF info
conf FDIR configuration for each filter
id filter rule's ID
SEE ... |
ice_vc_fdir_reset_cnt_all(9) | NAME ice_vc_fdir_reset_cnt_all - reset all FDIR counters for this VF FDIR
SYNOPSIS void ice_vc_fdir_reset_cnt_all (struct ice_vf_fdir *fdir );
ARGUMENTS fdir pointer to the VF FDIR structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_param_check(9), ice_vf_st... |
ice_vc_fdir_set_flow_fld(9) | NAME ice_vc_fdir_set_flow_fld -
SYNOPSIS int ice_vc_fdir_set_flow_fld (struct ice_vf *vf , struct virtchnl_fdir_add *fltr , struct virtchnl_fdir_fltr_conf *conf , struct ice_flow_seg_info *seg );
ARGUMENTS vf pointer to the VF structure
fltr virtual channel add cmd buffer
conf F... |
ice_vc_fdir_set_flow_hdr(9) | NAME ice_vc_fdir_set_flow_hdr - config the flow's packet segment header
SYNOPSIS int ice_vc_fdir_set_flow_hdr (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf , struct ice_flow_seg_info *seg );
ARGUMENTS vf pointer to the VF structure
conf FDIR configuration for each filter
se... |
ice_vc_fdir_set_irq_ctx(9) | NAME ice_vc_fdir_set_irq_ctx - set FDIR context info for later IRQ handler
SYNOPSIS int ice_vc_fdir_set_irq_ctx (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf , enum virtchnl_ops v_opcode );
ARGUMENTS vf pointer to the VF structure
conf FDIR configuration for each filter
v_o... |
ice_vc_fdir_write_flow_prof(9) | NAME ice_vc_fdir_write_flow_prof -
SYNOPSIS int ice_vc_fdir_write_flow_prof (struct ice_vf *vf , enum ice_fltr_ptype flow , struct ice_flow_seg_info *seg , int tun );
ARGUMENTS vf pointer to the VF structure
flow filter flow type
seg array of one or more packet segments that de... |
ice_vc_fdir_write_fltr(9) | NAME ice_vc_fdir_write_fltr - write filter rule into hardware
SYNOPSIS int ice_vc_fdir_write_fltr (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf , bool add , bool is_tun );
ARGUMENTS vf pointer to the VF info
conf FDIR configuration for each filter
add true implies a... |
ice_vc_get_max_frame_size(9) | NAME ice_vc_get_max_frame_size - get max frame size allowed for VF
SYNOPSIS u16 ice_vc_get_max_frame_size (struct ice_vf *vf );
ARGUMENTS vf VF used to determine max frame size
DESCRIPTION Max frame size is determined based on the current port's max frame size and whether a port VLAN is configured on thi... |
ice_vc_get_offload_vlan_v2_caps(9) | NAME ice_vc_get_offload_vlan_v2_caps - determine VF's VLAN capabilities
SYNOPSIS int ice_vc_get_offload_vlan_v2_caps (struct ice_vf *vf );
ARGUMENTS vf VF to determine VLAN capabilities for
DESCRIPTION This will only be called if the VF and PF successfully negotiated VIRTCHNL_VF_OFFLOAD_VLAN_V2. Set VLAN c... |
ice_vc_get_qos_caps(9) | NAME ice_vc_get_qos_caps - Get current QoS caps from PF
SYNOPSIS int ice_vc_get_qos_caps (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF info
DESCRIPTION Get VF's QoS capabilities, such as TC number, arbiter and bandwidth from PF.
RETURN 0 on success or negative error value.
SEE ALSO Kernel file ./... |
ice_vc_get_rss_hashcfg(9) | NAME ice_vc_get_rss_hashcfg - return the RSS Hash configuration
SYNOPSIS int ice_vc_get_rss_hashcfg (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF info
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/rss.c ice_vc_validate_pattern(9), ice_vc_parse_rss_cfg(9), ice_vf_adv_rss_offload_ena... |
ice_vc_get_stats_msg(9) | NAME ice_vc_get_stats_msg -
SYNOPSIS int ice_vc_get_stats_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to get VSI stats
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_... |
ice_vc_get_tpid(9) | NAME ice_vc_get_tpid - transform from VIRTCHNL_VLAN_ETHERTYPE_* to VLAN TPID
SYNOPSIS int ice_vc_get_tpid (u32 ethertype_setting , u16 *tpid );
ARGUMENTS ethertype_setting VIRTCHNL_VLAN_ETHERTYPE_* used to get VLAN TPID
tpid VLAN TPID to populate
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice... |
ice_vc_get_ver_msg(9) | NAME ice_vc_get_ver_msg -
SYNOPSIS int ice_vc_get_ver_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to request the API version used by the PF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/v... |
ice_vc_get_vf_res_msg(9) | NAME ice_vc_get_vf_res_msg -
SYNOPSIS int ice_vc_get_vf_res_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to request its resources
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ... |
ice_vc_get_vlan_caps(9) | NAME ice_vc_get_vlan_caps -
SYNOPSIS u32 ice_vc_get_vlan_caps (struct ice_hw *hw , struct ice_vf *vf , struct ice_vsi *vsi , u32 driver_caps );
ARGUMENTS hw pointer to the hw
vf pointer to the VF info
vsi pointer to the VSI
driver_caps current driver caps
DESCRIPTION... |
ice_vc_handle_mac_addr_msg(9) | NAME ice_vc_handle_mac_addr_msg -
SYNOPSIS int ice_vc_handle_mac_addr_msg (struct ice_vf *vf , u8 *msg , bool set );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
set true if MAC filters are being set, false otherwise
DESCRIPTION add guest MAC address filt... |
ice_vc_handle_rss_cfg(9) | NAME ice_vc_handle_rss_cfg -
SYNOPSIS int ice_vc_handle_rss_cfg (struct ice_vf *vf , u8 *msg , bool add );
ARGUMENTS vf pointer to the VF info
msg pointer to the message buffer
add add a RSS config if true, otherwise delete a RSS config
DESCRIPTION This function adds/deletes ... |
ice_vc_is_opcode_allowed(9) | NAME ice_vc_is_opcode_allowed - check if this opcode is allowed on this VF
SYNOPSIS bool ice_vc_is_opcode_allowed (struct ice_vf *vf , u32 opcode );
ARGUMENTS vf pointer to VF structure
opcode virtchnl opcode
DESCRIPTION Return true if message is allowed on this VF
SEE ALSO Kernel file ./drive... |
ice_vc_is_valid_vlan(9) | NAME ice_vc_is_valid_vlan - validate the virtchnl_vlan
SYNOPSIS bool ice_vc_is_valid_vlan (struct virtchnl_vlan *vc_vlan );
ARGUMENTS vc_vlan virtchnl_vlan to validate
DESCRIPTION If the VLAN TCI and VLAN TPID are 0, then this filter is invalid, so return false. Otherwise return true.
SEE ALSO Kernel file ./d... |
ice_vc_isvalid_q_id(9) | NAME ice_vc_isvalid_q_id -
SYNOPSIS bool ice_vc_isvalid_q_id (struct ice_vsi *vsi , u16 qid );
ARGUMENTS vsi VSI to check queue ID against
qid VSI relative queue ID
DESCRIPTION check for the valid queue ID
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/queues.c ice_vc_get_max_fr... |
ice_vc_isvalid_ring_len(9) | NAME ice_vc_isvalid_ring_len -
SYNOPSIS bool ice_vc_isvalid_ring_len (u16 ring_len );
ARGUMENTS ring_len length of ring
DESCRIPTION check for the valid ring count, should be multiple of ICE_REQ_DESC_MULTIPLE or zero
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/queues.c ice_vc_get_max_frame_size(9... |
ice_vc_isvalid_vsi_id(9) | NAME ice_vc_isvalid_vsi_id -
SYNOPSIS bool ice_vc_isvalid_vsi_id (struct ice_vf *vf , u16 vsi_id );
ARGUMENTS vf pointer to the VF info
vsi_id VF relative VSI ID
DESCRIPTION check for the valid VSI ID
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(... |
ice_vc_notify_link_state(9) | NAME ice_vc_notify_link_state - Inform all VFs on a PF of link status
SYNOPSIS void ice_vc_notify_link_state (struct ice_pf *pf );
ARGUMENTS pf pointer to the PF structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9), ice_set_pfe_link(9), ice_vc_notify... |
ice_vc_notify_reset(9) | NAME ice_vc_notify_reset - Send pending reset message to all VFs
SYNOPSIS void ice_vc_notify_reset (struct ice_pf *pf );
ARGUMENTS pf pointer to the PF structure
DESCRIPTION indicate a pending reset to all VFs on a given PF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_... |
ice_vc_notify_vf_link_state(9) | NAME ice_vc_notify_vf_link_state - Inform a VF of link status
SYNOPSIS void ice_vc_notify_vf_link_state (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF structure
DESCRIPTION send a link status message to a single VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_... |
ice_vc_parse_rss_cfg(9) | NAME ice_vc_parse_rss_cfg - parses hash fields and headers from a specific virtchnl RSS cfg
SYNOPSIS bool ice_vc_parse_rss_cfg (struct ice_hw *hw , struct virtchnl_rss_cfg *rss_cfg , struct ice_rss_hash_cfg *hash_cfg );
ARGUMENTS hw pointer to the hardware
rss_cfg pointer to the virtchnl RSS cfg
... |
ice_vc_parser_fv_check_diff(9) | NAME ice_vc_parser_fv_check_diff - check two parsed FDIR profile fv context
SYNOPSIS bool ice_vc_parser_fv_check_diff (struct ice_parser_fv *fv_a , struct ice_parser_fv *fv_b );
ARGUMENTS fv_a struct of parsed FDIR profile field vector
fv_b struct of parsed FDIR profile field vector
DESCRIPTION... |
ice_vc_parser_fv_save(9) | NAME ice_vc_parser_fv_save - save parsed FDIR profile fv context
SYNOPSIS void ice_vc_parser_fv_save (struct ice_parser_fv *fv , struct ice_parser_fv *fv_src );
ARGUMENTS fv struct of parsed FDIR profile field vector
fv_src parsed FDIR profile field vector context to save
DESCRIPTION Save the p... |
ice_vc_process_vf_msg(9) | NAME ice_vc_process_vf_msg - Process request from VF
SYNOPSIS void ice_vc_process_vf_msg (struct ice_pf *pf , struct ice_rq_event_info *event , struct ice_mbx_data *mbxdata );
ARGUMENTS pf pointer to the PF structure
event pointer to the AQ event
mbxdata information used to detect V... |
ice_vc_process_vlan_msg(9) | NAME ice_vc_process_vlan_msg -
SYNOPSIS int ice_vc_process_vlan_msg (struct ice_vf *vf , u8 *msg , bool add_v );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
add_v Add VLAN if true, otherwise delete VLAN
DESCRIPTION Process virtchnl op to add or remove prog... |
ice_vc_query_rxdid(9) | NAME ice_vc_query_rxdid - query RXDID supported by DDP package
SYNOPSIS int ice_vc_query_rxdid (struct ice_vf *vf );
ARGUMENTS vf pointer to VF info
DESCRIPTION Called from VF to query a bitmap of supported flexible descriptor RXDIDs of a DDP package.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice... |
ice_vc_remove_vlan_msg(9) | NAME ice_vc_remove_vlan_msg -
SYNOPSIS int ice_vc_remove_vlan_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION remove programmed guest VLAN ID
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_... |
ice_vc_remove_vlan_v2_msg(9) | NAME ice_vc_remove_vlan_v2_msg - virtchnl handler for VIRTCHNL_OP_DEL_VLAN_V2
SYNOPSIS int ice_vc_remove_vlan_v2_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf VF the message was received from
msg message received from the VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/vir... |
ice_vc_repr_add_mac(9) | NAME ice_vc_repr_add_mac -
SYNOPSIS int ice_vc_repr_add_mac (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to VF
msg virtchannel message
DESCRIPTION When port representors are created, we do not add MAC rule to firmware, we store it so that PF could report same MAC as VF.
SEE ALSO Ker... |
ice_vc_repr_del_mac(9) | NAME ice_vc_repr_del_mac - response with success for deleting MAC
SYNOPSIS int ice_vc_repr_del_mac (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to VF
msg virtchannel message
DESCRIPTION Respond with success to not break normal VF flow. For legacy VF driver try to update cached MAC a... |
ice_vc_request_qs_msg(9) | NAME ice_vc_request_qs_msg -
SYNOPSIS int ice_vc_request_qs_msg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION VFs get a default number of queues but can use this message to request a different number. If the request is success... |
ice_vc_reset_vf_msg(9) | NAME ice_vc_reset_vf_msg -
SYNOPSIS void ice_vc_reset_vf_msg (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF info
DESCRIPTION called from the VF to reset itself, unlike other virtchnl messages, PF driver doesn't send the response back to the VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/v... |
ice_vc_send_msg_to_vf(9) | NAME ice_vc_send_msg_to_vf - Send message to VF
SYNOPSIS int ice_vc_send_msg_to_vf (struct ice_vf *vf , u32 v_opcode , enum virtchnl_status_code v_retval , u8 *msg , u16 msglen );
ARGUMENTS vf pointer to the VF info
v_opcode virtual channel opcode
v_retval virtual channel return value
... |
ice_vc_set_caps_allowlist(9) | NAME ice_vc_set_caps_allowlist - allowlist VF opcodes according caps
SYNOPSIS void ice_vc_set_caps_allowlist (struct ice_vf *vf );
ARGUMENTS vf pointer to VF structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/allowlist.c ice_vc_is_opcode_allowed(9), ice_vc_allowlist_opcodes(9), ice_vc_clea... |
ice_vc_set_default_allowlist(9) | NAME ice_vc_set_default_allowlist - allowlist default opcodes for VF
SYNOPSIS void ice_vc_set_default_allowlist (struct ice_vf *vf );
ARGUMENTS vf pointer to VF structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/allowlist.c ice_vc_is_opcode_allowed(9), ice_vc_allowlist_opcodes(9), ice_vc_c... |
ice_vc_set_dvm_caps(9) | NAME ice_vc_set_dvm_caps - set VLAN capabilities when the device is in DVM
SYNOPSIS void ice_vc_set_dvm_caps (struct ice_vf *vf , struct virtchnl_vlan_caps *caps );
ARGUMENTS vf VF that capabilities are being set for
caps VLAN capabilities to populate
DESCRIPTION Determine VLAN capabilities ... |
ice_vc_set_rss_hashcfg(9) | NAME ice_vc_set_rss_hashcfg - set RSS Hash configuration bits for the VF
SYNOPSIS int ice_vc_set_rss_hashcfg (struct ice_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/rss.c ice_vc_validate_... |
ice_vc_set_svm_caps(9) | NAME ice_vc_set_svm_caps - set VLAN capabilities when the device is in SVM
SYNOPSIS void ice_vc_set_svm_caps (struct ice_vf *vf , struct virtchnl_vlan_caps *caps );
ARGUMENTS vf VF that capabilities are being set for
caps VLAN capabilities to populate
DESCRIPTION Determine VLAN capabilities s... |
ice_vc_set_working_allowlist(9) | NAME ice_vc_set_working_allowlist - allowlist opcodes needed to by VF to work
SYNOPSIS void ice_vc_set_working_allowlist (struct ice_vf *vf );
ARGUMENTS vf pointer to VF structure
DESCRIPTION allowlist opcodes that aren't associated with specific caps, but are needed by VF to work.
SEE ALSO Kernel file ./d... |
ice_vc_to_vlan(9) | NAME ice_vc_to_vlan - transform from struct virtchnl_vlan to struct ice_vlan
SYNOPSIS struct ice_vlan ice_vc_to_vlan (struct virtchnl_vlan *vc_vlan );
ARGUMENTS vc_vlan struct virtchnl_vlan to transform
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9), ice_set_pfe_... |
ice_vc_valid_vlan_setting(9) | NAME ice_vc_valid_vlan_setting - validate VLAN setting
SYNOPSIS bool ice_vc_valid_vlan_setting (u32 negotiated_settings , u32 ethertype_setting );
ARGUMENTS negotiated_settings negotiated VLAN settings during VF init
ethertype_setting
ethertype(s) requested for the VLAN setting
SEE ALSO Ke... |
ice_vc_valid_vlan_setting_msg(9) | NAME ice_vc_valid_vlan_setting_msg - validate the VLAN setting message
SYNOPSIS bool ice_vc_valid_vlan_setting_msg (struct virtchnl_vlan_supported_caps *caps , struct virtchnl_vlan_setting *msg );
ARGUMENTS caps negotiated VLAN settings during VF init
msg message to validate
DESCRIPTION Used t... |
ice_vc_validate_add_vlan_filter_list(9) | NAME ice_vc_validate_add_vlan_filter_list - validate add filter list from the VF
SYNOPSIS bool ice_vc_validate_add_vlan_filter_list (struct ice_vsi *vsi , struct virtchnl_vlan_filtering_caps *vfc , struct virtchnl_vlan_filter_list_v2 *vfl );
ARGUMENTS vsi VF VSI used to get number of existing VLAN filters
... |
ice_vc_validate_fdir_fltr(9) | NAME ice_vc_validate_fdir_fltr - validate the virtual channel filter
SYNOPSIS int ice_vc_validate_fdir_fltr (struct ice_vf *vf , struct virtchnl_fdir_add *fltr , struct virtchnl_fdir_fltr_conf *conf );
ARGUMENTS vf pointer to the VF info
fltr virtual channel add cmd buffer
conf ... |
ice_vc_validate_pattern(9) | NAME ice_vc_validate_pattern -
SYNOPSIS bool ice_vc_validate_pattern (struct ice_vf *vf , struct virtchnl_proto_hdrs *proto );
ARGUMENTS vf pointer to the VF info
proto virtchnl protocol headers
DESCRIPTION validate the pattern is supported or not.
RETURN true on success, false on error.
SEE... |
ice_vc_validate_vlan_filter_list(9) | NAME ice_vc_validate_vlan_filter_list - validate the filter list from the VF
SYNOPSIS bool ice_vc_validate_vlan_filter_list (struct virtchnl_vlan_filtering_caps *vfc , struct virtchnl_vlan_filter_list_v2 *vfl );
ARGUMENTS vfc negotiated/supported VLAN filtering capabilities
vfl VLAN filter lis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.