X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fice%2Fice_dcf.h;h=0cb90b5e9ff3d2389146746871d8599a087a4d9e;hb=ca7036b4af3a82d258cca914e71171434b3d0320;hp=68e1661c0332fa4cd84bb11a6da20c75fe5dbd31;hpb=929eceefaba76c56a7409d55c2167b79e2ecb778;p=dpdk.git diff --git a/drivers/net/ice/ice_dcf.h b/drivers/net/ice/ice_dcf.h index 68e1661c03..0cb90b5e9f 100644 --- a/drivers/net/ice/ice_dcf.h +++ b/drivers/net/ice/ice_dcf.h @@ -5,7 +5,7 @@ #ifndef _ICE_DCF_H_ #define _ICE_DCF_H_ -#include +#include #include #include @@ -43,6 +43,7 @@ struct ice_dcf_hw { uint16_t num_vfs; uint16_t *vf_vsi_map; + uint16_t pf_vsi_id; struct virtchnl_version_info virtchnl_version; struct virtchnl_vf_resource *vf_res; /* VF resource */ @@ -58,6 +59,7 @@ struct ice_dcf_hw { uint16_t msix_base; uint16_t nb_msix; uint16_t rxq_map[16]; + struct virtchnl_eth_stats eth_stats_offset; }; int ice_dcf_execute_virtchnl_cmd(struct ice_dcf_hw *hw, @@ -72,4 +74,8 @@ int ice_dcf_configure_queues(struct ice_dcf_hw *hw); int ice_dcf_config_irq_map(struct ice_dcf_hw *hw); int ice_dcf_switch_queue(struct ice_dcf_hw *hw, uint16_t qid, bool rx, bool on); int ice_dcf_disable_queues(struct ice_dcf_hw *hw); +int ice_dcf_query_stats(struct ice_dcf_hw *hw, + struct virtchnl_eth_stats *pstats); +int ice_dcf_add_del_all_mac_addr(struct ice_dcf_hw *hw, bool add); + #endif /* _ICE_DCF_H_ */