From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C68011B629; Tue, 6 Feb 2018 03:27:13 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2018 18:27:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,467,1511856000"; d="scan'208";a="201649280" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 05 Feb 2018 18:27:12 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Feb 2018 18:27:12 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Feb 2018 18:27:11 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.253]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Tue, 6 Feb 2018 10:27:10 +0800 From: "Xing, Beilei" To: "Rybalchenko, Kirill" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Chilikin, Andrey" , "Wu, Jingjing" Thread-Topic: [PATCH v3] net/i40e: fix multiple DDP packages should not be allowed Thread-Index: AQHTm1o/IKiHmOQ+1EqVnZ0sd0oAA6OWrTiA Date: Tue, 6 Feb 2018 02:27:10 +0000 Message-ID: <94479800C636CB44BD422CB454846E01320CF3D3@SHSMSX101.ccr.corp.intel.com> References: <1517335797-84501-1-git-send-email-kirill.rybalchenko@intel.com> <1517488985-5264-1-git-send-email-kirill.rybalchenko@intel.com> In-Reply-To: <1517488985-5264-1-git-send-email-kirill.rybalchenko@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: fix multiple DDP packages should not be allowed 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: , X-List-Received-Date: Tue, 06 Feb 2018 02:27:14 -0000 > -----Original Message----- > From: Rybalchenko, Kirill > Sent: Thursday, February 1, 2018 8:43 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Rybalchenko, Kirill ; > Chilikin, Andrey ; Xing, Beilei > ; Wu, Jingjing > Subject: [PATCH v3] net/i40e: fix multiple DDP packages should not be > allowed >=20 > Should be not possible to load conflicting DDP profiles. > Only DDP profiles of the same group (not 0) can be loaded together; If DD= P > profile group is 0, it is exclusive, i.e. it cannot be loaded with any ot= her DDP > profile; If DDP profile groups are different - these profiles cannot be l= oaded > together; >=20 > Fixes: b319712f53c8 ("net/i40e: extended list of operations for DDP > processing") >=20 > v3: prevent registration of read-only profiles with profile list >=20 > Signed-off-by: Kirill Rybalchenko Acked-by: Beilei Xing , thanks.