[dpdk-dev] [PATCH v7 02/14] eal: do not panic when CPU isn't supported

Aaron Conole aconole at redhat.com
Thu Mar 23 15:27:18 CET 2017


Bruce Richardson <bruce.richardson at intel.com> writes:

> On Wed, Mar 22, 2017 at 04:19:28PM -0400, Aaron Conole wrote:
>> This adds a new API to check for the eal cpu versions.
>> 
>> It's now possible to gracefully exit the application, or for
>> applications which support non-dpdk datapaths working in concert with
>> DPDK datapaths, there no longer is the possibility of exiting for
>> unsupported CPUs.
>> 
>> Signed-off-by: Aaron Conole <aconole at redhat.com>
>
> I think we should mark the old function as deprecated or else delete it
> entirely. It was technically public, but I suspect it was only ever used
> by the EAL init, so I'd look to get rid of it ASAP rather than leave it
> hanging around unneeded.

Okay, I'll submit a follow on patch after this is accepted to mark it as
deprecated.  I agree, I don't know of any application using it (though I
looked at MoonGen, ovs, and warp17).

> /Bruce


More information about the dev mailing list