[dpdk-dev] [PATCH v6 4/4] doc: add details on ethdev offloads API

Shahaf Shuler shahafs at mellanox.com
Thu Mar 15 07:05:29 CET 2018


Thursday, March 15, 2018 3:58 AM, Patil, Harish:
> >2.12.0
> >
> Hi Shahaf,
> Have a minor question here.
> In the documentation it is stated that:
> "To enable per-port offload, the offload should be set on both device
> configuration and queue setup.”
> Our NIC supports only port-level offloads. So my understanding is that to
> enable per-port offload we just have to fill in
> rx_offload_capa/tx_offload_capa in dev_infos_get() routine. So I didn’t
> understand what is meant by ' both device configuration and queue setup’
> here.
> Pls let me know.
> Thanks.

It means on the [tx]rx_queue_setup the application should set the port offloads also in the queue offloads. This is the API for the application, and there is an ongoing discussion to remove this limitation, see [1].

You may add a routine to verify that (on the queue setup), or ignore completely the queue offloads configuration .

[1] http://dpdk.org/ml/archives/dev/2018-March/092684.html

> 
> 
> 
> >



More information about the dev mailing list