X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Favf%2Favf.h;h=dcf8d1c7271bb2b6f9691c58f0efdca8e5b58153;hb=817a6c47404550374d5a0700b328a803bec9b13e;hp=4e53d9c01979da45c9b2dbbf54b9d08e995206a8;hpb=69dd4c3d0898559ef326ab8f53beec26b62cc098;p=dpdk.git diff --git a/drivers/net/avf/avf.h b/drivers/net/avf/avf.h index 4e53d9c019..dcf8d1c727 100644 --- a/drivers/net/avf/avf.h +++ b/drivers/net/avf/avf.h @@ -116,6 +116,11 @@ struct avf_adapter { struct avf_hw hw; struct rte_eth_dev *eth_dev; struct avf_info vf; + + bool rx_bulk_alloc_allowed; + /* For vector PMD */ + bool rx_vec_allowed; + bool tx_vec_allowed; }; /* AVF_DEV_PRIVATE_TO */ @@ -199,4 +204,13 @@ int avf_configure_rss_key(struct avf_adapter *adapter); int avf_configure_queues(struct avf_adapter *adapter); int avf_config_irq_map(struct avf_adapter *adapter); void avf_add_del_all_mac_addr(struct avf_adapter *adapter, bool add); +int avf_dev_link_update(struct rte_eth_dev *dev, + __rte_unused int wait_to_complete); +int avf_query_stats(struct avf_adapter *adapter, + struct virtchnl_eth_stats **pstats); +int avf_config_promisc(struct avf_adapter *adapter, bool enable_unicast, + bool enable_multicast); +int avf_add_del_eth_addr(struct avf_adapter *adapter, + struct ether_addr *addr, bool add); +int avf_add_del_vlan(struct avf_adapter *adapter, uint16_t vlanid, bool add); #endif /* _AVF_ETHDEV_H_ */