From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0053.outbound.protection.outlook.com [104.47.37.53]) by dpdk.org (Postfix) with ESMTP id 8DF751B1B5 for ; Mon, 9 Oct 2017 14:31: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=PT7L5TtKQ2DaMJFadMPabbwIIibYvbW4CcQxJX7hIeI=; b=NXU2ZD8dIs49c5N2Z4TnAwIqaJJ1cjYmJ/Pq56/zh1iguztSHTSwNfrYqb4oCEAfijCpkP/OxF76DEFyRydSSQdNcjwJb4r+suvKD76wCrEyZe6lq51FowTXidaJjgJQO9XL72D9wdwdyjaNOPAX4bj5JyuVAvR1kQdqxaRUCNY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.61.81.39) by BN3PR07MB2516.namprd07.prod.outlook.com (10.167.4.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Mon, 9 Oct 2017 12:31:35 +0000 Date: Mon, 9 Oct 2017 18:01:16 +0530 From: Jerin Jacob To: Nikhil Rao Cc: bruce.richardson@intel.com, dev@dpdk.org Message-ID: <20171009123115.GE654@jerin> References: <1507324201-3517-1-git-send-email-nikhil.rao@intel.com> <1507324201-3517-6-git-send-email-nikhil.rao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1507324201-3517-6-git-send-email-nikhil.rao@intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [171.61.81.39] X-ClientProxiedBy: BM1PR01CA0111.INDPRD01.PROD.OUTLOOK.COM (10.174.208.27) To BN3PR07MB2516.namprd07.prod.outlook.com (10.167.4.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ab0352b1-a5a0-4392-2b23-08d50f11af4c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:BN3PR07MB2516; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 3:LEgzuiUONI2Qj4CXOMJOQeRhLxUXgPMzOJAWiMCd0LYbF/3gS5f26Qm2OYYrs/m5tuoinj67ssLZhZ7MODctGcUkWCK6AznIITc1ys6PcOYJyqBD/0r5skuoLv/AHrEt04PoKDMGU/C4I6+Elrf9t3bESGKMyw1/UPLumRUaBon9MuL7Nrfe7b6K/LxKLhKthchHBxemZdtjypiBtoEbpgIr4EjaR+pJt1FGStKWFzRFwibHA5HxMJzEsDMwdyLo; 25:DE6kga584O1KC5O0jY6PiWsf8+fOx5Bay4G+xW0OerplUFBSkL0a0gyJcgIT3TKZITyX8z+NqV8Oq9CbwtjpVvujPqL9LS8DK12M5P/6cESmbf6pKF3NttcLljtQpKgTo76PVMzcNxFbKDYSQ2dUgbIIi3u9/vGZMRW/wjCDU0z12f6n0nm+NbuLqnlqBNS/zNemxKcUijuKFhmY/JoDtKPCgRLb9FC5JOECY7uxPqrT2+9RsfVFrxGBTtIseApzopd0nqrGrVXp8ABToJQ/lEAPPlQqHP6B0wvZM5g52ZtfFrxWvN1I/BaQ2RZC5AALkxXAxXV/8qJxIe/zqPbddA==; 31:pOH8g9Aj7XGjTsayQZ7akKqVNWkOTkmD/KVG7TFpEq+YB5kI+pGvr7I9I+rauuh288IJZjCtY8OghUY7eku9Lzn6rZ1SF2rQagEnAxFJtOMFXS6Q76ZweE+zI1ks7DVQF9G0bdwLHKZ3aNIAOBzR5lllqTbiWLFs+FewiZcGRx8u3+qIeuD/wE2As6Ma6lT4muGKYpKmWhtJe8mM7d0Fr8OW4GUl3/GYd9bL3sWBxGM= X-MS-TrafficTypeDiagnostic: BN3PR07MB2516: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 20:QbNZjYEBlBR15MmEfT/aKoCF9Td6C+qOaxnjxMsWZiwCdQTcIief4OxwMraNMhLWAdeVu+NsOiEALCDSu/S3f6X6CTcUTJ1nMFIS7CZgqEN6+ebShnLJlwD/Y8Qx4ipbDhwhublhhVtql4biTsEs/U62QM2yxvZF0pb6u/2d3ZW/aTSvfvqHXdKKWHtB5/19RrN1II/UozV/iKl/cEvWpOqxVHqsc9oK9wEYoqojiAfKv56s6mUoyIqyzkeCpbToBuSQ6J+HZuEkQeHVmA65ExK9LPQsa0wygRTvkn9Qt/vfkfX8H0pxetB9WSYdcp5FWR0b207pqbAU5ToDL0trIhCQKjaRP+UcCaqYHATWvbAkas9HAonm7Vru4ltbkXadbdeBL3kirZDFweQ3tDOriXlkjVj2oJPucXszT7XVQoqHLfR6UYDmGqkjYAi3xIOWoFus6qmxzR20C5sQ7SWzMpGNm10hQEEDmyy6PWYRNEePWmFaHrPjYsxjlssbNpJILXVr74guJHlp/CX+eu+zAPjXaAtGwL31+PbB806eylh9VaaE+XKl/turRwOmAuoZ0OVrrMdnexxqY7VrYCI0+Lj/FEDsHdXfCOIiJxwXs/Y=; 4:zktRdrNZx6u/aegiLHAfgWsX6xPLOkir/Ko/8VTX2veUGDU6GFYpIq94FucnOOrspyUr3XN2Tlu/SLsXLtvXBaPzHIU1q+jAE8EVKfMbs2D+EibsZDfDH8UAFHs5NOEr8bpDFVNHQdMCYsoQmDZKMYet2T316a3RFcZkZLdRDk+ZSLz+O8BLipdOE4VUHlM3IXF0ITL4lri0yPd2PFxcotC3kVOdQJYVmHmutAwSn8qEPUanpjneDIa+AH6Dt1KIgYDhlRp7VltIo/yDu9XhORTJcTs3N1ZVavNk6HuOOCQ= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(6041248)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2516; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2516; X-Forefront-PRVS: 045584D28C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(13464003)(199003)(189002)(229853002)(68736007)(16526018)(2950100002)(42882006)(6916009)(50466002)(97736004)(23726003)(1076002)(2906002)(16586007)(3846002)(33656002)(58126008)(6116002)(33716001)(189998001)(316002)(8676002)(4326008)(83506001)(478600001)(81156014)(101416001)(81166006)(8936002)(55016002)(6496005)(76176999)(106356001)(6246003)(305945005)(50986999)(105586002)(25786009)(66066001)(6666003)(54356999)(7736002)(47776003)(53936002)(9686003)(72206003)(5660300001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2516; 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; BN3PR07MB2516; 23:nU2AKQkRMuo/SeCZ8NYSD6DiAH+Y5bEJS/rzkT+X4?= =?us-ascii?Q?H8PwbM19XRkX1KOqsB5By+hfa/FRkBIup5Zx4+Rr1ZV2z1016lwFg0Hx/g+B?= =?us-ascii?Q?Yekz7Q8uOChc4v2KFDtGt9PKR52tRT8BLfJpCitgyHeW/XSfiVsE1uoramDm?= =?us-ascii?Q?d5IkPSnOdF/LydXxJ6hbTl5b3qHjN32YJMTWWTEUwo+Jhlqb6guv0mi87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DiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2017 12:31:35.7970 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2516 Subject: Re: [dpdk-dev] [PATCH v5 5/7] eventdev: add event type for eth rx adapter 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, 09 Oct 2017 12:31:39 -0000 -----Original Message----- > Date: Sat, 7 Oct 2017 02:39:59 +0530 > From: Nikhil Rao > To: jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com > CC: dev@dpdk.org > Subject: [PATCH v5 5/7] eventdev: add event type for eth rx adapter > X-Mailer: git-send-email 2.7.4 > > Add RTE_EVENT_TYPE_ETH_RX_ADAPTER event type. Certain platforms (e.g., > octeontx), in the event dequeue function, need to identify events > injected from ethernet hardware into eventdev so that DPDK mbuf can be > populated from the HW descriptor. > > Events injected from ethernet hardware would use an event type of > RTE_EVENT_TYPE_ETHDEV and events injected from the rx adapter service > function would use an event type of RTE_EVENT_TYPE_ETH_RX_ADAPTER to > help the event dequeue function differentiate between these two event > sources. > > Signed-off-by: Nikhil Rao Acked-by: Jerin Jacob