X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fethdev%2Frte_flow_driver.h;h=f691b04af40d295545bb7af7472cf43f6c8c8e6c;hb=f840cf77132c81aeee4da1d0f1ed804505f5bcad;hp=6ae1f8c2644159a6cee1eb07ade0a8c099dfe096;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/ethdev/rte_flow_driver.h b/lib/ethdev/rte_flow_driver.h index 6ae1f8c264..f691b04af4 100644 --- a/lib/ethdev/rte_flow_driver.h +++ b/lib/ethdev/rte_flow_driver.h @@ -84,27 +84,27 @@ struct rte_flow_ops { void **context, uint32_t nb_contexts, struct rte_flow_error *err); - /** See rte_flow_shared_action_create() */ - struct rte_flow_shared_action *(*shared_action_create) + /** See rte_flow_action_handle_create() */ + struct rte_flow_action_handle *(*action_handle_create) (struct rte_eth_dev *dev, - const struct rte_flow_shared_action_conf *conf, + const struct rte_flow_indir_action_conf *conf, const struct rte_flow_action *action, struct rte_flow_error *error); - /** See rte_flow_shared_action_destroy() */ - int (*shared_action_destroy) + /** See rte_flow_action_handle_destroy() */ + int (*action_handle_destroy) (struct rte_eth_dev *dev, - struct rte_flow_shared_action *shared_action, + struct rte_flow_action_handle *handle, struct rte_flow_error *error); - /** See rte_flow_shared_action_update() */ - int (*shared_action_update) + /** See rte_flow_action_handle_update() */ + int (*action_handle_update) (struct rte_eth_dev *dev, - struct rte_flow_shared_action *shared_action, - const struct rte_flow_action *update, + struct rte_flow_action_handle *handle, + const void *update, struct rte_flow_error *error); - /** See rte_flow_shared_action_query() */ - int (*shared_action_query) + /** See rte_flow_action_handle_query() */ + int (*action_handle_query) (struct rte_eth_dev *dev, - const struct rte_flow_shared_action *shared_action, + const struct rte_flow_action_handle *handle, void *data, struct rte_flow_error *error); /** See rte_flow_tunnel_decap_set() */ @@ -139,6 +139,19 @@ struct rte_flow_ops { struct rte_flow_item *pmd_items, uint32_t num_of_items, struct rte_flow_error *err); + /** See rte_flow_pick_transfer_proxy() */ + int (*pick_transfer_proxy) + (struct rte_eth_dev *dev, + uint16_t *proxy_port_id, + struct rte_flow_error *error); + struct rte_flow_item_flex_handle *(*flex_item_create) + (struct rte_eth_dev *dev, + const struct rte_flow_item_flex_conf *conf, + struct rte_flow_error *error); + int (*flex_item_release) + (struct rte_eth_dev *dev, + const struct rte_flow_item_flex_handle *handle, + struct rte_flow_error *error); }; /**