RE: [PATCH] common/idpf: remove unnecessary compile option

2023-04-26 Thread Zhang, Qi Z
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, April 25, 2023 12:24 AM > To: Zhang, Qi Z > Cc: Xing, Beilei ; dev@dpdk.org > Subject: Re: [PATCH] common/idpf: remove unnecessary compile option > > On Mon, 24 Apr 2023 18:47:00 -0400 > Qi

Re: [PATCH] common/idpf: remove unnecessary compile option

2023-04-24 Thread Stephen Hemminger
On Mon, 24 Apr 2023 10:29:19 -0700 Tyler Retzlaff wrote: > On Mon, Apr 24, 2023 at 09:23:48AM -0700, Stephen Hemminger wrote: > > On Mon, 24 Apr 2023 18:47:00 -0400 > > Qi Zhang wrote: > > > > > Remove compile option "__KERNEL" which should not be considered in > > > DPDK. Also only #include

Re: [PATCH] common/idpf: remove unnecessary compile option

2023-04-24 Thread Tyler Retzlaff
On Mon, Apr 24, 2023 at 09:23:48AM -0700, Stephen Hemminger wrote: > On Mon, 24 Apr 2023 18:47:00 -0400 > Qi Zhang wrote: > > > Remove compile option "__KERNEL" which should not be considered in > > DPDK. Also only #include in idpf_osdep.h. > > > > Signed-off-by: Qi Zhang > > This will cause

Re: [PATCH] common/idpf: remove unnecessary compile option

2023-04-24 Thread Stephen Hemminger
On Mon, 24 Apr 2023 18:47:00 -0400 Qi Zhang wrote: > Remove compile option "__KERNEL" which should not be considered in > DPDK. Also only #include in idpf_osdep.h. > > Signed-off-by: Qi Zhang This will cause some warnings in DPDK build depending on compiler version and flags. You need to lea

[PATCH] common/idpf: remove unnecessary compile option

2023-04-24 Thread Qi Zhang
Remove compile option "__KERNEL" which should not be considered in DPDK. Also only #include in idpf_osdep.h. Signed-off-by: Qi Zhang --- drivers/common/idpf/base/idpf_controlq.c | 5 - drivers/common/idpf/base/idpf_controlq.h | 8 drivers/common/idpf/base/idpf_controlq_api.