[PATCH] lib/ethdev: fix segfault in secondary process by validating dev_private pointer
Khadem Ullah
14pwcse1224 at uetpeshawar.edu.pk
Tue Jul 22 19:53:08 CEST 2025
Right, but performance and reliability are both important. While DPDK
rightly prioritizes performance, some level of reliability should still be
ensured, especially to catch known issues that could lead to instability.
On Tue, Jul 22, 2025, 22:38 Stephen Hemminger <stephen at networkplumber.org>
wrote:
> On Tue, 22 Jul 2025 22:04:32 +0500
> Khadem Ullah <14pwcse1224 at uetpeshawar.edu.pk> wrote:
>
> > Agree, but I think it's also a good practice to guard against known cases
> > that are prone to crashes.
>
>
> Right but DPDK chooses performance over API safety.
> For example rx/tx burst doesn't check args.
>
> The point is that as a library, if application is doing something wrong
> returning error doesn't always help.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250722/30a6ed58/attachment.htm>
More information about the dev
mailing list