[dpdk-dev] [EXT] Re: [PATCH v15 3/7] ethdev: add validation to offloads set by PMD

Thomas Monjalon thomas at monjalon.net
Fri Nov 1 23:50:32 CET 2019


31/10/2019 17:44, Pavan Nikhilesh Bhagavatula:
> >29/10/2019 16:37, pbhagavatula at marvell.com:
> >> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
> >> +{
> >> +	uint64_t offloads_diff = req_offloads ^ set_offloads;
> >> +	uint64_t offloads_req_diff, offloads_set_diff;
> >> +	uint64_t offload;
> >> +	uint8_t err = 0;
> >> +
> >> +	/* Check if any offload is advertised but not enabled. */
> >
> >Not sure "advertised" is the right word here.
> 
> Don't PMDs advertise their capabilities/offloads through dev_info?.

Yes





More information about the dev mailing list