From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0069.outbound.protection.outlook.com [104.47.38.69]) by dpdk.org (Postfix) with ESMTP id A96F58D90 for ; Sun, 20 May 2018 18:50:07 +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:X-MS-Exchange-SenderADCheck; bh=A3/aZo6Ai3N/6kOfJqzAwwEtxWD/FmGmLgt0E/gosac=; b=Y6UQ+3iKOB18vtZcHdwYaYXxeNvcFoQGIWaufxiPF/D2biKkAgQTb7GZTVB7uH9zcrhiehYfCIzjzauSZc34+Vw2RXBAdMNaihv1Zwu43Z+YkGYXUJaJNlYNz71+93zKiC+fam3V+ltyPD0T0BHjlfm2K+XSpizH95Ha3wDAzN8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from localhost.localdomain (202.83.56.49) by CO2PR07MB2517.namprd07.prod.outlook.com (2603:10b6:102:12::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.11; Sun, 20 May 2018 16:50:04 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: Jerin Jacob , Nikhil Rao Date: Sun, 20 May 2018 22:18:43 +0530 Message-Id: <20180520164843.4386-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.83.56.49] X-ClientProxiedBy: MA1PR0101CA0037.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::23) To CO2PR07MB2517.namprd07.prod.outlook.com (2603:10b6:102:12::23) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 3:SsQrDyZc1j7YGstiSZ7U1pHSK99w0FY6EeSVow/PXRwCP8lI6y+qNrhaQG5aec7s+nWzPOiYyGStIuZM0WZ2ulYebLlx7UWAc12C1PHdR91z0aLftvHIBH3/gBSmCBys9TwtHGpRyejEKNaWLFfAwA8fwi3O6GwYh0JxxusSMAiZiDAue2ieT122F/oKuHJqHb0Z13pJT4ZOFFHo4S0WN4RfgQTv6wX4NR2Qz5Rebdnn7Mw9sQqrTJlCo+E0Q2l+; 25:krztbL0bCDERr3lbyB5/8/H8PUJhtLSvpNDVb7JGwiDnRBrFGBMKtjAgN2bLwZ3Cuq5rJqXXwu2mfdjDEHaElKAslDwMCdDoskUGd6t/z39TZP8lN1bCoSVb9B/zzmyBuyQpZc0xAwYRdD/mKJz9OQNUTgehX9rKOHm+jxlKr29rSaGJVOrAVYtYnpw3xG8dhr7N/4T2oMqP632Udtq/fWpcRC0ZsLDVoBW2wBeHnZjMQXoWKdJ7qTjE9tV/YbpqzG4O6p/Gb/z3R43Xzca/k2buMXU6ZFGCt//k9FKfK9Ht5k+TxdQ1P5WQr4OQVijfDYpeeXlWJf6FKExkis/+PQ==; 31:+W+QKkzzzH3r1KA6WfsqsjUdqaNRfcDRfEit/8tk+Z9ozYVOQl4EfPMmyAqFQCD/i2pZeOHZI/7A3ZB6psb6CXH56gxz0Zqu9yy7N2E1ts4vrRqXu5YiK/74DoQsP5IPJuZ6x9xzvD6edqzXMlS7HC/5gKHiqp/vwUhz4e9EwynHYI/c2xVtkTbHuI7hM5zOVUJGsSZaBwt6khelqCShMtwDTLPv4rOuhz3Quyd1lqw= X-MS-TrafficTypeDiagnostic: CO2PR07MB2517: X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 20:KcpLkSWfQE6okIxE/nYZzZt5qq5Sdp3bZn13EQB59dmBCyc3cEgZHDheSztLGrI7mNxhOXUqikm0kqV1Jmw+YLXwMGAA4BZwAikJrgsa7Rf6MO82aG9lOUUKDpPHVdza811Cpd5IRllWzSnNZ5Bg5gN/NrKmZaxBDw/UjvJ07zGeUU6khLkQWjmEB9Wimm8qvd4wGuhZy6pF981vgKbYxYvt9Zjl7rY/ZeJzmtkDo2APABeDJMnG2HRzfPqHX+9tTOYQ1OCBFNpQ00opzU/zKYpUmW199PiZS8oLDVsIMMhpyXKpxbNtyiDtq1Ius6tqlGAxJo7QKB9LKaiHuqEmWpGQo5zk5WXOB3eh69u46ERXA4h6+OFqVVBPG4zcObvVSrk8V5MIMTHFOueNq1oYfDGvVZp+6hrxK5SsCEGob5/BVoG0aZKs4I99AVilYSJDHG3DAVSwbQhz/zOI2sjWCuHV7pies59LsUjPKzg4lwBDjfsL4xT6+RGWlZ5X0hDbTL7grQ/loyxLYmnwiO0oRgNPJsLOIsYVr+XC3en8/yx9B8eHIcASbEi3qkBUYAPX/4Cz2HcNtsRYte827MyjPGU/vjUWT2m+FYyeLwynlqw=; 4:ykm35LjN2ygdNhlIe6RfgIzPk2TkMyq65GVeasb7YM5qOl7giXAx0hX5eJ/fyvEXCHqsKGRUry5E8dDPmsMNnjRHJmyX7aUquwjhi5Ss2f19i6ZieFjKmmTfp1PHMg2g7oxkExxMI1eLzCHCaFudyN5+aOx7nVK3c7FDkSKuoH0gJIjqfUCqFP33pi5odgjdKK2N6Bm6HiRrC5XxPPwafydLkPxoVQ6DEp5R4GrGDFeNbzy56omhXFV/N2bk6YSt9KgdIZFA3Wvgn/mQEpeuK6Ue+pWJ7EiRI00aDUdRMC5lB7kiafnkL4woqwlkDP1T X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(944501410)(52105095)(3002001)(93006095)(149027)(150027)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:CO2PR07MB2517; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB2517; X-Forefront-PRVS: 06780E24F8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(346002)(39860400002)(39380400002)(376002)(366004)(396003)(189003)(199004)(47776003)(50226002)(66066001)(478600001)(316002)(8936002)(81156014)(6486002)(36756003)(2351001)(16586007)(97736004)(81166006)(486006)(51416003)(4326008)(6666003)(68736007)(6916009)(2361001)(5660300001)(8676002)(575784001)(72206003)(25786009)(44832011)(52116002)(6116002)(50466002)(105586002)(2906002)(48376002)(53936002)(106356001)(59450400001)(3846002)(476003)(956004)(2616005)(6512007)(1076002)(42882007)(305945005)(54906003)(6506007)(186003)(7736002)(1857600001)(26005)(386003)(16526019); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB2517; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB2517; 23:UxNrEq4py6f/R/LsQ8TfB3FZOmbFjnkvEo7R3Tm/C?= =?us-ascii?Q?Vg5rHA3Oi7Wzto/E9D/cO8UDEKLpqBg0a3/G8SblT5laXpPoYTlkn7JxHneI?= =?us-ascii?Q?j890vJIRbhrcrFFO1C9kHDlEjqy6zwK8oZNz799corSjViCmJoGNGo3jkhCN?= =?us-ascii?Q?mklILnARNB2kI319w1W1E4f8L+NQCIa5ZZCbfwxaac6utGKkbu1YlBzuZmpG?= =?us-ascii?Q?dgjd+706K3nqC0Fti2ItMGIuGEeCSXkTFM3pYwrSHj7Ljp9X3cYisOlHJOQ0?= =?us-ascii?Q?RgaZDOxBOf5vwFhZC7uUvCZsl6j4ge4D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M=; 24:mt4+ldNam4AvxTBMWxRv6/0v5Kp12TTXgYcjFWGWs3dzLbjGSrUUISLfypJdfWeDFxczDV5Cp87MdYgzWV4+5EH34+7F1gwLrxhOVNim1/M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 7:P0H2NgMWcNyfpmOJ419DXunvHlSq+mfyuuMbLzUTbbdizkzDtSAdgbOMQdfxX5n6rM2cRXYsv6JEAyPpLy5O8NNfvo4xvXfu4GTiUD/ZDj5AJS1h8EKkNCwejzeh1N1EYHgJXXt0RzGtLNQWjn9Vie09KfodOkFPsIg23lPnzPJD3N+Hx9Wl6hOQwqnAXQOrZE9XV5aEK1Zsw6KDCfX66+5xO8zyIiv1MTU+PW+bR8ItBPBpBrDq0Ci0HC7xRfi3 X-MS-Office365-Filtering-Correlation-Id: e534904c-81bc-4dce-7ba8-08d5be71bd0c X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2018 16:50:04.0555 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e534904c-81bc-4dce-7ba8-08d5be71bd0c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2517 Subject: [dpdk-dev] [PATCH] eventdev: remove ethdev Rx adapter event type 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: Sun, 20 May 2018 16:50:08 -0000 The initial thought was to create a separate event type for each adapter, in order to make consistency with new event adapters, remove RTE_EVENT_TYPE_ETH_RX_ADAPTER event type and use RTE_EVENT_TYPE_ETHDEV event type instead like other event adapters. Cc: Nikhil Rao Signed-off-by: Jerin Jacob --- lib/librte_eventdev/rte_event_eth_rx_adapter.c | 2 +- lib/librte_eventdev/rte_eventdev.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/librte_eventdev/rte_event_eth_rx_adapter.c b/lib/librte_eventdev/rte_event_eth_rx_adapter.c index 6f7050952..8b9887b3d 100644 --- a/lib/librte_eventdev/rte_event_eth_rx_adapter.c +++ b/lib/librte_eventdev/rte_event_eth_rx_adapter.c @@ -468,7 +468,7 @@ fill_event_buffer(struct rte_event_eth_rx_adapter *rx_adapter, ev->op = RTE_EVENT_OP_NEW; ev->sched_type = sched_type; ev->queue_id = qid; - ev->event_type = RTE_EVENT_TYPE_ETH_RX_ADAPTER; + ev->event_type = RTE_EVENT_TYPE_ETHDEV; ev->sub_event_type = 0; ev->priority = priority; ev->mbuf = m; diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h index b6fd6ee7f..cef0a55d8 100644 --- a/lib/librte_eventdev/rte_eventdev.h +++ b/lib/librte_eventdev/rte_eventdev.h @@ -948,8 +948,6 @@ rte_event_dev_close(uint8_t dev_id); /**< The event generated from cpu for pipelining. * Application may use *sub_event_type* to further classify the event */ -#define RTE_EVENT_TYPE_ETH_RX_ADAPTER 0x4 -/**< The event generated from event eth Rx adapter */ #define RTE_EVENT_TYPE_MAX 0x10 /**< Maximum number of event types */ -- 2.17.0