X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fiavf%2Fiavf_prototype.h;h=1c125d1d9400ebaf3a87de1410b629f58815cde8;hb=c5ed57d1ba3a9ed943f84a6bba72235970ee2fac;hp=ed4057b1c0ac6c746df0ba9d7e4b0a2b9b36ccdb;hpb=72390691c80c1ed20ef47cf1222d71d9f19347fa;p=dpdk.git diff --git a/drivers/common/iavf/iavf_prototype.h b/drivers/common/iavf/iavf_prototype.h index ed4057b1c0..1c125d1d94 100644 --- a/drivers/common/iavf/iavf_prototype.h +++ b/drivers/common/iavf/iavf_prototype.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2001-2020 + * Copyright(c) 2001-2021 Intel Corporation */ #ifndef _IAVF_PROTOTYPE_H_ @@ -17,7 +17,9 @@ */ /* adminq functions */ +__rte_internal enum iavf_status iavf_init_adminq(struct iavf_hw *hw); +__rte_internal enum iavf_status iavf_shutdown_adminq(struct iavf_hw *hw); enum iavf_status iavf_init_asq(struct iavf_hw *hw); enum iavf_status iavf_init_arq(struct iavf_hw *hw); @@ -30,6 +32,7 @@ void iavf_free_adminq_asq(struct iavf_hw *hw); void iavf_free_adminq_arq(struct iavf_hw *hw); enum iavf_status iavf_validate_mac_addr(u8 *mac_addr); void iavf_adminq_init_ring_data(struct iavf_hw *hw); +__rte_internal enum iavf_status iavf_clean_arq_element(struct iavf_hw *hw, struct iavf_arq_event_info *e, u16 *events_pending); @@ -61,6 +64,7 @@ enum iavf_status iavf_aq_set_rss_key(struct iavf_hw *hw, const char *iavf_aq_str(struct iavf_hw *hw, enum iavf_admin_queue_err aq_err); const char *iavf_stat_str(struct iavf_hw *hw, enum iavf_status stat_err); +__rte_internal enum iavf_status iavf_set_mac_type(struct iavf_hw *hw); extern struct iavf_rx_ptype_decoded iavf_ptype_lookup[]; @@ -76,9 +80,11 @@ void iavf_acquire_spinlock(struct iavf_spinlock *sp); void iavf_release_spinlock(struct iavf_spinlock *sp); void iavf_destroy_spinlock(struct iavf_spinlock *sp); +__rte_internal void iavf_vf_parse_hw_config(struct iavf_hw *hw, struct virtchnl_vf_resource *msg); enum iavf_status iavf_vf_reset(struct iavf_hw *hw); +__rte_internal enum iavf_status iavf_aq_send_msg_to_pf(struct iavf_hw *hw, enum virtchnl_ops v_opcode, enum iavf_status v_retval,