Re: [dpdk-dev] [PATCH v2] net/pfe: no need to check dev to be NULL Pointer

2021-06-29 Thread Andrew Rybchenko
On 5/24/21 1:28 PM, Gagandeep Singh wrote: -Original Message- From: Thierry Herbelot Sent: Monday, May 24, 2021 3:08 PM To: dev@dpdk.org Cc: Thierry Herbelot ; Thomas Monjalon ; sta...@dpdk.org; Gagandeep Singh Subject: [PATCH v2] net/pfe: no need to check dev to be NULL Pointer lib

Re: [dpdk-dev] [PATCH v2] net/pfe: no need to check dev to be NULL Pointer

2021-05-24 Thread Gagandeep Singh
> -Original Message- > From: Thierry Herbelot > Sent: Monday, May 24, 2021 3:08 PM > To: dev@dpdk.org > Cc: Thierry Herbelot ; Thomas Monjalon > ; sta...@dpdk.org; Gagandeep Singh > > Subject: [PATCH v2] net/pfe: no need to check dev to be NULL Pointer > > librte_ethdev library is alr

[dpdk-dev] [PATCH v2] net/pfe: no need to check dev to be NULL Pointer

2021-05-24 Thread Thierry Herbelot
librte_ethdev library is already doing some checks on dev before calling the link update. Fixes: acd4818ea2a45 ("net/pfe: add link status update") Cc: sta...@dpdk.org Cc: Gagandeep Singh Signed-off-by: Thierry Herbelot -- V2: rework after noting dev cannot be NULL --- drivers/net/pfe/pfe_ethde