[dpdk-stable] [EXT] RE: [PATCH v3 1/2] examples/ipsec-secgw: fix 1st packet dropped for inline crypto
Akhil Goyal
akhil.goyal at nxp.com
Wed Apr 17 15:01:07 CEST 2019
> > > + 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.
>
More information about the stable
mailing list