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 3AA87A04DD; Thu, 22 Oct 2020 08:55:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD4914F96; Thu, 22 Oct 2020 08:55:08 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E30624C94 for ; Thu, 22 Oct 2020 08:55:05 +0200 (CEST) IronPort-SDR: 1H1AgV9UWZ/OcCzWMxaDBKYfgBnbjSh5Mi7WKG/QlaHcyeNNBaXvbzM/eAkq5WOjFPy7KASlsi fT2qwnczLbDw== X-IronPort-AV: E=McAfee;i="6000,8403,9781"; a="164888955" X-IronPort-AV: E=Sophos;i="5.77,403,1596524400"; d="scan'208";a="164888955" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 23:55:04 -0700 IronPort-SDR: KCUIPlUVlU0WpRiase4Ni0lthzNrvcJT0krh/lfxkBCgnaatppzbf5I4h4FvUujyXRIPLoZkib CC5XTY1obuFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,403,1596524400"; d="scan'208";a="359149385" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by FMSMGA003.fm.intel.com with ESMTP; 21 Oct 2020 23:55:04 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 21 Oct 2020 23:55:03 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 21 Oct 2020 23:55:03 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 21 Oct 2020 23:55:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Brwt+y8tPn9bnm2zvJ0NAQN01yIg14ncfvo1oeqr42FiCy+DX2ewXVUC5hzEfe7jN2v1UPAuzU7SKfusvHei8dgX4NND2cvWu1fkG0EhCsXNc9HXHyOZVjfKKGRowUgyyxdM9ooNA8NsYcq6ASaGfIOhgRvVZGl1HikvfFybXc/B/s0E87jx7+f42hYSQlCku5jyTq5LQxJJ53vy9vQalK0/bdndMg6oNWHcax3HkyuundTmOQRGB2Ka5IXdgWjUzi7y/+OuodlIZZxfRWrsl8VNVtyeJ/1IaBA7TmNDYz0jYpnKwTgZKNiLNKa83llTx2G1ov+haFEiQumnGMH13g== 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=1z7kK1x6a5QMepsWwVuVzb/azyFAZdBPxg0Tl7JhuOI=; b=Mfb5g7LJLhEVbhESuc07i9fCuZP0XS2DIVgNl1VZJAjioP77I2pbt+9+GVQ9pyLhy+u/QT+O2lb8NNwoVShZ6N2czshDuzgJhQaRbYoKj33Y5kKcfLl1LHfQR7hyHgrnRY2YSWidw1sngp+EUdp3FvjlyHZFbd+wnNsdOtXYWpFSeNGDiVrdN3UnmCilzr9QUnDXkQhsomUwocCOsSFWgsCed318BckTyxXwMlISjQoyJgDUpViBX0ycrKjn83jziCLkcdTa/ukJXJt5KXpYZ/k3BMXctqr9nAbk+MoFyI8VNhi4cq4NQjr8vUBJHbVxUTM0qMtpjk0vsWk97ZzCbQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1z7kK1x6a5QMepsWwVuVzb/azyFAZdBPxg0Tl7JhuOI=; b=IldI0dMExg3oPx0e8huXqBiw4yu4loqgMezYU3sRBYKusa9AlB36ZzoWlSQMbXqK7ndK7BuJOtkuemjupGc70xu412/vt9fJpj33UOwS5Rq0PNjnVw5UaJDeGeQTFpZlhWjl6B7Ir8wJIA9wP52RcJTaVXIVjIAeP7PPmgSJ75E= Received: from MN2PR11MB3807.namprd11.prod.outlook.com (2603:10b6:208:f0::24) by MN2PR11MB3855.namprd11.prod.outlook.com (2603:10b6:208:f6::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20; Thu, 22 Oct 2020 06:54:51 +0000 Received: from MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::4dc9:358a:cd2e:45d6]) by MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::4dc9:358a:cd2e:45d6%6]) with mapi id 15.20.3499.018; Thu, 22 Oct 2020 06:54:51 +0000 From: "Xing, Beilei" To: "Xu, Ting" , "dev@dpdk.org" CC: "Zhang, Qi Z" , "Wu, Jingjing" Thread-Topic: [PATCH v8 0/6] enable large VF configuration Thread-Index: AQHWqD8C1M7oK+qeGEitLYma7dRgPqmjL+gw Date: Thu, 22 Oct 2020 06:54:51 +0000 Message-ID: References: <20200909072028.16726-1-ting.xu@intel.com> <20201022064902.40143-1-ting.xu@intel.com> In-Reply-To: <20201022064902.40143-1-ting.xu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6f209db5-66a7-40a3-3036-08d87657600d x-ms-traffictypediagnostic: MN2PR11MB3855: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:826; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: F8TPGYu5uVFA4cn2bZ1yW09LWZ7i7jsNhwHuCw1JpZbkvqZc9hK6bG7Qi8pGB+PPY088p8cedJvoNndQnh/BguMa+yVbgDSr+Qe6kDWSExWL8HbPJlV8U1IeTLjPS/hir5dVBWwm8ZKc8kJXvGQ0eDJW6aJRriAewSHuyvZT7Qs8x4Y3jxCNGrHZ44i6LRL2bAz1wfWT3282BBjhl6zmAbnGlPalpHM58ulm836MJf+AnYyQ16c4ng2shjmSfmqL9pO+NVPJNzuKYSU6CBzIR6uZuJDKMOJFGXAfGESlu5tuajvvZdV8xqv0UZpaEs1fhYskSI3s3ZLmh0SFAMiiEg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3807.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(366004)(39860400002)(136003)(107886003)(83380400001)(478600001)(6506007)(71200400001)(55016002)(5660300002)(66476007)(66946007)(33656002)(52536014)(2906002)(66556008)(66446008)(64756008)(316002)(53546011)(110136005)(9686003)(186003)(26005)(7696005)(4326008)(86362001)(54906003)(8676002)(8936002)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: DEMdxkqMoNRyBbFVCKB7339mBJFtFTYpJ5F0C4U+FujWVvwejAF4VBFFEuYASpBxW6vi5dlUjxQROcaP5D8yGcMZ0vCcuycuX4EeQ/L5HUd8r83egywocSYazai7hvqef3pDFeT3NEi1atueqdwIiqF7VWLN5XQ7LpsHnM4gCwT/AXelhojIN21y1pmH36ZZc4DVtgAhphAoCtvy/FMyZlBMjwzFnXgrhCbHvAukW8tsgiqpwHS64UpuQ93xF6e11l1P8A+k7fBTeDAJN7eh7eS7qa66B8Rqv5e9x9RHL7b5vo+LM3Nt6eWSAl8qIS7yTn8DpEjBCIhuo5pmQrCdUOO3kMYFF58nEBLZL1NHhZ2K6SoUF2oQ+TRzuIBEwOcxQgMZuhL7QJaNP90yqrL1olcOL1y5cXmy5js0eD03/PPfgMLPk83lFLoxRp+2zK0cJSuS7axdoJoTaFdeh1LJF11TPx6ZRIChndiIrtPtWbA1MN7aWOYfYAhya9rl3d09lMR+mje0zbk0fo/gduIrUsh8CDaxy1qJhUEV54ln36s2pB8Gk9YNGU8NheFnMhKoeT3MfQnl6a7XPEwER0W6TDWQiKV+eV1u9+1WjMDdqlTnTpmVXuFYamo+DO0S+7LboPsKYArTgnxDirjv9RMB7A== 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: MN2PR11MB3807.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f209db5-66a7-40a3-3036-08d87657600d X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2020 06:54:51.7155 (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: yD81K7BCpJ8Z01surJb/OainNf5L0mjlORIxZtxTcl6uZ4/bdS33aKnY6m8frsW640jlPXO5RKELUK5zE7W4Jw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3855 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v8 0/6] enable large VF configuration 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" > -----Original Message----- > From: Xu, Ting > Sent: Thursday, October 22, 2020 2:49 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Xing, Beilei ; > Wu, Jingjing ; Xu, Ting > Subject: [PATCH v8 0/6] enable large VF configuration >=20 > This patchset supports to configure up to 256 queue pairs per VF. If larg= e VF is > supported after capability negotiation, VF will request queues from PF as > needed. New virtual channel opcodes and structures are used to indicate 2= 56 > queues, so VF is designed to handle the new function of configure VSI que= ues, > IRQ mapping and enable/disable queues. > Also, enable VF to query the max RSS queue region for RSS and filter > configuration. >=20 > Ting Xu (6): > net/iavf: handle virtchnl event message without interrupt > net/iavf: add IAVF request queues function > net/iavf: negotiate large VF and request more queues > net/iavf: enable multiple queues configurations for large VF > net/iavf: enable IRQ mapping configuration for large VF > net/iavf: add enable/disable queues for large VF >=20 > --- > v7->v8: > Modify commit logs. > Make log sentences in one line. >=20 > v6->v7: > Separate patches. >=20 > v4->v6: > Solve queue mapping buffer limitation issue. > Optimize VSI queue configuration >=20 > v3->v4: > Optimize handling messages from PF. >=20 > v2->v3: > Fix coding style issue. > Move get max RSS queue region after VF reset. > Add request queues capability negotiation. >=20 > v1->v2: > Change the communication with kernel PF. >=20 > --- > drivers/net/iavf/iavf.h | 37 ++- > drivers/net/iavf/iavf_ethdev.c | 142 ++++++++++- > drivers/net/iavf/iavf_rxtx.c | 25 +- > drivers/net/iavf/iavf_vchnl.c | 448 ++++++++++++++++++++++++++++----- > 4 files changed, 572 insertions(+), 80 deletions(-) >=20 > -- > 2.17.1 Acked-by: Beilei Xing