#include <stdlib.h>
#include "../common.h"
#include "../jump_flow.h"
#include "snippet_match_nsh.h"
static void
snippet_init_nsh(void)
{
flow_attr.transfer = 1;
flow_attr.group = 1;
flow_attr.priority = 0;
}
static void
snippet_match_nsh_create_actions(uint16_t port_id,
struct rte_flow_action *action)
{
create_jump_flow(port_id, 1, &error);
if (portid == NULL)
fprintf(stderr, "Failed to allocate memory for port_id\n");
}
static void
{
if (spec == NULL)
fprintf(stderr, "Failed to allocate memory for spec\n");
if (mask == NULL)
fprintf(stderr, "Failed to allocate memory for mask\n");
}
static struct rte_flow_template_table *
snippet_nsh_flow_create_table(
__rte_unused uint16_t port_id,
{
return NULL;
}
@ RTE_FLOW_ACTION_TYPE_END
@ RTE_FLOW_ACTION_TYPE_PORT_ID
@ RTE_FLOW_ITEM_TYPE_VXLAN_GPE
@ RTE_FLOW_ITEM_TYPE_IPV6
enum rte_flow_action_type type
enum rte_flow_item_type type