From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E4F34A04B3; Sun, 15 Dec 2019 09:55:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A9F851BFB2; Sun, 15 Dec 2019 09:55:22 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40077.outbound.protection.outlook.com [40.107.4.77]) by dpdk.org (Postfix) with ESMTP id 67EF01BFA8 for ; Sun, 15 Dec 2019 09:55:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UtZmhqmy7uqjrygFy+VnTMMJ6hHbKm1DtbX5St8ZkKXW+fWEsGaXaVUgEYp2sUHtL0Z2I+gJQPEwCKukIhzSZm1CejAc84N01XYnsm0rcv654payIt8GgnqLWlVFbThdczMJSxWltaoZ1hMwmiPCzPxsKq27qDa3rLZg4fLF+mK35Z+yhhex/QxGPF2Egp4SB65Z/xOvSosS+oQzaGhHMVI8f+cY1ZkGSSjuZko8abprVhOAcnuuxEqSWjKSeGwenzRG5KjW354UQAW96IOjJiQLar9qNyF953773BIaf1UAFLTdkZUdMiRz1fjQ18KNW/FYLhm5Ul5ViVYOer7Rnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VNRDmq4ZoZCJLXzS4nqYrkQ9xjEnDqFEV4RO3OqB28o=; b=RURIrVugDRtmXu69kIVE18xhmJoRTfSGD1pngsGhRNoZZ0RtbU+1K1yhYti8XpqnjamB5qIbWuJQVpQW9ARzIGmXYfxO4nvVpPF2vQJ1woFtp9SGM7iIgdksWntWVDc+pMA9hGOP+Nr7wT87zIBLrAK3g4XVKN45R97FF628HGLkob6XMI0RjGYJQlhdW1L798YNTllFSxur64yrJyD0bPwBLgBGcOTkw5e5K4/R7G1qByxrmEbcQLS6VrTTYwDIm6mjxHqjg+o0wEknxB6mAMOJxaxjQHUHwEol76jWLYkQcNuVwBaco8r9TJ2XIWj0rElF7SpM+Wa1h5xOB1/Xdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VNRDmq4ZoZCJLXzS4nqYrkQ9xjEnDqFEV4RO3OqB28o=; b=asLnA8tOJm61sxmEK/P5VYHwNvyMfvJsF4IEChrjVFwHxTgpCLm0Ho2yaoz1B8sK13/mj3k6Encrb9EuoahKdRvfzCj0Gdz17sT3MysJlj5lOll5X1hKEHR4icJsDdWt/WxpULzDNoCrumN+8rsZ9Qq4SPSD1jjv/VRiwD/8wyk= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB3961.eurprd05.prod.outlook.com (52.134.70.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.17; Sun, 15 Dec 2019 08:55:20 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::2151:27c7:b8ec:3da9]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::2151:27c7:b8ec:3da9%6]) with mapi id 15.20.2538.019; Sun, 15 Dec 2019 08:55:20 +0000 From: Raslan Darawsheh To: "xiangxia.m.yue@gmail.com" , "dev@dpdk.org" CC: Ori Kam Thread-Topic: [dpdk-dev] [PATCH dpdk-dev 2/3] net/mlx5: clean up redundant assignment Thread-Index: AQHVpS2jFvAyIL+nzEWPU3lUY0mA5ae7AFRg Date: Sun, 15 Dec 2019 08:55:19 +0000 Message-ID: References: <1574864323-85580-1-git-send-email-xiangxia.m.yue@gmail.com> <1574864323-85580-2-git-send-email-xiangxia.m.yue@gmail.com> In-Reply-To: <1574864323-85580-2-git-send-email-xiangxia.m.yue@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2e197727-d7a4-49ae-0cce-08d7813c8388 x-ms-traffictypediagnostic: DB3PR0502MB3961:|DB3PR0502MB3961: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:459; x-forefront-prvs: 02524402D6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(39850400004)(396003)(136003)(366004)(199004)(189003)(13464003)(186003)(107886003)(81156014)(53546011)(6506007)(86362001)(52536014)(5660300002)(478600001)(4326008)(2906002)(26005)(8936002)(55016002)(316002)(76116006)(110136005)(66946007)(9686003)(64756008)(66446008)(66556008)(66476007)(33656002)(7696005)(71200400001)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3961; H:DB3PR0502MB3964.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HI8jXhra9NJKWUWesvBEbcY3uDMDFria5LXaM8fGEadrn3k4xgSKeGtMsdVEnomU0FCR9PZnM10ZtOxiQMasRySdgAfriTIQ3mFAzC4dBmmBPH1xJja01JU/4qstxvb7kmJ+1fturQWdZkc8p7Ul2D5zkfTXUoZZUTVL1EcH8NFu3VtG+n8HPecfrgz6pI2Hhk8YkW2Uam+DlCkQplBapWkZ7lwbxyob05OEKDkz3fl0itWXDMFQxFsQV0TDogroNFhezJIfJHfHneRH1a+JxJds/2DW5vTTfLc/pngKByrEoUisOFlW1OOYqb8giTcHbByi7zjSOhCD2D+uYGVM5OBSJ9XqxCr6efaomXTiPU8JOsheoIf0tNUuTCUiZtdzPxsfbSl+eQd9/oZkzwv09DAEf+Cn2hFKqdDAbDf8EV425/5w8LEz38z4frFrp528rORHmJ9rF4uspfvrXZSMilhu8kXocjZu4ABqh+Pmgkntnx1U2md1Bsz8M6H19UVY Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e197727-d7a4-49ae-0cce-08d7813c8388 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2019 08:55:19.9507 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DgD8rpHLxv/LtajlaH4EfzeCafoNdUSJq+6epZOi8saUNZrOZpAXet5zpHZwlCIBABKUr+EaYdUQmBS3CMYd1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3961 Subject: Re: [dpdk-dev] [PATCH dpdk-dev 2/3] net/mlx5: clean up redundant assignment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, > -----Original Message----- > From: dev On Behalf Of > xiangxia.m.yue@gmail.com > Sent: Wednesday, November 27, 2019 4:19 PM > To: dev@dpdk.org > Cc: Tonghao Zhang ; Ori Kam > > Subject: [dpdk-dev] [PATCH dpdk-dev 2/3] net/mlx5: clean up redundant > assignment >=20 > From: Tonghao Zhang >=20 > The type of txq has been assigned in mlx5_txq_hairpin_new. >=20 > Fixes: ae18a1ae9692 ("net/mlx5: support Tx hairpin queues") > Cc: Ori Kam > Signed-off-by: Tonghao Zhang > --- > drivers/net/mlx5/mlx5_txq.c | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c > index a0d61644cb7f..e6a841c8d359 100644 > --- a/drivers/net/mlx5/mlx5_txq.c > +++ b/drivers/net/mlx5/mlx5_txq.c > @@ -271,7 +271,6 @@ mlx5_tx_hairpin_queue_setup(struct rte_eth_dev > *dev, uint16_t idx, > DRV_LOG(DEBUG, "port %u adding Tx queue %u to list", > dev->data->port_id, idx); > (*priv->txqs)[idx] =3D &txq_ctrl->txq; > - txq_ctrl->type =3D MLX5_TXQ_TYPE_HAIRPIN; > return 0; > } >=20 > -- > 2.23.0 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh