#include <stdlib.h>
#include "../common.h"
#include "../jump_flow.h"
#include "snippet_match_roce_ib_bth.h"
static void
snippet_init_roce_ib_bth(void)
{
flow_attr.ingress = 1;
flow_attr.group = 1;
flow_attr.priority = 1;
}
static void
snippet_match_roce_ib_bth_create_actions(uint16_t port_id,
struct rte_flow_action *action)
{
create_jump_flow(port_id, 1, &error);
if (queue == NULL)
fprintf(stderr, "Failed to allocate memory for queue\n");
}
static void
snippet_match_roce_ib_bth_create_patterns(
struct rte_flow_item *pattern)
{
if (bth == NULL)
fprintf(stderr, "Failed to allocate memory for bth\n");
}
static struct rte_flow_template_table *
snippet_match_roce_ib_bth_create_table(
__rte_unused uint16_t port_id,
{
return NULL;
}
@ RTE_FLOW_ACTION_TYPE_QUEUE
@ RTE_FLOW_ACTION_TYPE_END
@ RTE_FLOW_ITEM_TYPE_IPV4
@ RTE_FLOW_ITEM_TYPE_IB_BTH
enum rte_flow_action_type type
enum rte_flow_item_type type