Re: [dpdk-dev] [PATCH v17 03/10] ethdev: add validation to offloads set by PMD

2019-11-13 Thread Ferruh Yigit
On 11/11/2019 1:19 PM, pbhagavat...@marvell.com wrote: > +static int > +validate_offloads(uint16_t port_id, uint64_t req_offloads, > + uint64_t set_offloads, const char *offload_type, > + const char *(*offload_name)(uint64_t)) > +{ > + uint64_t offloads_diff = req_of

[dpdk-dev] [PATCH v17 03/10] ethdev: add validation to offloads set by PMD

2019-11-11 Thread pbhagavatula
From: Pavan Nikhilesh Some PMDs cannot work when certain offloads are enable/disabled, as a workaround PMDs auto enable/disable offloads internally and expose it through dev->data->dev_conf.rxmode.offloads. After device specific dev_configure is called compare the requested offloads to the offlo