X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Favf%2Favf.h;h=dcf8d1c7271bb2b6f9691c58f0efdca8e5b58153;hb=817a6c47404550374d5a0700b328a803bec9b13e;hp=b56ae023e968245793551aaa7256f24de9e8e992;hpb=48de41ca11f0425999f858125eb22991638c7bcc;p=dpdk.git diff --git a/drivers/net/avf/avf.h b/drivers/net/avf/avf.h index b56ae023e9..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 */ @@ -201,4 +206,11 @@ 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_ */