app/testpmd: set VF TC Tx max bandwidth
[dpdk.git] / examples / ip_pipeline / pipeline / pipeline_firewall_be.h
index 8e1fd69..f5b0522 100644 (file)
@@ -63,6 +63,8 @@ struct pipeline_firewall_key {
 enum pipeline_firewall_msg_req_type {
        PIPELINE_FIREWALL_MSG_REQ_ADD = 0,
        PIPELINE_FIREWALL_MSG_REQ_DEL,
+       PIPELINE_FIREWALL_MSG_REQ_ADD_BULK,
+       PIPELINE_FIREWALL_MSG_REQ_DEL_BULK,
        PIPELINE_FIREWALL_MSG_REQ_ADD_DEFAULT,
        PIPELINE_FIREWALL_MSG_REQ_DEL_DEFAULT,
        PIPELINE_FIREWALL_MSG_REQS
@@ -105,6 +107,42 @@ struct pipeline_firewall_del_msg_rsp {
        int key_found;
 };
 
+/*
+ * MSG ADD BULK
+ */
+struct pipeline_firewall_add_bulk_msg_req {
+       enum pipeline_msg_req_type type;
+       enum pipeline_firewall_msg_req_type subtype;
+
+       struct pipeline_firewall_key *keys;
+       uint32_t n_keys;
+
+       uint32_t *priorities;
+       uint32_t *port_ids;
+       int *keys_found;
+       void **entries_ptr;
+};
+struct pipeline_firewall_add_bulk_msg_rsp {
+       int status;
+};
+
+/*
+ * MSG DEL BULK
+ */
+struct pipeline_firewall_del_bulk_msg_req {
+       enum pipeline_msg_req_type type;
+       enum pipeline_firewall_msg_req_type subtype;
+
+       /* key */
+       struct pipeline_firewall_key *keys;
+       uint32_t n_keys;
+       int *keys_found;
+};
+
+struct pipeline_firewall_del_bulk_msg_rsp {
+       int status;
+};
+
 /*
  * MSG ADD DEFAULT
  */