Message ID | 20171212100520.20502-2-nikhil.agarwal@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp3863764edb; Tue, 12 Dec 2017 02:09:07 -0800 (PST) X-Google-Smtp-Source: ACJfBovN7DgkPXns3qbFxDBds/+WQqEFvhHULSHGp4j8GyDyVFgiOf/X74CY2/xNWaW5pBdCQ1sb X-Received: by 10.223.128.164 with SMTP id 33mr3052977wrl.41.1513073347814; Tue, 12 Dec 2017 02:09:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513073347; cv=none; d=google.com; s=arc-20160816; b=rh55OgNZY5gg//pE4EN/IUtICbg8b65KZ9qdAxkV7Z3B7ZTGOLEiiNOmG4mF73bcg7 gsUF3vm1X62qFEtdoEAU6kDZIua0IIDxwb5Ap/QOIyCH5DlJ5KQRQPRsaegrFHZ+8CNF jx6+Xz3baTHbSqFmM75Lw44OHA8KfqcOH0jzWbUe/nsBSNAjKx3jWerjKiiC3GLkVOX9 +tnf40iLSjV2azfbZSnAK5ln9gb17Jp3sb04D5gch1mGOwc3abzVFp3UiBPjWDHJsDrT jk0XWv1DRxiW7ARwL0POhiKu4ootAIpPvbo+zVuSd+J2lFP7SskQFxEm2AI5ZYMjFiYG xq0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=KGHA2gdYSgWa/ohIIr7nhgtWgRNKeNjtgaXNBKPEWHA=; b=XNM9J87hqe6QzMedNp/Ctl87AznlI78UbXG88H04cFOwf27CP4zhoip7wFrLUVWrFx 1zpPjDALO28XWHhc8+NrDAt1mXHpZQDClAKizCP8+AL6Eq2vEpgbAB4gEb7SGQe5bEDb GfA9g+mXbE6EuV5QVqhk4eiTEJZLS2JZSduIZbjkSfUU+NcYxG4nAtEy9vsBo0RrIj4U wQGJXs9i7IDW4j8mY9SivkyujwDeS617pbDL+R1QWDBfiKHOGy9csCkWky6NSr+I8F8Q og0X/H6uwKL7qsFhO3wk6gmsLIBL3KgbAPLmf8dx+jVqgk2+1nRb15AvYVfXVu8yBEUJ anBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id 57si12495325wrz.265.2017.12.12.02.09.07; Tue, 12 Dec 2017 02:09:07 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C8395199AE; Tue, 12 Dec 2017 11:09:03 +0100 (CET) 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 <dev@dpdk.org>; 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 <nikhil.agarwal@linaro.org> To: <dev@dpdk.org> CC: <david.hunt@intel.com>, <nikhil.agarwal@nxp.com>, <hemant.agrawal@nxp.com>, <ferruh.yigit@intel.com> 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+NNsTkEbUTRkybJn3C8r5otix4ncjKlgLaL0rib84Pi42OWx1Z3va4hTrlgmNY3N7oiJkjgfUSW6W6EwjtzLAUyz9LCwwzZ9X8AGCWy9FLCoYDGn9G9KRQlNUGOC9730vx12D/aYLEXtB3taoHUVzkX64lobjfldFHZMLfl9O/Vb1KqrMztmwwkfC2XndT8QVx4H27rCWH2bmzI35KZwicXQuk2lxLGYRGlhEi8t3Orotelhzf2dLdhSnZjSxnK3amnJSj6WtpH3HU=; 25:CSLPCsqqm/T+VmJrSLU5phx8wfGN/xod9KCdwyViBie1QzLmqBfIZKAN5WY1wvis7KbMNPkORJOm9E+hcQH7aBWPejyD8tuRFOpsGZzBYvQpDEZETMB/cCI+XMSOemr++uERAZQ4CATm78lqX6Fq8B1CGWCk1mhXkPiknlRioQkFWOBQ034Z0KWGcdcaIwomInAsgP2fNNSPTHTC5EELX1/vtu3lEhJyyrBRyLzKmlX+6Wd6eyYs1HJz01CfyAhOcDzkDWB2JRfeSicBK/W8uN2ck4ie4q/Y/lD3Zkm4HMEjR+7wytmVauI/bF6KkqmJm5QD19mu4aLGxOTrpdQq4cBa2yuU6Lbz1QYZrd6RfOA= X-MS-TrafficTypeDiagnostic: CY1PR03MB2362: X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2362; 31:pd58CpZY06w4GnKnaGWh7r7dm+8/mspL/CuYWG+nuVoUYETIp4RlLv5wqBsB2dH0HT7/iFPENJn50+rG5SWohSjtkxmuTkXx0LSjFa4JSvitbAHlxyuIqL+8ArixoXkP4KzTU69fLl7o0O+mej37Njg5ffAD98uG3K05Sr6IbmFKFj61jfw4w1WXZd5DjyPyaYErX5NLVkm6EO52C/WKzHYMUCscGVEnApnLTm+jyFg=; 4:8MV9kAwujZiETJT1MKHh+xr4HR73CQxSuy/MbyTzLE5VF97hmFnF6Sm7RaeBPokT04UbOUOqapz24/BWyjFVniPsNf3qaIMGk9L2kqt+srHBkDt1ktW1u5QUdP5KPVJFG2cNzlzg+dh/Bk71SHYb3FDBbtu9dGqikJt0ntKQ/H8Ez4gFzJvnYoss/+Pfkp/MNiynlJFv/aEwosVU5UlxTL7EeHyqOHr5ygQIbou9XA1Cw9CWoSADqTbhk6Mjz8skCG5KlMmUwOOPBWHmmgti5Q== X-Microsoft-Antispam-PRVS: <CY1PR03MB2362F6E9AD7A7E2313B3780BF9340@CY1PR03MB2362.namprd03.prod.outlook.com> 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+?= mRIg170Xwb+fD6zlOSoQzvPZbCkq6yfFm5giyssfGKDA+b8VG7reeJx8tEGoRjsH0W7OTHgVQVURNn8x4qykSrdcComnN2yeq48SAunMhYkGbsORqXWnqSbnURBFI+vX6p5YW0WMEHtGDzgBolJZ0ohi1JGaKWw2cqUxyj6fQ1GAzR0hH33OsiqvkeOg9Q9nJyVg9StASu3CtmUZEH7EQFV2G003j1NovZtoS+s4t6ITVBfjDXx/HCe+ru3QZzFs9UIPS/0US/gZzV/zAfos/IU15YXO6l9J7oAVbJICQrNB2Zam+zQxEAUtOWGRWtGNkoN9We3Z3JFH0WE7upE7ROPf5aQTn5d7YLYLzw3hcPh9sW+XisDqOeGqICia0vWUt4eEL7LeXNaqRo+U75zWEZQ5zjqZ25vBDpgIy64QoYMmJwwan0dXXfnEwFA1Hq1toZfnQXNmsJPkupP+tvY8yxCYnkAzFufqlp8UXgYGfL33lqu9A3BF3Aiac3l/7qHTTLxq41pJA35xRPrqz7lX82wjGsPqwebP0UiKov3ZXqaIicQMDIbyjBkWv9KnnwcvfnIabyi/fOdsby9XQzCgi8sj6+e12j62XTtTA10fLrt3XV3bI4Zo/fResKS2mYrYCTIItg7tzN4XOmZ2uEUwUVqlNSOm0zMeWLe/L4yokRjjke8vETMNOykRn2Ra1i2t6O58ilHyR/hkVeQnwb+JX9QTtDSE5343uk0Q70c+oyFmY+6OtSirisMeJOPpvGD2fJ7ciUyOhmYdCBlhpKUMXgT3ZnooV/vnXwT0GZZjII17xdRaWS5LL+J7El4froHGXn2ShV7ucmyjCTyZdWJTr4erY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yhzaoHFOshKKFP2miAXaZB1nQzAhHebmZnjDG 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 <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[1/3] ethdev: add max burst size to device info
|
expand
|
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.
Signed-off-by: Nikhil Agarwal <nikhil.agarwal@linaro.org> --- drivers/net/dpaa/dpaa_ethdev.c | 1 + drivers/net/dpaa/dpaa_ethdev.h | 1 + 2 files changed, 2 insertions(+) -- 2.7.4