flow: fix wrong to use ntohl function to u64 type variable
This caused that failed to create flow rule with rss types. Type: fix Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: I77696286a32804cbe884075cb027eec19eb5c7cb Signed-off-by: Yulong Pei <yulong.pei@intel.com>
This commit is contained in:

committed by
Damjan Marion

parent
c405f755e3
commit
24d7e72aa5
@ -328,7 +328,7 @@ vl_api_flow_add_v2_t_handler (vl_api_flow_add_v2_t *mp)
|
||||
flow.buffer_advance = ntohl (f->buffer_advance);
|
||||
flow.queue_index = ntohl (f->queue_index);
|
||||
flow.queue_num = ntohl (f->queue_num);
|
||||
flow.rss_types = ntohl (f->rss_types);
|
||||
flow.rss_types = clib_net_to_host_u64 (f->rss_types);
|
||||
flow.rss_fun = ntohl (f->rss_fun);
|
||||
|
||||
switch (flow.type)
|
||||
|
Reference in New Issue
Block a user