Re: [dpdk-dev] [PATCH] net/bnxt: fix a segfault during Tx

2020-07-14 Thread Ajit Khaparde
On Sun, Jul 12, 2020 at 10:23 PM Somnath Kotur wrote: > From: Ajit Khaparde > > When TRUFLOW is not enabled ulp_ctx is not allocated. > In non-vector Tx datapath we are accessing this invalid pointer > resulting in a segfault. Check if TRUFLOW is enabled before > accessing ulp_ctx to avoid this.

[dpdk-dev] [PATCH] net/bnxt: fix a segfault during Tx

2020-07-13 Thread Somnath Kotur
From: Ajit Khaparde When TRUFLOW is not enabled ulp_ctx is not allocated. In non-vector Tx datapath we are accessing this invalid pointer resulting in a segfault. Check if TRUFLOW is enabled before accessing ulp_ctx to avoid this. Fixes: f86dc320a894 ("net/bnxt: fill cfa action in Tx descriptor"