ODP currently does not have any APIs for PFC processing. We've discussed
this in the past but there have been no use cases brought forward for it.
Due to the timings involved PFC requires HW support, so I assume DPDK is
taking advantage of NIC configuration options here.

On Wed, Dec 6, 2017 at 2:30 AM, Ilias Apalodimas <
ilias.apalodi...@linaro.org> wrote:

> We keep it disabled(via ethtool)on our mediated devices tests and we have
> seen better results.
>
>
> Regards
> Ilias
>
> On 6 December 2017 at 09:54, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
>
> > Until we did not do release  I have a question if we need api to
> > enable/disable flow control on pktio.
> > dpdk has it disabled by default. It can be configured with api:
> > +       /* disable flow control */
> > +       struct rte_eth_fc_conf fc_conf;
> > +
> > +       rte_eth_dev_flow_ctrl_get(pkt_dpdk->port_id, &fc_conf);
> > +       fc_conf.mode = RTE_FC_NONE;
> > +       fc_conf.low_water = 0;
> > +       fc_conf.high_water = 0;
> > +       rte_eth_dev_flow_ctrl_set(pkt_dpdk->port_id, &fc_conf);
> >
> >
> > Maxim.
> >
>

Reply via email to