Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
avf: fix incorrect flag for flow director
[vpp.git]
/
src
/
plugins
/
avf
/
flow.c
diff --git
a/src/plugins/avf/flow.c
b/src/plugins/avf/flow.c
index
37cac00
..
8d6d646
100644
(file)
--- a/
src/plugins/avf/flow.c
+++ b/
src/plugins/avf/flow.c
@@
-506,6
+506,7
@@
pattern_end:
if (f->actions & VNET_FLOW_ACTION_RSS)
{
avf_actions[action_count].conf = &act_rss;
if (f->actions & VNET_FLOW_ACTION_RSS)
{
avf_actions[action_count].conf = &act_rss;
+ is_fdir = false;
if ((act_rss.func = avf_flow_convert_rss_func (f->rss_fun)) ==
AVF_ETH_HASH_FUNCTION_MAX)
if ((act_rss.func = avf_flow_convert_rss_func (f->rss_fun)) ==
AVF_ETH_HASH_FUNCTION_MAX)
@@
-522,8
+523,6
@@
pattern_end:
is_fdir = true;
}
is_fdir = true;
}
- is_fdir = false;
-
if (fate == true)
{
rv = VNET_FLOW_ERROR_INTERNAL;
if (fate == true)
{
rv = VNET_FLOW_ERROR_INTERNAL;