Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
af_xdp: introduce to netns api
[vpp.git]
/
src
/
plugins
/
af_xdp
/
unformat.c
diff --git
a/src/plugins/af_xdp/unformat.c
b/src/plugins/af_xdp/unformat.c
index
bb4c304
..
8c0482d
100644
(file)
--- a/
src/plugins/af_xdp/unformat.c
+++ b/
src/plugins/af_xdp/unformat.c
@@
-46,6
+46,8
@@
unformat_af_xdp_create_if_args (unformat_input_t * input, va_list * vargs)
;
else if (unformat (line_input, "prog %s", &args->prog))
;
+ else if (unformat (line_input, "netns %s", &args->netns))
+ ;
else if (unformat (line_input, "no-zero-copy"))
args->mode = AF_XDP_MODE_COPY;
else if (unformat (line_input, "zero-copy"))