On 7 Oct 2026, at 17:59, Eli Britstein via dev wrote:

> DOCA offload uses 'pipes' which are determined by their match/actions
> template, that the user should manage.  This module adds an abstraction
> for that.
>
> The user passes a set of match/actions (and some other) parameters.
> The module manages creation of new "group" and "mask_ctx" (which has a
> specific pipe) if needed (first use), keeping a those objects
> reference-counted. Upon deletion free the resources.

Hi Eli,

It fails to compile; do I need a newer version of DOCA?

//Eelco

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib 
-I ./lib -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith 
-Wformat -Wformat-security -Wswitch-enum -Wunused-parameter -Wbad-function-cast 
-Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes 
-Wmissing-field-initializers -Wmissing-declarations -fno-strict-aliasing 
-Wswitch-bool -Wlogical-not-parentheses -Wsizeof-array-argument -Wbool-compare 
-Wshift-negative-value -Wduplicated-cond -Wshadow -Wmultistatement-macros 
-Wcast-align=strict -mssse3 
-I/root/Documents/jira/FDP-2999_DPIF_DOCA/OVS_main_DPDK_v25.11/dpdk-stable/install/include
 -include rte_config.h -mrtm -I/usr/include/libnl3 -DLIBARCHIVE_STATIC 
-I/opt/mellanox/doca/include -pthread -I/usr/include/libnl3 
-I/root/Documents/jira/FDP-2999_DPIF_DOCA/OVS_main_DPDK_v25.11/dpdk-stable/install/include
 -include rte_config.h -march=native -mrtm -DALLOW_EXPERIMENTAL_API 
-DLIBARCHIVE_STATIC -DDOCA_ALLOW_EXPERIMENTAL_API -Werror 
-D_FILE_OFFSET_BITS=64 -g -O2 -msse4.2 -mpopcnt -MT lib/doca-pipe-group.lo -MD 
-MP -MF lib/.deps/doca-pipe-group.Tpo -c lib/doca-pipe-group.c -o 
lib/doca-pipe-group.o
lib/doca-pipe-group.c: In function ‘fwd_to_changeable_value’:
lib/doca-pipe-group.c:799:10: error: ‘DOCA_FLOW_FWD_TRIM’ undeclared (first use 
in this function); did you mean ‘DOCA_FLOW_FWD_DROP’?
  799 |     case DOCA_FLOW_FWD_TRIM:
      |          ^~~~~~~~~~~~~~~~~~
      |          DOCA_FLOW_FWD_DROP
lib/doca-pipe-group.c:799:10: note: each undeclared identifier is reported only 
once for each function it appears in
lib/doca-pipe-group.c: In function ‘doca_pipe_fwd_type_str’:
lib/doca-pipe-group.c:962:10: error: ‘DOCA_FLOW_FWD_TRIM’ undeclared (first use 
in this function); did you mean ‘DOCA_FLOW_FWD_DROP’?
  962 |     case DOCA_FLOW_FWD_TRIM:
      |          ^~~~~~~~~~~~~~~~~~
      |          DOCA_FLOW_FWD_DROP
make[1]: *** [Makefile:4431: lib/doca-pipe-group.lo] Error 1
make[1]: Leaving directory 
'/root/Documents/jira/FDP-2999_DPIF_DOCA/OVS_main_DPDK_v25.11/ovs_github'
make: *** [Makefile:2843: all] Error 2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to