> > > + rte_eth_dev_rss_hash_conf_get(sa->portid, > > > + &rss_conf); > > > + for (i = 0, j = 0; i < eth_dev->data->nb_rx_queues; > > > + ++i) > > > + if (eth_dev->data->rx_queues[i]) > > > + queue[j++] = i; > > Compilation error > > > > /home/akhil/up/dpdk-next-crypto/examples/ipsec-secgw/ipsec.c: In > > function 'create_sec_session': > > /home/akhil/up/dpdk-next-crypto/examples/ipsec-secgw/ipsec.c:169:4: > > error: this 'for' clause does not guard... [-Werror=misleading-indentation] > > for (i = 0, j = 0; i < eth_dev->data->nb_rx_queues; > > ^~~ > > /home/akhil/up/dpdk-next-crypto/examples/ipsec-secgw/ipsec.c:173:5: > > note: ...this statement, but the latter is misleadingly indented as if it is > > guarded by the 'for' > > action_rss = (struct rte_flow_action_rss){ > > ^~~~~~~~~~ > > > <snip> > > I will send a v4. > What compiler are you using?
Cross compile for arm gcc-linaro-6.1.1-2016.08-x86_64_aarch64-linux-gnu > > Regards, > > Bernard. >