Re: [dpdk-dev] [PATCH] net/bnxt: fix build with gcc10 default fno-common

2020-05-05 Thread Ajit Khaparde
On Tue, May 5, 2020 at 7:56 AM Kevin Traynor wrote: > On 05/05/2020 05:03, Ajit Khaparde wrote: > > From: Randy Schacher > > > > Remove the defensive compile-time checker macro. > > > > Thanks Ajit/Randy. This removes the error for bnxt on my Fedora 32 system. > > Was chatting to David and he su

Re: [dpdk-dev] [PATCH] net/bnxt: fix build with gcc10 default fno-common

2020-05-05 Thread Ajit Khaparde
On Tue, May 5, 2020 at 7:56 AM Kevin Traynor wrote: > On 05/05/2020 05:03, Ajit Khaparde wrote: > > From: Randy Schacher > > > > Remove the defensive compile-time checker macro. > > > > Thanks Ajit/Randy. This removes the error for bnxt on my Fedora 32 system. > > Was chatting to David and he su

Re: [dpdk-dev] [PATCH] net/bnxt: fix build with gcc10 default fno-common

2020-05-05 Thread Kevin Traynor
On 05/05/2020 05:03, Ajit Khaparde wrote: > From: Randy Schacher > > Remove the defensive compile-time checker macro. > Thanks Ajit/Randy. This removes the error for bnxt on my Fedora 32 system. Was chatting to David and he suggest if 'static __rte_used' could be added to the macro as an alter

[dpdk-dev] [PATCH] net/bnxt: fix build with gcc10 default fno-common

2020-05-05 Thread Ajit Khaparde
From: Randy Schacher Remove the defensive compile-time checker macro. Bugzilla ID: 468 Fixes: 8430a8b841c8 ("net/bnxt: add initial TruFlow core session open") Signed-off-by: Randy Schacher Reviewed-by: Peter Spreadborough Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/tf_core/hwrm_tf.h | 24