From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0058.outbound.protection.outlook.com [104.47.32.58]) by dpdk.org (Postfix) with ESMTP id 9C0C41B8E2; Thu, 10 May 2018 07:49:51 +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=NPLgf0N3VDYr5z4ro6n4WhXFxASJ9aWj9/2EUkqZqoc=; b=CfX4gABddnhj4BA8wUQHnVPX1/xvTH8WZmXy0uwfcoGo6x3pQq2C09H8gahwCdaz0Vsy36IFj4ay5BTiTzU7Oh1NfUSpt4vQgZYjIcitC8FTFaHXGHnvXYyvzOH06lJbCLHv8+T+8sS7YWJ2VFMEiQjebyYd5rj8GezRoeA/M6U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by CY1PR07MB2523.namprd07.prod.outlook.com (2a01:111:e400:c636::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Thu, 10 May 2018 05:49:46 +0000 Date: Thu, 10 May 2018 11:19:28 +0530 From: Jerin Jacob To: Nikhil Rao Cc: ferruh.yigit@intel.com, lei.a.yao@intel.com, dev@dpdk.org, stable@dpdk.org Message-ID: <20180510054927.GA15294@jerin> References: <1525893452-155596-1-git-send-email-nikhil.rao@intel.com> <1525899160-169278-1-git-send-email-nikhil.rao@intel.com> <20180510053539.GA14890@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180510053539.GA14890@jerin> User-Agent: Mutt/1.9.5 (2018-04-13) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::19) To CY1PR07MB2523.namprd07.prod.outlook.com (2a01:111:e400:c636::14) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:CY1PR07MB2523; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2523; 3:Xf38Boi+QZ8EPxGT75HKG06lki7OGuARDnVEhCvAogrFWY0A7PZG9zkQmEE++jFHYRt17s10RIcbCgoIP1wmIR4TPHBHpd2vXtLtfX822z/lkO3OR6EtVkzGJBZAaWDvYX1zRRbBo3y1GKEIPMd0T0nPtq3+/YksuoyA3N2jjkGhi785KG5pI9ZqwujCWgO+tE1SbWQC1L0A4LHYsqg8UZ2cW4u2v/7gI7fuA+iug+BacKHRodZyljRrixxwZV7e; 25:s25PrGjndDfdQsNGRFpzPhCcXJ1QquxyJuD/QwodlWsAsIxiyLgHZxEnhqtdpYEufmtYNmWgqcDI4riFx8GQyIviWYmnz7j9CuYCO8bcaB9sU48lCkZJepgqHgl0AWmCXqpfp0qR8KauBNoo3GYj0bLQ+r/eEfoV/mkPBeAQMRgWqUiUJFHjK+MAXOatNg+S61RS64ugpbkyNbsnnDQxyw3dI0DfGBhgIJeED00dTC28FXhEhUPEIDTD2pDAPfIuIQrNVTLBxefzzGzf+6OyeJjMqSFFcORclMga4gZhf5ran7gw8Tv8ePhkz7iZ925CpuWYpGTq1zx8qqaYwAJOQA==; 31:9Yru36WBAbNmffzPKJXKudXgWv9t6HmMIZR3cMbk8LNmYATTcHGIRXEtt/j+fP0fYCc45/15thhnXRB9E5aUk7nB90xiPqETyjR1EwaXhRwkgDYB4hqRXR64zVhfinwXS2npxWJWyPVE0xkbsEBYLQRPdi/u0PSY2HxH2apnwXmohsQAxzeyZp2YlRh5mjT1ZXwCcG8iLtX1IQuqOsHYGhjvzDQ75OcyzWgEUYx2hkY= X-MS-TrafficTypeDiagnostic: CY1PR07MB2523: X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2523; 20:S71jgqg/pXc3M1/OeaUTSky7Qbm8NHCrHzPG8S3S4dXVyvAE66w+mlf1obzLnCQi48BuMxrhAHnKJRBq3Hbdom6TAS+PbYLGwZ3wf5LUGJR7KUO47wiykOikETOkruCUIxY+FFRaqZHcmFsP86wtqqdxW5pdo7bCOSM38cmCLYlpnUawawbC6hkqdWg4f0jplsSaH0d2rSPecvy17+Xy8wh5CZouA8DOUJhIGgUlZVAlfbIdN4RNJuApNoiR3Jjsd7dGz5Zv5lgskPwX4+qE6SNyH5CJrgtVIbSn58ZDpPctw+ozRTWwCHb4jfXsLOAPV7pM5sLC8kgtwKhuNV6gV1zQl0v+hebdz/0cEN+RbD3iPhM3B7zv4s501Qw27pzwxrPHnuICUdpTMkECV8fkpuqos6wZ+K5gkXDDCQ/IyK1SzNo7hUXkxZKyhXrsdCbKQLMbqiWQAySY7yb6ePbqULcLNEstvmwRN4/Y/nDuor6sEJuzcO/Tgt7uUXXTq3loZBDMKFR5x3nBrooz+9M9zG4bS0okotp65aqLN4Iyc66yDcYD1Fwapvf616nyuBAQjhrC9yNKKVjmT1k2IErzc8MR4MZWGyiHA9fxD/GSTog=; 4:ttqykow2K0i5gCFDqZnfjsRZ0CNgeS2pL0rCWYtcAPOit+Xti661H+T5Lb94tT8doXoduF6KxNAfzTJcCFDC1b6NBcAWgNPcJu1nfL5I8ce6KnJ2WCsMmDSToc1pVh1m+bxsHFuTJG9m2vyG20NvMc3qavThMhHrdiF/aKLrD9mGBqHR0MfY5MFq1Rx+AQ+mrB45XeGtHB+NmCKNkfuKvxOLWTiZBi/y/JoCJwyA80P3+z/sni97QHHpT/RSa1EfLz9T3wrXP6aLIlbbCvG5D2hQfx2MMPm8Dio6p9QKfvvfTW2M8qmMTbG5MHTeww4K 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)(3231254)(944501410)(52105095)(93006095)(3002001)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:CY1PR07MB2523; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2523; X-Forefront-PRVS: 066898046A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(346002)(396003)(39380400002)(39860400002)(377424004)(189003)(199004)(13464003)(11346002)(6916009)(956004)(4326008)(6496006)(105586002)(76176011)(476003)(44832011)(1076002)(8936002)(33656002)(575784001)(16526019)(42882007)(6306002)(486006)(33896004)(6666003)(33716001)(97736004)(53936002)(9686003)(81166006)(5009440100003)(3846002)(25786009)(8676002)(52116002)(55016002)(2906002)(81156014)(23726003)(386003)(6246003)(6116002)(305945005)(59450400001)(106356001)(53376002)(66066001)(47776003)(26005)(16586007)(68736007)(58126008)(50466002)(7736002)(229853002)(966005)(316002)(478600001)(72206003)(186003)(5660300001)(446003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2523; H:jerin; 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; CY1PR07MB2523; 23:7UgnXns8BUia4u+dN89fKNQcSFPQ29Q3JaYUuebNm?= =?us-ascii?Q?uHRkoGv7MeJQ2SkU9OtBEPYXsvxqja1lA/+L68Bfk1yNfmeZIi9ZRAFqjGpx?= =?us-ascii?Q?QJZ9FftBb6nCo3ZmwtJl7PLKBjr6Cx0zc38N8/qQnZdHv8MNQ26WRF9upZS4?= =?us-ascii?Q?c/LYjle42RkL3rDX5GFp7TOmGGATorEq4P1RjnaJbaSwpYcXUOv41nb7ZCvb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JfwVvOg894dbij95aHW6W983YKXTD6drrP8rpqW93SFtjtMfVIjssHwqZQa5PYn+lTJwU7NoT6x5U9Wn85Vb8sOVgeWOfLZ4+Jgv4hZ6AUh8jIO/GMsggqnn93DPE51UU3Lk/gtg/swH0Ip/PQi8GLDrdZborbYjoow==; 5:QHmba9uNGC8QCZuZmIjCBKZ7S6KDlBWACHf3upwWgeR4p4ipY4KmETUz4Ry4dAEZpwk7WRcWq7GRetTVVUGp2ncYRbOE5o6Jv31eL6aYJZKitpIANMdnEJ0V9xGyEMiBJCHGmv0FDeasS4TrUE66XsdwU8aBSXZvLhuumJ3t5Ks=; 24:bbQ/BShiBwOk8ArZb1kQGdQAEgc0arIiUHlgFqpAjHKm5a5sXTebKOgXw11aHGr2R0JSFgGgx/DecELWQKB713X0wuo2Z8DzabFFwzs0g6U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2523; 7:vYBGOhLqgimy5OwLVxxNIVofPrk0l0OmswADmOqqhwETo5pPoOg+UjxMmokk0y8Jer2/O5uZKgZ7aHr0b0IBiLeLgizD4ZKaVntp9qeO8eg5LrXJQhzONRgXphV8YM9wp5jbhWdbrr/85In+OgA59IleIyut7uOmDWzb1VDBrtcJRSjSMVG3iahk840mdwdwf3TUcZXPXGasMeUtQNaJC9lLWBbq0IIvrvmC+jNhruzMRPujykA8SumoBMJx1Grd X-MS-Office365-Filtering-Correlation-Id: 93f9a869-e5ea-42cf-ab1c-08d5b639d7f7 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2018 05:49:46.7079 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 93f9a869-e5ea-42cf-ab1c-08d5b639d7f7 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2523 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] eventdev: make ethernet port identifiers 16 bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 05:49:52 -0000 -----Original Message----- > Date: Thu, 10 May 2018 11:05:40 +0530 > From: Jerin Jacob > To: Nikhil Rao > CC: ferruh.yigit@intel.com, lei.a.yao@intel.com, dev@dpdk.org, > stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] eventdev: make ethernet port identifiers > 16 bit > User-Agent: Mutt/1.9.5 (2018-04-13) > > -----Original Message----- > > Date: Thu, 10 May 2018 02:22:40 +0530 > > From: Nikhil Rao > > To: jerin.jacob@caviumnetworks.com > > CC: ferruh.yigit@intel.com, lei.a.yao@intel.com, dev@dpdk.org, Nikhil Rao > > , stable@dpdk.org > > Subject: [PATCH v2] eventdev: make ethernet port identifiers 16 bit > > X-Mailer: git-send-email 1.8.3.1 > > > > Ethernet port ID data size has been extended to 16 bits size 17.11 > > Update the Rx event adapter interface and implementation accordingly. > > > > Fixes: 9c38b704d280 ("eventdev: add eth Rx adapter implementation") > > Signed-off-by: Nikhil Rao > > Cc: stable@dpdk.org > > -- > > Acked-by: Jerin Jacob > > I will squash following patch on apply > https://dpdk.org/ml/archives/dev/2018-May/100988.html Applied to dpdk-next-eventdev/master. Thanks. > > > > > Supersedes the following posts: > > http://dpdk.org/ml/archives/dev/2018-May/100917.html > > http://dpdk.org/ml/archives/dev/2018-May/100426.html > > --- > > lib/librte_eventdev/rte_event_eth_rx_adapter.h | 4 ++-- > > lib/librte_eventdev/rte_event_eth_rx_adapter.c | 23 ++++++++++++----------- > > 2 files changed, 14 insertions(+), 13 deletions(-) > > > > diff --git a/lib/librte_eventdev/rte_event_eth_rx_adapter.h b/lib/librte_eventdev/rte_event_eth_rx_adapter.h > > index e6a6435..834eb53 100644 > > --- a/lib/librte_eventdev/rte_event_eth_rx_adapter.h > > +++ b/lib/librte_eventdev/rte_event_eth_rx_adapter.h > > @@ -307,7 +307,7 @@ int rte_event_eth_rx_adapter_create(uint8_t id, uint8_t dev_id, > > * combination of the two error codes. > > */ > > int rte_event_eth_rx_adapter_queue_add(uint8_t id, > > - uint8_t eth_dev_id, > > + uint16_t eth_dev_id, > > int32_t rx_queue_id, > > const struct rte_event_eth_rx_adapter_queue_conf *conf); > > > > @@ -335,7 +335,7 @@ int rte_event_eth_rx_adapter_queue_add(uint8_t id, > > * - 0: Success, Receive queue deleted correctly. > > * - <0: Error code on failure. > > */ > > -int rte_event_eth_rx_adapter_queue_del(uint8_t id, uint8_t eth_dev_id, > > +int rte_event_eth_rx_adapter_queue_del(uint8_t id, uint16_t eth_dev_id, > > int32_t rx_queue_id); > > > > /** > > diff --git a/lib/librte_eventdev/rte_event_eth_rx_adapter.c b/lib/librte_eventdev/rte_event_eth_rx_adapter.c > > index 4c0c025..6f70509 100644 > > --- a/lib/librte_eventdev/rte_event_eth_rx_adapter.c > > +++ b/lib/librte_eventdev/rte_event_eth_rx_adapter.c > > @@ -31,7 +31,7 @@ > > */ > > struct eth_rx_poll_entry { > > /* Eth port to poll */ > > - uint8_t eth_dev_id; > > + uint16_t eth_dev_id; > > /* Eth rx queue to poll */ > > uint16_t eth_rx_qid; > > }; > > @@ -168,7 +168,7 @@ static uint16_t gcd_u16(uint16_t a, uint16_t b) > > > > while (1) { > > uint16_t q; > > - uint8_t d; > > + uint16_t d; > > > > i = (i + 1) % n; > > if (i == 0) { > > @@ -190,7 +190,7 @@ static uint16_t gcd_u16(uint16_t a, uint16_t b) > > static int > > eth_poll_wrr_calc(struct rte_event_eth_rx_adapter *rx_adapter) > > { > > - uint8_t d; > > + uint16_t d; > > uint16_t q; > > unsigned int i; > > > > @@ -510,7 +510,7 @@ static uint16_t gcd_u16(uint16_t a, uint16_t b) > > for (num_queue = 0; num_queue < rx_adapter->wrr_len; num_queue++) { > > unsigned int poll_idx = rx_adapter->wrr_sched[wrr_pos]; > > uint16_t qid = rx_adapter->eth_rx_poll[poll_idx].eth_rx_qid; > > - uint8_t d = rx_adapter->eth_rx_poll[poll_idx].eth_dev_id; > > + uint16_t d = rx_adapter->eth_rx_poll[poll_idx].eth_dev_id; > > > > /* Don't do a batch dequeue from the rx queue if there isn't > > * enough space in the enqueue buffer. > > @@ -755,7 +755,7 @@ static uint16_t gcd_u16(uint16_t a, uint16_t b) > > } > > > > static int add_rx_queue(struct rte_event_eth_rx_adapter *rx_adapter, > > - uint8_t eth_dev_id, > > + uint16_t eth_dev_id, > > int rx_queue_id, > > const struct rte_event_eth_rx_adapter_queue_conf *queue_conf) > > { > > @@ -859,7 +859,7 @@ static int add_rx_queue(struct rte_event_eth_rx_adapter *rx_adapter, > > struct rte_event_eth_rx_adapter *rx_adapter; > > int ret; > > int socket_id; > > - uint8_t i; > > + uint16_t i; > > char mem_name[ETH_RX_ADAPTER_SERVICE_NAME_LEN]; > > const uint8_t default_rss_key[] = { > > 0x6d, 0x5a, 0x56, 0xda, 0x25, 0x5b, 0x0e, 0xc2, > > @@ -978,7 +978,7 @@ static int add_rx_queue(struct rte_event_eth_rx_adapter *rx_adapter, > > > > int > > rte_event_eth_rx_adapter_queue_add(uint8_t id, > > - uint8_t eth_dev_id, > > + uint16_t eth_dev_id, > > int32_t rx_queue_id, > > const struct rte_event_eth_rx_adapter_queue_conf *queue_conf) > > { > > @@ -1002,7 +1002,7 @@ static int add_rx_queue(struct rte_event_eth_rx_adapter *rx_adapter, > > &cap); > > if (ret) { > > RTE_EDEV_LOG_ERR("Failed to get adapter caps edev %" PRIu8 > > - "eth port %" PRIu8, id, eth_dev_id); > > + "eth port %" PRIu16, id, eth_dev_id); > > return ret; > > } > > > > @@ -1010,7 +1010,7 @@ static int add_rx_queue(struct rte_event_eth_rx_adapter *rx_adapter, > > && (queue_conf->rx_queue_flags & > > RTE_EVENT_ETH_RX_ADAPTER_QUEUE_FLOW_ID_VALID)) { > > RTE_EDEV_LOG_ERR("Flow ID override is not supported," > > - " eth port: %" PRIu8 " adapter id: %" PRIu8, > > + " eth port: %" PRIu16 " adapter id: %" PRIu8, > > eth_dev_id, id); > > return -EINVAL; > > } > > @@ -1018,7 +1018,8 @@ static int add_rx_queue(struct rte_event_eth_rx_adapter *rx_adapter, > > if ((cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ) == 0 && > > (rx_queue_id != -1)) { > > RTE_EDEV_LOG_ERR("Rx queues can only be connected to single " > > - "event queue id %u eth port %u", id, eth_dev_id); > > + "event queue, eth port: %" PRIu16 " adapter id: %" > > + PRIu8, eth_dev_id, id); > > return -EINVAL; > > } > > > > @@ -1075,7 +1076,7 @@ static int add_rx_queue(struct rte_event_eth_rx_adapter *rx_adapter, > > } > > > > int > > -rte_event_eth_rx_adapter_queue_del(uint8_t id, uint8_t eth_dev_id, > > +rte_event_eth_rx_adapter_queue_del(uint8_t id, uint16_t eth_dev_id, > > int32_t rx_queue_id) > > { > > int ret = 0; > > -- > > 1.8.3.1 > >