/* MAC filters: 1 is reserved for the VF's default/perm_addr/LAA MAC, 1 for * broadcast, and 16 for additional unicast/multicast filters
*/ #define ICE_MAX_MACADDR_PER_VF 18 #define ICE_FLEX_DESC_RXDID_MAX_NUM 64
/* Priority to be compared against previous priority from the pipe */ #define ICE_RXDID_PRIO 0x03
/* VFs only get a single VSI. For ice hardware, the VF does not need to know * its VSI index. However, the virtchnl interface requires a VSI number, * mainly due to legacy hardware. * * Since the VF doesn't need this information, report a static value to the VF * instead of leaking any information about the PF or hardware setup.
*/ #define ICE_VF_VSI_ID 1
struct ice_virtchnl_ops { int (*get_ver_msg)(struct ice_vf *vf, u8 *msg); int (*get_vf_res_msg)(struct ice_vf *vf, u8 *msg); void (*reset_vf)(struct ice_vf *vf); int (*add_mac_addr_msg)(struct ice_vf *vf, u8 *msg); int (*del_mac_addr_msg)(struct ice_vf *vf, u8 *msg); int (*cfg_qs_msg)(struct ice_vf *vf, u8 *msg); int (*ena_qs_msg)(struct ice_vf *vf, u8 *msg); int (*dis_qs_msg)(struct ice_vf *vf, u8 *msg); int (*request_qs_msg)(struct ice_vf *vf, u8 *msg); int (*cfg_irq_map_msg)(struct ice_vf *vf, u8 *msg); int (*config_rss_key)(struct ice_vf *vf, u8 *msg); int (*config_rss_lut)(struct ice_vf *vf, u8 *msg); int (*config_rss_hfunc)(struct ice_vf *vf, u8 *msg); int (*get_stats_msg)(struct ice_vf *vf, u8 *msg); int (*cfg_promiscuous_mode_msg)(struct ice_vf *vf, u8 *msg); int (*add_vlan_msg)(struct ice_vf *vf, u8 *msg); int (*remove_vlan_msg)(struct ice_vf *vf, u8 *msg); int (*query_rxdid)(struct ice_vf *vf); int (*get_rss_hashcfg)(struct ice_vf *vf); int (*set_rss_hashcfg)(struct ice_vf *vf, u8 *msg); int (*ena_vlan_stripping)(struct ice_vf *vf); int (*dis_vlan_stripping)(struct ice_vf *vf); int (*handle_rss_cfg_msg)(struct ice_vf *vf, u8 *msg, bool add); int (*add_fdir_fltr_msg)(struct ice_vf *vf, u8 *msg); int (*del_fdir_fltr_msg)(struct ice_vf *vf, u8 *msg); int (*get_offload_vlan_v2_caps)(struct ice_vf *vf); int (*add_vlan_v2_msg)(struct ice_vf *vf, u8 *msg); int (*remove_vlan_v2_msg)(struct ice_vf *vf, u8 *msg); int (*ena_vlan_stripping_v2_msg)(struct ice_vf *vf, u8 *msg); int (*dis_vlan_stripping_v2_msg)(struct ice_vf *vf, u8 *msg); int (*ena_vlan_insertion_v2_msg)(struct ice_vf *vf, u8 *msg); int (*dis_vlan_insertion_v2_msg)(struct ice_vf *vf, u8 *msg); int (*get_qos_caps)(struct ice_vf *vf); int (*cfg_q_tc_map)(struct ice_vf *vf, u8 *msg); int (*cfg_q_bw)(struct ice_vf *vf, u8 *msg); int (*cfg_q_quanta)(struct ice_vf *vf, u8 *msg); int (*get_ptp_cap)(struct ice_vf *vf, conststruct virtchnl_ptp_caps *msg); int (*get_phc_time)(struct ice_vf *vf);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.