Re: [dpdk-dev] [PATCH 1/4] net/bnxt: fix extended port counter statistics

2019-07-25 Thread Santoshkumar Karanappa Rastapur
On Thu, Jul 25, 2019 at 1:09 PM Somnath Kotur wrote: > +Santosh > > On Thu, Jul 25, 2019 at 12:52 PM David Marchand > wrote: > >> On Thu, Jul 25, 2019 at 7:05 AM Somnath Kotur >> wrote: >> > >> > From: Santoshkumar Karanappa Rastapur >> > >> > We were trying to fill in more rx extended stats t

Re: [dpdk-dev] [PATCH 1/4] net/bnxt: fix extended port counter statistics

2019-07-25 Thread David Marchand
On Thu, Jul 25, 2019 at 9:54 AM Santoshkumar Karanappa Rastapur wrote: > > > > On Thu, Jul 25, 2019 at 1:09 PM Somnath Kotur > wrote: >> >> +Santosh >> >> On Thu, Jul 25, 2019 at 12:52 PM David Marchand >> wrote: >>> >>> On Thu, Jul 25, 2019 at 7:05 AM Somnath Kotur >>> wrote: >>> > >>> > Fro

Re: [dpdk-dev] [PATCH 1/4] net/bnxt: fix extended port counter statistics

2019-07-25 Thread Somnath Kotur
+Santosh On Thu, Jul 25, 2019 at 12:52 PM David Marchand wrote: > On Thu, Jul 25, 2019 at 7:05 AM Somnath Kotur > wrote: > > > > From: Santoshkumar Karanappa Rastapur > > > > We were trying to fill in more rx extended stats than the size allocated > > for stats causing segfault. Fixed this by

Re: [dpdk-dev] [PATCH 1/4] net/bnxt: fix extended port counter statistics

2019-07-25 Thread Somnath Kotur
+Santoshkumar Karanappa Rastapur On Thu, Jul 25, 2019 at 10:35 AM Somnath Kotur wrote: > From: Santoshkumar Karanappa Rastapur > > We were trying to fill in more rx extended stats than the size allocated > for stats causing segfault. Fixed this by adding an explicit check. > Rearranged the cod

Re: [dpdk-dev] [PATCH 1/4] net/bnxt: fix extended port counter statistics

2019-07-25 Thread David Marchand
On Thu, Jul 25, 2019 at 7:05 AM Somnath Kotur wrote: > > From: Santoshkumar Karanappa Rastapur > > We were trying to fill in more rx extended stats than the size allocated > for stats causing segfault. Fixed this by adding an explicit check. > Rearranged the code to return statistic values in xst

[dpdk-dev] [PATCH 1/4] net/bnxt: fix extended port counter statistics

2019-07-24 Thread Somnath Kotur
From: Santoshkumar Karanappa Rastapur We were trying to fill in more rx extended stats than the size allocated for stats causing segfault. Fixed this by adding an explicit check. Rearranged the code to return statistic values in xstats_get as per the names returned in xstats_get_names. Fixes: f5