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 60424424BD; Mon, 30 Jan 2023 08:52:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A893410FB; Mon, 30 Jan 2023 08:52:31 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 0468540EE2 for ; Mon, 30 Jan 2023 08:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675065149; x=1706601149; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=mVgXCXQ+C25Dofct+itSmzXY+bmvurfSuDnttbhKwoc=; b=Na8IoMjUC5aiw6UX6AgnvULj4kYDgMyERi93/AhiXw7L1ErlsqZWCce/ j9sz75QWHAarnu5nxfd44Y7Ov5d1ibTJ5NuljlBmRf0Q8jJyYekpS4cNF XazM9LzPXHuwxWXRxkW9fGmxx4Nr8Z/Ij4+eUmSam6PTf3m1ulBtbdwmy 2AdLrOMh/lqZCv57S239+Go045v+J2Hcl1fSnH19APogm1oKtqvxzakTL vSzdzJrXA/o2q57MF15+t7EX/nnIGknvWnJnXeYwOQIhr+p93W2a0C32G ieypJ23OzHse6kEHPN1hCB2lapeDO5PSvIkOWLlbydWpMqp41xtRFD75o Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10605"; a="325195920" X-IronPort-AV: E=Sophos;i="5.97,257,1669104000"; d="scan'208";a="325195920" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2023 23:52:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10605"; a="696315557" X-IronPort-AV: E=Sophos;i="5.97,257,1669104000"; d="scan'208";a="696315557" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP; 29 Jan 2023 23:52:24 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 29 Jan 2023 23:52:23 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 29 Jan 2023 23:52:23 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Sun, 29 Jan 2023 23:52:23 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Sun, 29 Jan 2023 23:52:22 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LVpqvAn83LTp2Ep+XRsReg1LTvVvVAqWMwEd8aAAsCbPbWZikmDYQ1F65NfJeyr5ISxZHeA4ml5uywFSne87b1az3y/cnXWyY2xQt4Ty/no5zbIEixqq9MVWiSF51Wx0ZZ1jz24A5hKaEBQbsoEqOD+cqoKoU2/RBaUVs/hP05cDEa7EW6JXof/PlaAQGqcRXnJ2apk+S89ejMK721obsYS44o1o8maFxJ0gS1tXCU5RvUyAxKzd3iCJNWh6FKrKeGTrxCE/ok16sMM9XFtEcwiPhKfCOfwV5wT9YYiCykuc9XzmqBPSrC/PxN0ZDUsa5o8BuoDxtCTmC6Rr+Ml6Uw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zGDQN7SipfIb+eOvU6HOOZfcktn/fLOVoj7aml6f2jI=; b=hpQrBlYp+QSeNxyjToGNBUTSWi5VhVeLRSFYBIw0FHowG17YpQg6J+Slql4z2ySET76jB+NHoykZOowl7lDXx8Ph90fMbrXGb4E5ki46zFOg765qJLJ8vZT7iNzVt4y1g1Y258Ykb2bwmY8amInWTuICT9uMW4ZZ0no88divjlXzphwEmHfub6MZq+sAX5+/b390TNZJWDZjG9TLlwd/0Ohlmfy0ylcN2JKNfvkVI3M0m56sSJO0DdSPW3oKRNUXOW7HNUumurSdmfjCJQERbNsLreYvibco+NyU9wYw2VqJcFB3S8gBtj28EZ5WrldiItn2E+q6ICl1ZScJScIo8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SJ0PR11MB4990.namprd11.prod.outlook.com (2603:10b6:a03:2d8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Mon, 30 Jan 2023 07:52:20 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::c8f8:a3e1:5b23:a9c3]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::c8f8:a3e1:5b23:a9c3%5]) with mapi id 15.20.6043.033; Mon, 30 Jan 2023 07:52:20 +0000 From: "Xia, Chenbo" To: "Coquelin, Maxime" , "dev@dpdk.org" , "david.marchand@redhat.com" , "eperezma@redhat.com" Subject: RE: [PATCH v1 07/21] net/virtio: remove unused Port ID in control queue Thread-Topic: [PATCH v1 07/21] net/virtio: remove unused Port ID in control queue Thread-Index: AQHZBNRqM5JwK1UNoEaCA23qDRykx6629dxA Date: Mon, 30 Jan 2023 07:52:20 +0000 Message-ID: References: <20221130155639.150553-1-maxime.coquelin@redhat.com> <20221130155639.150553-8-maxime.coquelin@redhat.com> In-Reply-To: <20221130155639.150553-8-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3504:EE_|SJ0PR11MB4990:EE_ x-ms-office365-filtering-correlation-id: 9a04abe2-3cb6-49c9-f3a7-08db0296ea65 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G7K68QTBQ47Q4pbNSFKLBZBTAAHOLKmJTM6MvDZdq8dP6iCErOjwchYiUZosa5r+QZjnvwZFYSVri3HGMtZnQNWSNuD/roSNNumaDK+354GZybeVKXRbgKoLLFLv1U6Dd7RhimK126PZn9EkTJmPFQCM6cgDDw0zfJuQ/8V3lgOdg3yp88ehj/xB99Neu4F4fLCSIjPNz6sQxSmEx2FK+H5RlG4n3Bau8dGQOn0eQI1tvdckq/kIL8pG7OByb7X1dYm8S4vjdTGxAdKoqY0gcSHMt0GI4g+HQFpHJY5MK2VvSmkpzXQ+/+fxK1NrJWEZMkKIyIDphjfexRVN/4BdAN9DVytuWlZ2SeUQwg9ZsTsiG/FM+hd2LRut+ON/f7y8lbghBpj1H/Siie3uWh7V1rdstUChLaHn8I+6gYTAcPdvwMr45xhHVvNIABk2l2oZ2UHJDwbdRJijgfF8u1bSsnx6HvhFH3lT7fLvM8/MjJdxbZG6I7zg1FsXkbZ8JLXVq3jWn8PwfRTyHdRpSmEPFywj8/G+uSf2RWieZTcMoe+vxyFCi0DfK5EXM62jzXCdcgXYUtPvzmuDs2S5l5IWdFb9/aV35EWYMkhg77u7SkCj9iAzVFW842O3GXF+ylD15UY0/UIZqqeVdYAdxqIJN45dDjbKOdtxw5MpteYJsMTl5lgFGECZvwLze3f8DJCt x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(136003)(39860400002)(376002)(366004)(396003)(346002)(451199018)(110136005)(316002)(66946007)(66476007)(8676002)(66556008)(66446008)(76116006)(64756008)(8936002)(52536014)(5660300002)(122000001)(38100700002)(86362001)(38070700005)(33656002)(82960400001)(41300700001)(53546011)(71200400001)(9686003)(26005)(6506007)(186003)(55016003)(2906002)(478600001)(7696005)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mfOPfWTpFX8wUETaj3eU4S8nYmYBAKWsWhU+GA5NsNPGbSfYKzOeGSJgQPW+?= =?us-ascii?Q?nQRQXGwOu9uJM5BI3jKeL3b1GNSFA1pWg6kUMBjeJ/ozFRknSX3aEQTulOGt?= =?us-ascii?Q?tPiwqXHSPOb9XUHqr8/eHJuwUiLzEQDZqehGK9czIulD2AMlfmzhbNOgdOC/?= =?us-ascii?Q?sYxTqqnRF9CV1MCyvqAGR7ZfRteMknU+p5bKR62KE73yfpETNj3137D/0Ysj?= =?us-ascii?Q?MhmyhpCXfgsFhhrOa1n4d/C9oczz3FieN4UliVCSrZUKFtBpQulpsp8zbSmo?= =?us-ascii?Q?dR4sjb+CdwyTMkrCc+BYp8K3LGuv4xAN09LYgxodt1tqSdxvKyrp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sQm4OfcfqvuYTXWSQgMbdtvshx9L/1TkRMPIG0lN?= =?us-ascii?Q?+079aMkh8Wm4BqUBuXVydOLFmS7G0F9sTKi60etERs5snWdQLh7xD9ygSKNX?= =?us-ascii?Q?WxOMVvObqVIAMKIAQFw+o+kD62+x2SIdx69fcS3wBMFUOicizTW/LnC5jP7u?= =?us-ascii?Q?J95pAqqMTBJaemyNrXuMYqv2nBBqciI/nRSCY4aue+DuozAWS7sDTAQETH8M?= =?us-ascii?Q?bT46lk30auh+tmP5LhPsFIp3Zy1hS1K9h5rWmhvYn+2BSkLoBkRrvbDP8etq?= =?us-ascii?Q?Y09OdN7VOqrSAue7dNfNrwMlKPnemEhZBpe7ujUua6tLS8pgIYCrjH+e+7MR?= =?us-ascii?Q?7jxkbBXuoGM0b73OqwEGmDCoUZOt2SKbmQEUnOWb?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9a04abe2-3cb6-49c9-f3a7-08db0296ea65 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2023 07:52:20.3644 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lVeHps7tYIb0sc7aWiqa2biXXuNK1dMVDAolxUM5M/bIdWLkenbhFaJ/hgNOLFoJ4QzclC1oowm6cZdJaxtWWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4990 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Maxime Coquelin > Sent: Wednesday, November 30, 2022 11:56 PM > To: dev@dpdk.org; Xia, Chenbo ; > david.marchand@redhat.com; eperezma@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v1 07/21] net/virtio: remove unused Port ID in control > queue >=20 > This patch removes the unused port ID information from > virtnet_ctl struct. >=20 > Signed-off-by: Maxime Coquelin > --- > drivers/net/virtio/virtio_cvq.h | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/drivers/net/virtio/virtio_cvq.h > b/drivers/net/virtio/virtio_cvq.h > index 226561e6b8..0ff326b063 100644 > --- a/drivers/net/virtio/virtio_cvq.h > +++ b/drivers/net/virtio/virtio_cvq.h > @@ -108,7 +108,6 @@ typedef uint8_t virtio_net_ctrl_ack; > struct virtnet_ctl { > const struct rte_memzone *hdr_mz; /**< memzone to populate hdr. */ > rte_iova_t hdr_mem; /**< hdr for each xmit packet */ > - uint16_t port_id; /**< Device port identifier. */ > const struct rte_memzone *mz; /**< mem zone to populate CTL ring. > */ > rte_spinlock_t lock; /**< spinlock for control queue. > */ > void (*notify_queue)(struct virtqueue *vq, void *cookie); /**< > notify ops. */ > -- > 2.38.1 Reviewed-by: Chenbo Xia