DPDK patches and discussions
 help / color / mirror / Atom feed
* RE: [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
  2022-02-07 16:48 [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC Yiding Zhou
@ 2022-02-07 13:14 ` Wang, Haiyue
  2022-02-07 13:46   ` Bruce Richardson
  2022-02-08 15:42 ` [PATCH v2] " Yiding Zhou
  1 sibling, 1 reply; 9+ messages in thread
From: Wang, Haiyue @ 2022-02-07 13:14 UTC (permalink / raw)
  To: Zhou, YidingX, Yang, Qiming, Zhang, Qi Z; +Cc: dev

> -----Original Message-----
> From: Yiding Zhou <yidingx.zhou@intel.com>
> Sent: Tuesday, February 8, 2022 00:48
> To: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org
> Subject: [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> 
> gcc will report error "unused parameter 'rxq'" when the macro
> RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use "(void)rxq" to avoid it
> 
> Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
> ---
>  drivers/net/ice/ice_rxtx.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
> index 58700f1b92..97572d5952 100644
> --- a/drivers/net/ice/ice_rxtx.c
> +++ b/drivers/net/ice/ice_rxtx.c
> @@ -163,6 +163,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v1(struct ice_rx_queue *rxq,
>  			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb) = metadata;
>  		}
>  	}
> +#else
> +	(void)rxq;
>  #endif
>  }
> 
> @@ -201,6 +203,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v2(struct ice_rx_queue *rxq,
>  			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb) = metadata;
>  		}
>  	}
> +#else
> +	(void)rxq;
>  #endif
>  }
> 

" __rte_unused struct ice_rx_queue *rxq" could make the fix clean.

> --
> 2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
  2022-02-07 13:14 ` Wang, Haiyue
@ 2022-02-07 13:46   ` Bruce Richardson
  2022-02-08  5:35     ` Zhou, YidingX
  0 siblings, 1 reply; 9+ messages in thread
From: Bruce Richardson @ 2022-02-07 13:46 UTC (permalink / raw)
  To: Wang, Haiyue; +Cc: Zhou, YidingX, Yang, Qiming, Zhang, Qi Z, dev

On Mon, Feb 07, 2022 at 01:14:18PM +0000, Wang, Haiyue wrote:
> > -----Original Message-----
> > From: Yiding Zhou <yidingx.zhou@intel.com>
> > Sent: Tuesday, February 8, 2022 00:48
> > To: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>
> > Cc: dev@dpdk.org
> > Subject: [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> > 
> > gcc will report error "unused parameter 'rxq'" when the macro
> > RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use "(void)rxq" to avoid it
> > 
> > Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
> > ---
> >  drivers/net/ice/ice_rxtx.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
> > index 58700f1b92..97572d5952 100644
> > --- a/drivers/net/ice/ice_rxtx.c
> > +++ b/drivers/net/ice/ice_rxtx.c
> > @@ -163,6 +163,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v1(struct ice_rx_queue *rxq,
> >  			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb) = metadata;
> >  		}
> >  	}
> > +#else
> > +	(void)rxq;
> >  #endif
> >  }
> > 
> > @@ -201,6 +203,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v2(struct ice_rx_queue *rxq,
> >  			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb) = metadata;
> >  		}
> >  	}
> > +#else
> > +	(void)rxq;
> >  #endif
> >  }
> > 
> 
> " __rte_unused struct ice_rx_queue *rxq" could make the fix clean.
> 

+1

Or alternatively put in "RTE_SET_USED" macro after the endif. It doesn't
generate any instructions so doesn't need a #else clause.

/Bruce

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
@ 2022-02-07 16:48 Yiding Zhou
  2022-02-07 13:14 ` Wang, Haiyue
  2022-02-08 15:42 ` [PATCH v2] " Yiding Zhou
  0 siblings, 2 replies; 9+ messages in thread
From: Yiding Zhou @ 2022-02-07 16:48 UTC (permalink / raw)
  To: qiming.yang, qi.z.zhang; +Cc: dev

gcc will report error "unused parameter 'rxq'" when the macro
RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use "(void)rxq" to avoid it

Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
Cc: stable@dpdk.org

Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
---
 drivers/net/ice/ice_rxtx.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index 58700f1b92..97572d5952 100644
--- a/drivers/net/ice/ice_rxtx.c
+++ b/drivers/net/ice/ice_rxtx.c
@@ -163,6 +163,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v1(struct ice_rx_queue *rxq,
 			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb) = metadata;
 		}
 	}
+#else
+	(void)rxq;
 #endif
 }
 
@@ -201,6 +203,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v2(struct ice_rx_queue *rxq,
 			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb) = metadata;
 		}
 	}
+#else
+	(void)rxq;
 #endif
 }
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
  2022-02-07 13:46   ` Bruce Richardson
@ 2022-02-08  5:35     ` Zhou, YidingX
  2022-02-10  3:09       ` Ling, WeiX
  0 siblings, 1 reply; 9+ messages in thread
From: Zhou, YidingX @ 2022-02-08  5:35 UTC (permalink / raw)
  To: Richardson, Bruce, Wang, Haiyue; +Cc: Yang, Qiming, Zhang, Qi Z, dev



> -----Original Message-----
> From: Richardson, Bruce <bruce.richardson@intel.com>
> Sent: Monday, February 7, 2022 9:46 PM
> To: Wang, Haiyue <haiyue.wang@intel.com>
> Cc: Zhou, YidingX <yidingx.zhou@intel.com>; Yang, Qiming
> <qiming.yang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>;
> dev@dpdk.org
> Subject: Re: [PATCH] net/ice: fix gcc error with -
> DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> 
> On Mon, Feb 07, 2022 at 01:14:18PM +0000, Wang, Haiyue wrote:
> > > -----Original Message-----
> > > From: Yiding Zhou <yidingx.zhou@intel.com>
> > > Sent: Tuesday, February 8, 2022 00:48
> > > To: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
> > > <qi.z.zhang@intel.com>
> > > Cc: dev@dpdk.org
> > > Subject: [PATCH] net/ice: fix gcc error with
> > > -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> > >
> > > gcc will report error "unused parameter 'rxq'" when the macro
> > > RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use "(void)rxq" to avoid
> > > it
> > >
> > > Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
> > > Cc: stable@dpdk.org
> > >
> > > Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
> > > ---
> > >  drivers/net/ice/ice_rxtx.c | 4 ++++
> > >  1 file changed, 4 insertions(+)
> > >
> > > diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
> > > index 58700f1b92..97572d5952 100644
> > > --- a/drivers/net/ice/ice_rxtx.c
> > > +++ b/drivers/net/ice/ice_rxtx.c
> > > @@ -163,6 +163,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v1(struct
> ice_rx_queue *rxq,
> > >  			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb)
> = metadata;
> > >  		}
> > >  	}
> > > +#else
> > > +	(void)rxq;
> > >  #endif
> > >  }
> > >
> > > @@ -201,6 +203,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v2(struct
> ice_rx_queue *rxq,
> > >  			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb)
> = metadata;
> > >  		}
> > >  	}
> > > +#else
> > > +	(void)rxq;
> > >  #endif
> > >  }
> > >
> >
> > " __rte_unused struct ice_rx_queue *rxq" could make the fix clean.
> >
> 
> +1
> 
> Or alternatively put in "RTE_SET_USED" macro after the endif. It doesn't
> generate any instructions so doesn't need a #else clause.
> 
Thanks for your advice. Using RTE_SET_USED macro is better.
> /Bruce

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v2] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
  2022-02-07 16:48 [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC Yiding Zhou
  2022-02-07 13:14 ` Wang, Haiyue
@ 2022-02-08 15:42 ` Yiding Zhou
  2022-02-10  2:36   ` Ling, WeiX
  1 sibling, 1 reply; 9+ messages in thread
From: Yiding Zhou @ 2022-02-08 15:42 UTC (permalink / raw)
  To: qiming.yang, qi.z.zhang; +Cc: yidingx.zhou, dev

gcc will report error "unused parameter 'rxq'" when the macro
RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use RTE_SET_USED to avoid it

Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
Cc: stable@dpdk.org

Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
---
 drivers/net/ice/ice_rxtx.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index 58700f1b92..4f218bcd0d 100644
--- a/drivers/net/ice/ice_rxtx.c
+++ b/drivers/net/ice/ice_rxtx.c
@@ -163,6 +163,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v1(struct ice_rx_queue *rxq,
 			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb) = metadata;
 		}
 	}
+#else
+	RTE_SET_USED(rxq);
 #endif
 }
 
@@ -201,6 +203,8 @@ ice_rxd_to_pkt_fields_by_comms_aux_v2(struct ice_rx_queue *rxq,
 			*RTE_NET_ICE_DYNF_PROTO_XTR_METADATA(mb) = metadata;
 		}
 	}
+#else
+	RTE_SET_USED(rxq);
 #endif
 }
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH v2] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
  2022-02-08 15:42 ` [PATCH v2] " Yiding Zhou
@ 2022-02-10  2:36   ` Ling, WeiX
  0 siblings, 0 replies; 9+ messages in thread
From: Ling, WeiX @ 2022-02-10  2:36 UTC (permalink / raw)
  To: Zhou, YidingX, Yang, Qiming, Zhang, Qi Z; +Cc: Zhou, YidingX, dev

> -----Original Message-----
> From: Yiding Zhou <yidingx.zhou@intel.com>
> Sent: Tuesday, February 8, 2022 11:42 PM
> To: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>
> Cc: Zhou, YidingX <yidingx.zhou@intel.com>; dev@dpdk.org
> Subject: [PATCH v2] net/ice: fix gcc error with -

Tested-by: Wei Ling <weix.ling@intel.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
  2022-02-08  5:35     ` Zhou, YidingX
@ 2022-02-10  3:09       ` Ling, WeiX
  2022-02-10  9:30         ` Zhang, Qi Z
  0 siblings, 1 reply; 9+ messages in thread
From: Ling, WeiX @ 2022-02-10  3:09 UTC (permalink / raw)
  To: Zhou, YidingX, Richardson, Bruce, Wang, Haiyue
  Cc: Yang, Qiming, Zhang, Qi Z, dev

> -----Original Message-----
> From: Zhou, YidingX <yidingx.zhou@intel.com>
> Sent: Tuesday, February 8, 2022 1:35 PM
> To: Richardson, Bruce <bruce.richardson@intel.com>; Wang, Haiyue
> <haiyue.wang@intel.com>
> Cc: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>; dev@dpdk.org
> Subject: RE: [PATCH] net/ice: fix gcc error with -
> DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> 
> 
> 
> > -----Original Message-----
> > From: Richardson, Bruce <bruce.richardson@intel.com>
> > Sent: Monday, February 7, 2022 9:46 PM
> > To: Wang, Haiyue <haiyue.wang@intel.com>
> > Cc: Zhou, YidingX <yidingx.zhou@intel.com>; Yang, Qiming
> > <qiming.yang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>;
> > dev@dpdk.org
> > Subject: Re: [PATCH] net/ice: fix gcc error with -
> > DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> >
> > On Mon, Feb 07, 2022 at 01:14:18PM +0000, Wang, Haiyue wrote:
> > > > -----Original Message-----
> > > > From: Yiding Zhou <yidingx.zhou@intel.com>
> > > > Sent: Tuesday, February 8, 2022 00:48
> > > > To: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
> > > > <qi.z.zhang@intel.com>
> > > > Cc: dev@dpdk.org
> > > > Subject: [PATCH] net/ice: fix gcc error with
> > > > -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> > > >
> > > > gcc will report error "unused parameter 'rxq'" when the macro
> > > > RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use "(void)rxq" to avoid
> > > > it
> > > >
> > > > Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
> > > > Cc: stable@dpdk.org
> > > >
> > > > Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
> > > > ---

Tested-by: Wei Ling <weix.ling@intel.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
  2022-02-10  3:09       ` Ling, WeiX
@ 2022-02-10  9:30         ` Zhang, Qi Z
  2022-02-10 10:12           ` Ferruh Yigit
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang, Qi Z @ 2022-02-10  9:30 UTC (permalink / raw)
  To: Ling, WeiX, Zhou, YidingX, Richardson, Bruce, Wang, Haiyue
  Cc: Yang, Qiming, dev



> -----Original Message-----
> From: Ling, WeiX <weix.ling@intel.com>
> Sent: Thursday, February 10, 2022 11:09 AM
> To: Zhou, YidingX <yidingx.zhou@intel.com>; Richardson, Bruce
> <bruce.richardson@intel.com>; Wang, Haiyue <haiyue.wang@intel.com>
> Cc: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>; dev@dpdk.org
> Subject: RE: [PATCH] net/ice: fix gcc error with -
> DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> 
> > -----Original Message-----
> > From: Zhou, YidingX <yidingx.zhou@intel.com>
> > Sent: Tuesday, February 8, 2022 1:35 PM
> > To: Richardson, Bruce <bruce.richardson@intel.com>; Wang, Haiyue
> > <haiyue.wang@intel.com>
> > Cc: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
> > <qi.z.zhang@intel.com>; dev@dpdk.org
> > Subject: RE: [PATCH] net/ice: fix gcc error with -
> > DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> >
> >
> >
> > > -----Original Message-----
> > > From: Richardson, Bruce <bruce.richardson@intel.com>
> > > Sent: Monday, February 7, 2022 9:46 PM
> > > To: Wang, Haiyue <haiyue.wang@intel.com>
> > > Cc: Zhou, YidingX <yidingx.zhou@intel.com>; Yang, Qiming
> > > <qiming.yang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>;
> > > dev@dpdk.org
> > > Subject: Re: [PATCH] net/ice: fix gcc error with -
> > > DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> > >
> > > On Mon, Feb 07, 2022 at 01:14:18PM +0000, Wang, Haiyue wrote:
> > > > > -----Original Message-----
> > > > > From: Yiding Zhou <yidingx.zhou@intel.com>
> > > > > Sent: Tuesday, February 8, 2022 00:48
> > > > > To: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
> > > > > <qi.z.zhang@intel.com>
> > > > > Cc: dev@dpdk.org
> > > > > Subject: [PATCH] net/ice: fix gcc error with
> > > > > -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
> > > > >
> > > > > gcc will report error "unused parameter 'rxq'" when the macro
> > > > > RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use "(void)rxq" to
> > > > > avoid it
> > > > >
> > > > > Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
> > > > > Cc: stable@dpdk.org
> > > > >
> > > > > Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
> > > > > ---
> 
> Tested-by: Wei Ling <weix.ling@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
  2022-02-10  9:30         ` Zhang, Qi Z
@ 2022-02-10 10:12           ` Ferruh Yigit
  0 siblings, 0 replies; 9+ messages in thread
From: Ferruh Yigit @ 2022-02-10 10:12 UTC (permalink / raw)
  To: Zhang, Qi Z, Ling, WeiX, Zhou, YidingX, Richardson, Bruce, Wang, Haiyue
  Cc: Yang, Qiming, dev

On 2/10/2022 9:30 AM, Zhang, Qi Z wrote:
> 
> 
>> -----Original Message-----
>> From: Ling, WeiX <weix.ling@intel.com>
>> Sent: Thursday, February 10, 2022 11:09 AM
>> To: Zhou, YidingX <yidingx.zhou@intel.com>; Richardson, Bruce
>> <bruce.richardson@intel.com>; Wang, Haiyue <haiyue.wang@intel.com>
>> Cc: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
>> <qi.z.zhang@intel.com>; dev@dpdk.org
>> Subject: RE: [PATCH] net/ice: fix gcc error with -
>> DRTE_LIBRTE_ICE_16BYTE_RX_DESC
>>
>>> -----Original Message-----
>>> From: Zhou, YidingX <yidingx.zhou@intel.com>
>>> Sent: Tuesday, February 8, 2022 1:35 PM
>>> To: Richardson, Bruce <bruce.richardson@intel.com>; Wang, Haiyue
>>> <haiyue.wang@intel.com>
>>> Cc: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
>>> <qi.z.zhang@intel.com>; dev@dpdk.org
>>> Subject: RE: [PATCH] net/ice: fix gcc error with -
>>> DRTE_LIBRTE_ICE_16BYTE_RX_DESC
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Richardson, Bruce <bruce.richardson@intel.com>
>>>> Sent: Monday, February 7, 2022 9:46 PM
>>>> To: Wang, Haiyue <haiyue.wang@intel.com>
>>>> Cc: Zhou, YidingX <yidingx.zhou@intel.com>; Yang, Qiming
>>>> <qiming.yang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>;
>>>> dev@dpdk.org
>>>> Subject: Re: [PATCH] net/ice: fix gcc error with -
>>>> DRTE_LIBRTE_ICE_16BYTE_RX_DESC
>>>>
>>>> On Mon, Feb 07, 2022 at 01:14:18PM +0000, Wang, Haiyue wrote:
>>>>>> -----Original Message-----
>>>>>> From: Yiding Zhou <yidingx.zhou@intel.com>
>>>>>> Sent: Tuesday, February 8, 2022 00:48
>>>>>> To: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z
>>>>>> <qi.z.zhang@intel.com>
>>>>>> Cc: dev@dpdk.org
>>>>>> Subject: [PATCH] net/ice: fix gcc error with
>>>>>> -DRTE_LIBRTE_ICE_16BYTE_RX_DESC
>>>>>>
>>>>>> gcc will report error "unused parameter 'rxq'" when the macro
>>>>>> RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use "(void)rxq" to
>>>>>> avoid it
>>>>>>
>>>>>> Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
>>>>>> Cc: stable@dpdk.org
>>>>>>
>>>>>> Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
>>>>>> ---
>>
>> Tested-by: Wei Ling <weix.ling@intel.com>
> 
> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
> 
> Applied to dpdk-next-net-intel.
> 

Hi Qi,

Just to confirm, there is a v2 of this patch, which version is merged?


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-02-10 10:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 16:48 [PATCH] net/ice: fix gcc error with -DRTE_LIBRTE_ICE_16BYTE_RX_DESC Yiding Zhou
2022-02-07 13:14 ` Wang, Haiyue
2022-02-07 13:46   ` Bruce Richardson
2022-02-08  5:35     ` Zhou, YidingX
2022-02-10  3:09       ` Ling, WeiX
2022-02-10  9:30         ` Zhang, Qi Z
2022-02-10 10:12           ` Ferruh Yigit
2022-02-08 15:42 ` [PATCH v2] " Yiding Zhou
2022-02-10  2:36   ` Ling, WeiX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).