* [dpdk-stable] [PATCH] net/ice: fix unmatched integer type
@ 2021-07-07 9:51 Ting Xu
2021-07-07 10:36 ` [dpdk-stable] [dpdk-dev] " Ali Alnubani
0 siblings, 1 reply; 4+ messages in thread
From: Ting Xu @ 2021-07-07 9:51 UTC (permalink / raw)
To: dev; +Cc: qi.z.zhang, jingjing.wu, beilei.xing, thomas, Ting Xu, stable
This patch fixed the unmatched interger type issue in the comparison,
which causing compilation failure on RHEL.
Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
Cc: stable@dpdk.org
Signed-off-by: Ting Xu <ting.xu@intel.com>
---
drivers/net/ice/ice_dcf_sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_dcf_sched.c b/drivers/net/ice/ice_dcf_sched.c
index 4371bbc820..aeb1afbe85 100644
--- a/drivers/net/ice/ice_dcf_sched.c
+++ b/drivers/net/ice/ice_dcf_sched.c
@@ -350,7 +350,7 @@ ice_dcf_node_add(struct rte_eth_dev *dev, uint32_t node_id,
return -EINVAL;
}
/* check the vsi node id */
- if (node_id > tc_nb * hw->num_vfs) {
+ if (node_id > (uint32_t)(tc_nb * hw->num_vfs)) {
error->type = RTE_TM_ERROR_TYPE_NODE_ID;
error->message = "too large VSI id";
return -EINVAL;
--
2.17.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-stable] [dpdk-dev] [PATCH] net/ice: fix unmatched integer type
2021-07-07 9:51 [dpdk-stable] [PATCH] net/ice: fix unmatched integer type Ting Xu
@ 2021-07-07 10:36 ` Ali Alnubani
2021-07-07 11:29 ` Thomas Monjalon
2021-07-07 11:31 ` Zhang, Qi Z
0 siblings, 2 replies; 4+ messages in thread
From: Ali Alnubani @ 2021-07-07 10:36 UTC (permalink / raw)
To: Ting Xu, dev
Cc: qi.z.zhang, jingjing.wu, beilei.xing,
NBU-Contact-Thomas Monjalon, stable
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Ting Xu
> Sent: Wednesday, July 7, 2021 12:51 PM
> To: dev@dpdk.org
> Cc: qi.z.zhang@intel.com; jingjing.wu@intel.com; beilei.xing@intel.com;
> NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Ting Xu
> <ting.xu@intel.com>; stable@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/ice: fix unmatched integer type
>
> This patch fixed the unmatched interger type issue in the comparison, which
> causing compilation failure on RHEL.
>
> Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
> Cc: stable@dpdk.org
>
> Signed-off-by: Ting Xu <ting.xu@intel.com>
> ---
Tested-by: Ali Alnubani <alialnu@nvidia.com>
Thanks,
Ali
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-stable] [dpdk-dev] [PATCH] net/ice: fix unmatched integer type
2021-07-07 10:36 ` [dpdk-stable] [dpdk-dev] " Ali Alnubani
@ 2021-07-07 11:29 ` Thomas Monjalon
2021-07-07 11:31 ` Zhang, Qi Z
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2021-07-07 11:29 UTC (permalink / raw)
To: Ting Xu, Ali Alnubani; +Cc: dev, qi.z.zhang, jingjing.wu, beilei.xing, stable
07/07/2021 12:36, Ali Alnubani:
> From: Ting Xu
> > This patch fixed the unmatched interger type issue in the comparison, which
> > causing compilation failure on RHEL.
> >
> > Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
> > Cc: stable@dpdk.org
No need of Cc stable because the issue is only in the current branch.
> > Signed-off-by: Ting Xu <ting.xu@intel.com>
>
> Tested-by: Ali Alnubani <alialnu@nvidia.com>
Applied with failure message, thanks.
https://git.dpdk.org/dpdk/commit/?id=83fa21405
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-stable] [dpdk-dev] [PATCH] net/ice: fix unmatched integer type
2021-07-07 10:36 ` [dpdk-stable] [dpdk-dev] " Ali Alnubani
2021-07-07 11:29 ` Thomas Monjalon
@ 2021-07-07 11:31 ` Zhang, Qi Z
1 sibling, 0 replies; 4+ messages in thread
From: Zhang, Qi Z @ 2021-07-07 11:31 UTC (permalink / raw)
To: Ali Alnubani, Xu, Ting, dev
Cc: Wu, Jingjing, Xing, Beilei, NBU-Contact-Thomas Monjalon, stable
> -----Original Message-----
> From: Ali Alnubani <alialnu@nvidia.com>
> Sent: Wednesday, July 7, 2021 6:36 PM
> To: Xu, Ting <ting.xu@intel.com>; dev@dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>;
> Xing, Beilei <beilei.xing@intel.com>; NBU-Contact-Thomas Monjalon
> <thomas@monjalon.net>; stable@dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] net/ice: fix unmatched integer type
>
> > -----Original Message-----
> > From: dev <dev-bounces@dpdk.org> On Behalf Of Ting Xu
> > Sent: Wednesday, July 7, 2021 12:51 PM
> > To: dev@dpdk.org
> > Cc: qi.z.zhang@intel.com; jingjing.wu@intel.com;
> > beilei.xing@intel.com; NBU-Contact-Thomas Monjalon
> > <thomas@monjalon.net>; Ting Xu <ting.xu@intel.com>; stable@dpdk.org
> > Subject: [dpdk-dev] [PATCH] net/ice: fix unmatched integer type
> >
> > This patch fixed the unmatched interger type issue in the comparison,
> > which causing compilation failure on RHEL.
> >
> > Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in
> > DCF")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Ting Xu <ting.xu@intel.com>
> > ---
>
> Tested-by: Ali Alnubani <alialnu@nvidia.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
>
> Thanks,
> Ali
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-07 11:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 9:51 [dpdk-stable] [PATCH] net/ice: fix unmatched integer type Ting Xu
2021-07-07 10:36 ` [dpdk-stable] [dpdk-dev] " Ali Alnubani
2021-07-07 11:29 ` Thomas Monjalon
2021-07-07 11:31 ` Zhang, Qi Z
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).