Re: [dpdk-dev] [PATCH v16 3/8] ethdev: add validation to offloads set by PMD

2019-11-07 Thread Ferruh Yigit
On 11/6/2019 7:17 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_off

[dpdk-dev] [PATCH v16 3/8] ethdev: add validation to offloads set by PMD

2019-11-06 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