From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 090221B1AB; Thu, 1 Feb 2018 14:27:30 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Feb 2018 05:27:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,444,1511856000"; d="scan'208";a="200398316" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga005.fm.intel.com with ESMTP; 01 Feb 2018 05:27:28 -0800 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.62]) by IRSMSX153.ger.corp.intel.com ([169.254.9.213]) with mapi id 14.03.0319.002; Thu, 1 Feb 2018 13:27:28 +0000 From: "Chilikin, Andrey" To: "Rybalchenko, Kirill" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Xing, Beilei" , "Wu, Jingjing" Thread-Topic: [PATCH v3] net/i40e: fix multiple DDP packages should not be allowed Thread-Index: AQHTm1o4xmEkPftleEGZ4xUjSeGlqqOPicKg Date: Thu, 1 Feb 2018 13:27:27 +0000 Message-ID: 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-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzM0NjdkNzYtNmFkNS00ZmE4LTkxZjYtN2M1ZGMwZjk2ZmU2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6ImhrTXZ6ZE9rUE5tTnBsXC9zRzVBdHVpTmhpU2tQUEEzU0RFV0E3ZWE2V3hzPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] 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: Thu, 01 Feb 2018 13:27:31 -0000 > -----Original Message----- > From: Rybalchenko, Kirill > Sent: Thursday, February 1, 2018 12: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 DDP profile group is 0, it is exclusive, i.e. it cannot > be loaded with any other DDP profile; > If DDP profile groups are different - these profiles cannot > be loaded 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: Andrey Chilikin