Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6779589imb; Sat, 9 Mar 2019 06:10:01 -0800 (PST) X-Google-Smtp-Source: APXvYqyuz8SsXysn0Oat37QJ5MW7rSryUG6hQkxWx7TWzTVd+tub1H1zWMUqfTGoioHovr4X9FNt X-Received: by 2002:a63:c64c:: with SMTP id x12mr21769249pgg.285.1552140600950; Sat, 09 Mar 2019 06:10:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552140600; cv=none; d=google.com; s=arc-20160816; b=FaUEin4EvAYY/h5v0Z7t22w+P1C2WcOvCBYDUqpD1tw+bu1YtGX4NhhdXsKm7HAi+J xBi74/6u8mhMkXn5Qq1ts8n6OrkKoX7pZJjonIr0DapGLJGmK8w8iNr5isY1PzCveFhG OhP42+y4FT40XZqrG6rJ3tl1ObfZTFGmbnlZoqgZ7qcHd3zGPV2UepnWI+/nF/t0paNA hH2xhOvAocOD1fh3vtvUC7e9IfV1PcoHzCaqy8s2p/xbU5gcCr2jlBnb1MQIXF2ELz6S erg19XXMEC5855ALmc+wkwI/87WLGNsGHdnGP0fh4HhYLM48gy7SyIGYS5IHXcf6xv1Y k+lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=b/3XnQZ0UFUbxBi79NtOYnbuqdvtZJTx/2SrCCJ5t7U=; b=FYbwIdj0yCTi0nPUqxL71lAgEgmZV0o8ZUpEj5AwSyugS7+wrdMydSx7Hcnh0oepZ4 XbS+yibnN8yf6W0TAFv9N807pO2qFHOb0eRk4cW6uYraebhiHeE2p1xjAeEkqGq4W0hc Edd3aYUoXK6s6TMp3O66l9Bb8jIZtthQYw5yZIS6+XLU9OPHrhBctS7mJSq9EA/DKvs+ D3V+tfMyYyIdUNcc0LuPC7ODp7tje1OO5GihF/aNkruDqGBTkZzR1rM/LLMG6ECL2QWH f1puHfXonYk0DpxgBIoZoXFfYSXvwa1BYYW49sEg67TVLKxZXj2HSclZwMyUr4/H/Y0g 9FMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b="SdfthIC/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si551907pgv.512.2019.03.09.06.09.19; Sat, 09 Mar 2019 06:10:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b="SdfthIC/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726419AbfCIOHs (ORCPT + 99 others); Sat, 9 Mar 2019 09:07:48 -0500 Received: from mail-eopbgr820055.outbound.protection.outlook.com ([40.107.82.55]:13216 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726289AbfCIOHs (ORCPT ); Sat, 9 Mar 2019 09:07:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b/3XnQZ0UFUbxBi79NtOYnbuqdvtZJTx/2SrCCJ5t7U=; b=SdfthIC/UWtKH1UHYiaAOreLAHmB97clGZv+v8sYKGBSvbkHrZgFibKx9ZlYjXeIiecXPtG2aZdydhOTv7o7noiVM2PScDzJiDhEM8QZ/Ai32V4ts2e8mgqLdlimYm7Ge0mt4XCzQLiq+vx0O8gHRS/cYPQmadSiVZX8WMkmknk= Received: from MWHPR02CA0005.namprd02.prod.outlook.com (2603:10b6:300:4b::15) by CY4PR02MB2375.namprd02.prod.outlook.com (2603:10b6:903:c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.16; Sat, 9 Mar 2019 14:07:44 +0000 Received: from CY1NAM02FT016.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::200) by MWHPR02CA0005.outlook.office365.com (2603:10b6:300:4b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18 via Frontend Transport; Sat, 9 Mar 2019 14:07:44 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT016.mail.protection.outlook.com (10.152.75.164) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1686.19 via Frontend Transport; Sat, 9 Mar 2019 14:07:43 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1h2cdb-0006NZ-2A; Sat, 09 Mar 2019 06:07:43 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1h2cdV-000884-Uk; Sat, 09 Mar 2019 06:07:37 -0800 Received: from xsj-pvapsmtp01 (smtp-fallback.xilinx.com [149.199.38.66] (may be forged)) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id x29E7UP4030464; Sat, 9 Mar 2019 06:07:30 -0800 Received: from [172.23.37.94] (helo=xhdappanad40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1h2cdO-00087c-1i; Sat, 09 Mar 2019 06:07:30 -0800 From: Appana Durga Kedareswara rao To: , , CC: , , , Appana Durga Kedareswara rao Subject: [PATCH] net: can: Increase tx queue length Date: Sat, 9 Mar 2019 19:37:26 +0530 Message-ID: <1552140446-31535-1-git-send-email-appana.durga.rao@xilinx.com> X-Mailer: git-send-email 2.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(136003)(346002)(376002)(39860400002)(2980300002)(199004)(189003)(14444005)(336012)(426003)(126002)(2616005)(476003)(4744005)(305945005)(8936002)(36386004)(50226002)(106466001)(50466002)(356004)(6666004)(186003)(63266004)(5660300002)(486006)(47776003)(2201001)(2906002)(4326008)(48376002)(478600001)(26005)(51416003)(77096007)(7696005)(36756003)(9786002)(8676002)(81156014)(81166006)(106002)(316002)(54906003)(16586007)(110136005)(107886003)(42866002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR02MB2375;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;A:1;MX:1; MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91d6f7d6-1635-45ea-666a-08d6a49899a1 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4608103)(4709054)(2017052603328)(7153060);SRVR:CY4PR02MB2375; X-MS-TrafficTypeDiagnostic: CY4PR02MB2375: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Exchange-Diagnostics: 1;CY4PR02MB2375;20:hJf8uwv6XXHMHLZfns2zC3rtOeJLreQA01eh4BkKagULQ6tUyW0uCuYiD6gOpEGynh24Zhclp2X004Sk2q2HuZgulTpBZM+w5FE7p9Wvk6sru+t3bEl2ZFN606msI68Q7VcYzEPLM4nAMWb/MhF4uozjabfIkb+WtvURlz8Nsl5qMmZwrCdhXeO99JRSDUVBMuzby4VhQHw/COTvvJpnONix5N/ocAtTN296OdnrKcOJpNt8Fs0m80thpbvvr9E76FR7wDiLTzDcrLq7Lvim80l8WZ3XjTvRNz34BvPuLXb1UtgYmhlzF+6YciStgelaVOBjtWiqUVgoKP9ypqBa91D2BSnvVmSNFalHSYH9a6NitKKtonBMDkopBOxEyFCCxeirLVxB30QuqtkGMPfwBeOLmj5fedGsaDFrhSLKkrsNT5WihpWszGXM1Hq+TfeTSaRWIF0R1armO0WVkXlnhOFwhQ4w2IdzUmXKJ4a/63pMOJtGP9+JBEUjboJXf7T7 X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0971922F40 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR02MB2375;23:POfsHPMZtwW4fEgGVJH6IihlD06qgiYhQXzqTgpPs?= =?us-ascii?Q?8ZYuaNIeqGoai4Nkdw1l1dzE5TrkdFAdKWRNZoh8oz8eexKOZBLYB2QvnokK?= =?us-ascii?Q?SYLsFC38Qg6y13FwHGa9/Ze0+ml6SfuZZlxN7987witfzGv3+DdxJoaetV4F?= =?us-ascii?Q?n4QxnEswCpnK26SwGvSbcd372NP38rOANv/rs3T5cR4CufWLxIfeLnvhneAA?= =?us-ascii?Q?NKpXKI9lFumDouUVsxzE05c3tCEAL1+ao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derADCheck: 1 X-Microsoft-Antispam-Message-Info: iEheoXLiOXLlcbul5F8zdhe9Cbiy2F/BRLILokr7MkWK5rlmnGkUd7QD63JHiLsp8jD8cNB6sMZVdRcKcnnbx9lTkjkZtfeeZjFFqo4qlLFu/Z3w8FMS+7O7mQH/xtN0ezHZEQGXNVvHoORdIF1XxBJgozhyzBqz4vIxYodYdX0jrQHRqdcBQyonHYWaZAn1CPlTgZkH1/6JVfi23JiO3H8N6k23B7douH2V1+h2YWN0yUt5L67foWRRa7VUJrRAlM4vrNduHJqKHEUvEclsrNwZkyfzNFK8ZwUD/Hg4hsl7c8MdW0QzOvTSYh5DSENO97j7YJxWhfKfb1ttSeDaEvthnnFLeF3tvNNlrd0DO9nBKog5pV3tvFfPQgkbtin+GDGkGaUIisQjRqXAV/gj2aBkd2UgqiU+EXGTcvP5q+s= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2019 14:07:43.5096 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 91d6f7d6-1635-45ea-666a-08d6a49899a1 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB2375 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While stress testing the CAN interface on xilinx axi can in loopback mode getting message "write: no buffer space available" Increasing device tx queue length resolved the above mentioned issue. Signed-off-by: Appana Durga Kedareswara rao --- --> Network devices default tx_queue_len is 1000 but for socket can device it is 10 any reason for it?? drivers/net/can/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index c05e4d5..32bd5be 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c @@ -642,7 +642,7 @@ static void can_setup(struct net_device *dev) dev->mtu = CAN_MTU; dev->hard_header_len = 0; dev->addr_len = 0; - dev->tx_queue_len = 10; + dev->tx_queue_len = 500; /* New-style flags. */ dev->flags = IFF_NOARP; -- 2.7.4