From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0049.outbound.protection.outlook.com [104.47.41.49]) by dpdk.org (Postfix) with ESMTP id CDE045A6E for ; Mon, 4 Sep 2017 08:09:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8q328BzctoHHBDtXCH8SxWBPO1zh9ADuvjXOiPe3Tzo=; b=abN25vMDpRxJPg7594lw8PwpTNmXKRuTNDpGqEVCmErE6agf897lRG6THDdHKPecgVXZJf0Sk8ZvC282s6c11/Jvr/mdvtjaitpHHL12ZHRA3Y9KVecsVhSbqgF90BSLUnYIW+d9Q7YuatnbaIQxjwLnZuFQ58sgiL6nbEoQOgo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Mon, 4 Sep 2017 06:09:35 +0000 Date: Mon, 4 Sep 2017 11:39:14 +0530 From: Jerin Jacob To: Gage Eads Cc: dev@dpdk.org, nipun.gupta@nxp.com, hemant.agrawal@nxp.com, harry.van.haaren@intel.com, bruce.richardson@intel.com Message-ID: <20170904060913.GA17139@jerin> References: <1502308684-28031-1-git-send-email-gage.eads@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1502308684-28031-1-git-send-email-gage.eads@intel.com> User-Agent: Mutt/1.9.0 (2017-09-02) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0020.INDPRD01.PROD.OUTLOOK.COM (10.174.214.158) To BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 67d45dfc-f6c8-4622-5930-08d4f35b85ca X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR07MB2515; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 3:ATHHlINhYMqa57vZqMGQjh2xSPOnXLMpQNtQ2AuTQftn4e/czuV10LbPOuKQtSSQawJRZ6lxlwoM/zTtu1n21bI9DdHqzOUPgdmazhZmlhr0ufQ5Dsqc2qdeahZ6WlIxm/19lYN892JCau0tXTCA/dnO690j2+ExGi+9RWDvAWlFgEWOeHYNh9/+WlzvLx5jkDATnS8DQGKDhrdF76V41vXGlXXewTS4cHQskBfQDIcdd+xEutUABhDtssKbogVL; 25:Oem/AHdGZ+272TX0HrQQq1vVyTgdFHRuEfPSwVHut+3Ep3XxNpKzWB0KBsQOqPJ0YCJYWh35ZT4gYDwgyMCHe7RYd6Kb7a84WkAriu2oyPj3Q1opl0DJQ1qtjDT6k+OfRGx+h7z5nwSUqBBJaS/nkXa5jSJiZ/ALdmmrbtNCSoCH3uHwZ7CuZmH5csky/Px3a0ryPfI0iRxFW7tDgkf+i39204gMVFYwKKai/IMXiog8Y2ZtrTs28btT2gOAHIlZw4HZGcUKyaKowjUVz2H9ehWdTWbN2V88KSQXnby6U2kpf2n+VDHt1LLJqiFCPtRIdcjMLGT12JQZJ5WWNQhDQQ==; 31:K4AlJQRXGAibbiQSt4kz5OrRZlpK2fTRDruHU9K56BH1Uz7k5F46z26r3lwrW2fh7xk8zSOAkYansJTtR1j9kguwi3pWPGzYE/jprfnaeQH9uJ1EWOrLbg1cM5KZf0VsBJ50fi/y76fNBu4m++I98bVk5UNfOZD004xuLyU8ywD6e9cdC14gN+rp1cUI0MbRcgXNfMa/sLdD8YYVe0nNKvRO14InSQMf2lGrSWiga0I= X-MS-TrafficTypeDiagnostic: BN3PR07MB2515: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 20:cmBg54InqELo1AVF0M0umVSq1BQ2L/7TUgGpYQbFWRCTck3bEIPs7EmFLL/U4janaEBTrVjv3+IFC3EpWSg3wQ+BqQgC//9PGV2kRxvndbgo7p5rgF4Usv3/Wd+8k64xkBcQzlNQHzm/OtLGodQEFOzEnpOKuY95ClwolvvwYvrb7sbI0qhQwMUUEMbCu2V0BIcF+sfX17iOSgKx1enciF4LYcMPLMFuVXVl7z5HJJeT6yIgMRcxCk67ZThceyRX49z+liZPlRBBXfqfjj61dnm8QKssaGykhklHaK3MT/1jOBEEnPpa8DUBgWOWFaP0f6ezdLQQNCzt42YHs6Q3rnaGljiKnMS3srS4J92uFxAupeddcNZJFtS3ZX+kkEMgPPR6p05SbhwNif0sqQT6KQ8Q6/c5JgQHvLhJVkp+9vBC/LJ01NvfD9HC6ERpb0V05ls421qYNh0iKMnye12be3/H6C5bIYfuqtWqFhawJOBJd7MKL5n2tEl7+e7oPuFrcGEjcQUsQrX8ZIGmCfSTyJRiGOhWsgev50c8vkIxbiRNKxc/wbzR7iacBWKCKt1ceFI2O7xizvrjgIepMAIcugdDZBYdOH7ViCZU7UFTI1Q= X-Exchange-Antispam-Report-Test: UriScan:(278428928389397)(185117386973197)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2515; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2515; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 4:oCnjW8s8xAPgFYDrJErxSa9YEUlrXhGq3ofTu1YoSs+FAQzXuj8mdwF+HuSyCaFL9HsfOPkRtFEYc9RzEJR+wjgKT1ol6wqKDEJ7X5EUz4SzHgRNOczeg7cHfG1bymsKhp4uatZwpvTGPh29BM1h3Hej2T884zTv/2zDFCxPnDFQy+IvVKkSp3fRxeaXOjH+dvdZT8yzrn4WiUAO85npdD7r+U9sWa+EWnhQSpynWII7HOc56BSDBHnZi+J6/2Oue9XXJ7Bw+xR43ZK8tjwuaXWHOXcbz6yflRL6WKYb+jZBpfhR/IcSDrExBoT8vW2JzbTH8/cPyEA4fkkYLXnZlSJphB8ZhZ9qwl/6zyPoIVk= X-Forefront-PRVS: 0420213CCD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(13464003)(199003)(189002)(50986999)(76176999)(42882006)(2950100002)(6916009)(33716001)(54356999)(1076002)(101416001)(23726003)(3846002)(6116002)(66066001)(6496005)(6666003)(478600001)(72206003)(2906002)(53936002)(83506001)(50466002)(105586002)(189998001)(25786009)(4001350100001)(305945005)(97736004)(7736002)(6246003)(106356001)(8656003)(110136004)(47776003)(5009440100003)(4326008)(55016002)(68736007)(8936002)(42186005)(229853002)(9686003)(81156014)(81166006)(8676002)(5660300001)(33656002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2515; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2515; 23:AFRtvouaMgG6vavf9Jhm1IxXO5EHXKepRD7yTNJkI?= =?us-ascii?Q?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TNBgsF5mCr3ICDwFl8SpGqEtshWnTqX+QzJFhguhegMFkw2C6D42XhE+5oxxgV8JYDQ+CIdsKVAhs0exeNFHtkOV/1Xr8iAA0Xj/XyFMu9qAWqV9PyfbAjEq4mm058yuIPx5m3PZ/gNUOdRuEKGq89d6UiuxR7228g+Xyyaz9WJ5dVuYj4e3XRhxr1MHGpYg9Y= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2017 06:09:35.9709 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2515 Subject: Re: [dpdk-dev] [PATCH] eventdev: ease single-link queue config requirements 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: Mon, 04 Sep 2017 06:09:39 -0000 -----Original Message----- > Date: Wed, 9 Aug 2017 14:58:04 -0500 > From: Gage Eads > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, > hemant.agrawal@nxp.com, harry.van.haaren@intel.com, > bruce.richardson@intel.com > Subject: [PATCH] eventdev: ease single-link queue config requirements > X-Mailer: git-send-email 2.7.4 > > Events sent through single-link queues are naturally in-order and > atomic, without reordering or atomic scheduling. Logically the > nb_atomic_flows and nb_atomic_order_sequences arguments don't apply to a > single link queue, but applications must set these (depending on the queue > config type) to bypass the is_valid_{ordered, atomic}_queue_conf() checks > in the eventdev layer. > > This commit updates those is_valid_* functions to ignore queues with the > SINGLE_LINK flag, to simplify their configuration. > > Signed-off-by: Gage Eads Acked-by: Jerin Jacob