From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0078.outbound.protection.outlook.com [104.47.34.78]) by dpdk.org (Postfix) with ESMTP id E45512C55 for ; Tue, 12 Dec 2017 11:09:01 +0100 (CET) Received: from BN6PR03CA0071.namprd03.prod.outlook.com (10.173.137.33) by CY1PR03MB2362.namprd03.prod.outlook.com (10.166.207.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Tue, 12 Dec 2017 10:08:59 +0000 Received: from BN1AFFO11FD011.protection.gbl (2a01:111:f400:7c10::171) by BN6PR03CA0071.outlook.office365.com (2603:10b6:404:4c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.302.9 via Frontend Transport; Tue, 12 Dec 2017 10:08:59 +0000 Authentication-Results: spf=softfail (sender IP is 192.88.168.50) smtp.mailfrom=linaro.org; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=linaro.org; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 192.88.168.50 as permitted sender) Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD011.mail.protection.outlook.com (10.58.52.71) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.282.5 via Frontend Transport; Tue, 12 Dec 2017 10:08:52 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBCA8qlD009395; Tue, 12 Dec 2017 03:08:56 -0700 From: Nikhil Agarwal To: CC: , , , Date: Tue, 12 Dec 2017 15:35:19 +0530 Message-ID: <20171212100520.20502-2-nikhil.agarwal@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20171212100520.20502-1-nikhil.agarwal@linaro.org> References: <20171212100520.20502-1-nikhil.agarwal@linaro.org> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131575469328802746; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(7966004)(336005)(376002)(39860400002)(346002)(39380400002)(2980300002)(3190300001)(189003)(199004)(106466001)(5660300001)(104016004)(1076002)(86362001)(2351001)(50226002)(305945005)(8676002)(8936002)(316002)(81156014)(105596002)(68736007)(356003)(81166006)(50466002)(2950100002)(48376002)(36756003)(54906003)(498600001)(4326008)(47776003)(6916009)(6666003)(16586007)(77096006)(97736004)(2906002)(8656006)(53936002)(51416003)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2362; H:tx30smr01.am.freescale.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD011; 1:SssPKzYwK8Oz7+mIVT8cWCdfNuiDeZ2ekD/kITpJPjnUvI+pC1SjcmhKADh4s1UFWR/vM8w3bquazaAo0eeib2nYqZrIRboT3ZTX6ykmyWXDkJv9SiQ7/VLJJ+xArcZ0 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d06e0168-2c83-49dc-a3ba-08d5414858f6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:CY1PR03MB2362; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2362; 3:HmbZsST1IdC0b56jSXS8en6jxQ4cO73jpglHXrVos+Xz84uk2S7pa4N0gMIrh52rnOj5qkn1DVbSXqSnrqCE7BhIV59Ug+NNsTkEbUTRkybJn3C8r5otix4ncjKlgLaL0rib84Pi42OWx1Z3va4hTrlgmNY3N7oiJkjgfUSW6W6Ewjtz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qOHr5ygQIbou9XA1Cw9CWoSADqTbhk6Mjz8skCG5KlMmUwOOPBWHmmgti5Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231023)(6055026)(6096035)(20161123565025)(20161123556025)(20161123561025)(20161123563025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123559100)(201708071742011); SRVR:CY1PR03MB2362; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY1PR03MB2362; X-Forefront-PRVS: 051900244E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB2362; 23:QC8fOPFXQ5UOGNApo+JyO16t3rdJz1P9Bad1mr/D+?= =?us-ascii?Q?mRIg170Xwb+fD6zlOSoQzvPZbCkq6yfFm5giyssfGKDA+b8VG7reeJx8tEGo?= =?us-ascii?Q?RjsH0W7OTHgVQVURNn8x4qykSrdcComnN2yeq48SAunMhYkGbsORqXWnqSbn?= =?us-ascii?Q?URBFI+vX6p5YW0WMEHtGDzgBolJZ0ohi1JGaKWw2cqUxyj6fQ1GAzR0hH33O?= =?us-ascii?Q?siqvkeOg9Q9nJyVg9StASu3CtmUZEH7EQFV2G003j1NovZtoS+s4t6ITVBfj?= =?us-ascii?Q?DXx/HCe+ru3QZzFs9UIPS/0US/gZzV/zAfos/IU15YXO6l9J7oAVbJICQrNB?= =?us-ascii?Q?2Zam+zQxEAUtOWGRWtGNkoN9We3Z3JFH0WE7upE7ROPf5aQTn5d7YLYLzw3h?= =?us-ascii?Q?cPh9sW+XisDqOeGqICia0vWUt4eEL7LeXNaqRo+U75zWEZQ5zjqZ25vBDpgI?= =?us-ascii?Q?y64QoYMmJwwan0dXXfnEwFA1Hq1toZfnQXNmsJPkupP+tvY8yxCYnkAzFufq?= =?us-ascii?Q?lp8UXgYGfL33lq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7PHCNjGfP5c8ynuvq748sTUZNcrfXw6k569YOLJ6t5Ou/JzkBF1/VxplvLYgjVlnETFyNuUQtJOZxq35/PRxHZ/2uBnb+ujMwKOWg19xgzbTiElx1lkUgKdipgImoE+zmRLUL7vY4EfXS1J5W1Wxj9E=; 24:gTsDupbj2QpDJ+gDW4EMwM0LAvBVHYAC53C0fbtuP+AJDRJ3pBFMvaUOPZaQ9KVQvpmgpqspSmws2K4B8IurmZ1INXjBzwVvfXGT4DQDUW0=; 7:fiGuqupHwyDR2t5Kml0tJQsOaEDs/1bxcJyZWLZqI9dM9owcy43yMBUMDZi8CPZXN1AslXTkB1MD7t+jjaC67KehEWaxmo0PhY1BbuaNvuYrNqcbCNM1kxoLTcpHnGFoROen31HywY3FpY+DApU1UHzEGUNpfL4WOshScFUbNzDqGARiUt8RIes0E1HnRZgc1kXVv3K5ipt3G4gBNXdMfB5krYMyhzaoHFOshKKFP2miAXaZB1nQzAhHebmZnjDG SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2017 10:08:52.7086 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d06e0168-2c83-49dc-a3ba-08d5414858f6 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB2362 Subject: [dpdk-dev] [PATCH 2/3] net/dpaa: implement max burst size in dev info 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: Tue, 12 Dec 2017 10:09:02 -0000 Signed-off-by: Nikhil Agarwal --- drivers/net/dpaa/dpaa_ethdev.c | 1 + drivers/net/dpaa/dpaa_ethdev.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index cf5a2ec..79c6cc4 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -242,6 +242,7 @@ static void dpaa_eth_dev_info(struct rte_eth_dev *dev, dev_info->max_tx_queues = dpaa_intf->nb_tx_queues; dev_info->min_rx_bufsize = DPAA_MIN_RX_BUF_SIZE; dev_info->max_rx_pktlen = DPAA_MAX_RX_PKT_LEN; + dev_info->max_burst_size = DPAA_MAX_BURST_SIZE; dev_info->max_mac_addrs = DPAA_MAX_MAC_FILTER; dev_info->max_hash_mac_addrs = 0; dev_info->max_vfs = 0; diff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethdev.h index 5457d61..0400dce 100644 --- a/drivers/net/dpaa/dpaa_ethdev.h +++ b/drivers/net/dpaa/dpaa_ethdev.h @@ -64,6 +64,7 @@ #define DPAA_MIN_RX_BUF_SIZE 512 #define DPAA_MAX_RX_PKT_LEN 10240 +#define DPAA_MAX_BURST_SIZE 16 /* RX queue tail drop threshold * currently considering 32 KB packets. -- 2.7.4