summaryrefslogtreecommitdiff
path: root/FAQ.md
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-03-22 08:39:05 -0700
committerBen Pfaff <blp@ovn.org>2016-03-22 14:04:51 -0700
commit936ed39945015cc6569056286fe9010c7fbf73f3 (patch)
tree496eabfddb75b18eb174872e094bf0f3e1d5bdcd /FAQ.md
parent3d657a0aacd0027d6878cd97b549ab9848a1dd2c (diff)
downloadopenvswitch-936ed39945015cc6569056286fe9010c7fbf73f3.tar.gz
FAQ: Document that new fields need to be added to nx_put_raw() also.
Reported-by: Enas Ahmad <enas.ahmad@kaust.edu.sa> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'FAQ.md')
-rw-r--r--FAQ.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/FAQ.md b/FAQ.md
index 9d0fd2154..4830c44cc 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -2021,11 +2021,12 @@ A: Add new members for your field to "struct flow" in lib/flow.h, and
add new enumerations for your new field to "enum mf_field_id" in
lib/meta-flow.h, following the existing pattern. Also, add support
to miniflow_extract() in lib/flow.c for extracting your new field
- from a packet into struct miniflow. Then recompile and fix all of
- the new warnings, implementing new functionality for the new field
- or header as needed. (If you configure with --enable-Werror, as
- described in [INSTALL.md], then it is impossible to miss any
- warnings.)
+ from a packet into struct miniflow, and to nx_put_raw() in
+ lib/nx-match.c to output your new field in OXM matches. Then
+ recompile and fix all of the new warnings, implementing new
+ functionality for the new field or header as needed. (If you
+ configure with --enable-Werror, as described in [INSTALL.md], then
+ it is impossible to miss any warnings.)
If you want kernel datapath support for your new field, you also
need to modify the kernel module for the operating systems you are