From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B40EDA0C57; Thu, 4 Nov 2021 18:49:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A78E14274E; Thu, 4 Nov 2021 18:49:29 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E02F411C9; Thu, 4 Nov 2021 18:49:27 +0100 (CET) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A4HGAS7032307; Thu, 4 Nov 2021 17:49:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=uHpadfhPPtQzk4g3CXB8NbBcEZLej2yT+vMgX92ZfTw=; b=NU8LLY2Jh8m6oZvbc+MBEmsvc6h53lHqPjwrInnoXdrdnIHr07vWtGnSbLpdfhjF+8px W02xOlKWebmFX8iK8QT1WcFpP3gajXcsfi7Wl8+ibKZVkX8NZYTj+bnGbLNWsrfEjYcy jMBix7DIjvMtPSCH7Q3PIId4/m1gp9kmlMl04/oFC1NmelYGv51QknL6I6HO9VRYaM4S NzOQN8OMhq9AbsL8UQuLwIjxf8gNqLne3a4NhX+T9rBofQqbUBGlyQU1an5k2MuyPWA0 US52ryWGlCbBafpx9cOBEDAaazQ/KSgFRBu3JQFigQELZPh7mXxIBAARlYpKKhxp1aIv bQ== Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0a-001b2d01.pphosted.com with ESMTP id 3c4jj4asj2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Nov 2021 17:49:26 +0000 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1A4HmON7015465; Thu, 4 Nov 2021 17:49:25 GMT Received: from b03cxnp07028.gho.boulder.ibm.com (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15]) by ppma02wdc.us.ibm.com with ESMTP id 3c0wpcpn8n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Nov 2021 17:49:25 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1A4HnO8v29164042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 4 Nov 2021 17:49:24 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7DAC2C6072; Thu, 4 Nov 2021 17:49:24 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 350EFC6084; Thu, 4 Nov 2021 17:49:24 +0000 (GMT) Received: from [9.211.89.93] (unknown [9.211.89.93]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 4 Nov 2021 17:49:24 +0000 (GMT) Message-ID: Date: Thu, 4 Nov 2021 10:49:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Content-Language: en-US To: Xueming Li , dev@dpdk.org Cc: Lior Margalit , viacheslavo@nvidia.com, stable@dpdk.org, Matan Azrad , Yongseok Koh References: <20210727034204.20649-1-xuemingl@nvidia.com> <20211104123320.1638915-1-xuemingl@nvidia.com> <20211104123320.1638915-3-xuemingl@nvidia.com> From: David Christensen In-Reply-To: <20211104123320.1638915-3-xuemingl@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 9KRTrjb4T-vAyo7eSivePs8SDo_GIeqA X-Proofpoint-ORIG-GUID: 9KRTrjb4T-vAyo7eSivePs8SDo_GIeqA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-04_05,2021-11-03_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxscore=0 spamscore=0 clxscore=1011 malwarescore=0 phishscore=0 priorityscore=1501 adultscore=0 suspectscore=0 mlxlogscore=781 impostorscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111040067 Subject: Re: [dpdk-dev] [PATCH v4 02/14] net/mlx5: fix field reference for PPC X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/4/21 5:33 AM, Xueming Li wrote: > This patch fixes stale field reference. > > Fixes: a18ac6113331 ("net/mlx5: add metadata support to Rx datapath") > Cc: viacheslavo@nvidia.com > Cc: stable@dpdk.org > > Signed-off-by: Xueming Li > Acked-by: Slava Ovsiienko > --- > drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h b/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h > index bcf487c34e9..1d00c1c43d1 100644 > --- a/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h > +++ b/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h > @@ -974,10 +974,10 @@ rxq_cq_process_v(struct mlx5_rxq_data *rxq, volatile struct mlx5_cqe *cq, > (vector unsigned short)cqe_tmp1, cqe_sel_mask1); > cqe_tmp2 = (vector unsigned char)(vector unsigned long){ > *(__rte_aligned(8) unsigned long *) > - &cq[pos + p3].rsvd3[9], 0LL}; > + &cq[pos + p3].rsvd4[2], 0LL}; > cqe_tmp1 = (vector unsigned char)(vector unsigned long){ > *(__rte_aligned(8) unsigned long *) > - &cq[pos + p2].rsvd3[9], 0LL}; > + &cq[pos + p2].rsvd4[2], 0LL}; > cqes[3] = (vector unsigned char) > vec_sel((vector unsigned short)cqes[3], > (vector unsigned short)cqe_tmp2, > @@ -1037,10 +1037,10 @@ rxq_cq_process_v(struct mlx5_rxq_data *rxq, volatile struct mlx5_cqe *cq, > (vector unsigned short)cqe_tmp1, cqe_sel_mask1); > cqe_tmp2 = (vector unsigned char)(vector unsigned long){ > *(__rte_aligned(8) unsigned long *) > - &cq[pos + p1].rsvd3[9], 0LL}; > + &cq[pos + p1].rsvd4[2], 0LL}; > cqe_tmp1 = (vector unsigned char)(vector unsigned long){ > *(__rte_aligned(8) unsigned long *) > - &cq[pos].rsvd3[9], 0LL}; > + &cq[pos].rsvd4[2], 0LL}; > cqes[1] = (vector unsigned char) > vec_sel((vector unsigned short)cqes[1], > (vector unsigned short)cqe_tmp2, cqe_sel_mask2); > Reviewed-by: David Christensen