net/mlx5: fix VXLAN device rollback if rule apply fails
[dpdk.git] / drivers / net / avf / avf.h
index 97ebbad..dcf8d1c 100644 (file)
@@ -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 */
@@ -203,4 +208,9 @@ 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_ */