Message ID | 20201016065914.313573-1-fido_max@inbox.ru |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=hh8h=DX=vger.kernel.org=netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D9DEC433E7 for <netdev@archiver.kernel.org>; Fri, 16 Oct 2020 06:59:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 749B1207C4 for <netdev@archiver.kernel.org>; Fri, 16 Oct 2020 06:59:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=inbox.ru header.i=@inbox.ru header.b="KNTWF6dE"; dkim=pass (1024-bit key) header.d=inbox.ru header.i=@inbox.ru header.b="Zw/feNBF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394399AbgJPG7A (ORCPT <rfc822;netdev@archiver.kernel.org>); Fri, 16 Oct 2020 02:59:00 -0400 Received: from fallback10.mail.ru ([94.100.178.50]:44000 "EHLO fallback10.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391432AbgJPG7A (ORCPT <rfc822;netdev@vger.kernel.org>); Fri, 16 Oct 2020 02:59:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=VxtFqTzKn8D1XEyz/xBV/bsI+NnzNkxZyb+HkVyGK4o=; b=KNTWF6dEDXbtfWBM/7GO9OBHUkCcP0QZvaFwTwcS/jDJ7dGwN8fcCRHahu9GJu0MBfpWiUuZISiIbLG6t2WbpmerwrXzmoCu7XhtAnHnNOj4TiRNb2MdGowULnkc8DEaurgpL8XAE37ctOmWIqG90HjHDPNYexjWR7+3ADoaVkM=; Received: from [10.161.64.37] (port=45978 helo=smtp29.i.mail.ru) by fallback10.m.smailru.net with esmtp (envelope-from <fido_max@inbox.ru>) id 1kTJhY-0004F4-Gw for netdev@vger.kernel.org; Fri, 16 Oct 2020 09:58:56 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=VxtFqTzKn8D1XEyz/xBV/bsI+NnzNkxZyb+HkVyGK4o=; b=Zw/feNBFIm4JCWPG6FXpQDGH5RVVYMp+E5SLT6LbW/9f9zqs2JIR2j2mcbaBQTb1y084u8KPlhbfHsMGyqcINWXGPISTBjx93gkuW755/qCu490G1xKGYkCA7phsthZecNrl5cO1vMP3s8wW4K/mFPor2tPP29jyXXK/7FtHdQk=; Received: by smtp29.i.mail.ru with esmtpa (envelope-from <fido_max@inbox.ru>) id 1kTJhU-0000GF-80; Fri, 16 Oct 2020 09:58:52 +0300 From: Maxim Kochetkov <fido_max@inbox.ru> To: netdev@vger.kernel.org Cc: Vladimir Oltean <vladimir.oltean@nxp.com>, Horatiu Vultur <horatiu.vultur@microchip.com>, Florian Fainelli <f.fainelli@gmail.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, "David S . Miller" <davem@davemloft.net>, Maxim Kochetkov <fido_max@inbox.ru> Subject: [PATCH v3 1/2] net: dsa: seville: the packet buffer is 2 megabits, not megabytes Date: Fri, 16 Oct 2020 09:59:14 +0300 Message-Id: <20201016065914.313573-1-fido_max@inbox.ru> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9E98D729206725230133C3A831769128DEDDD1D80DDE91E0E182A05F538085040E60634D3AE8201A0F435C1EB397470C8FBE2ADC444CD42768F923A341B0FFF2F X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE782A779A89F7D69B2C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE742D9BD90C58D50E0EA1F7E6F0F101C674E70A05D1297E1BBC6CDE5D1141D2B1C353025C494B666A6A8663D6A7221167F3EFAEFC720026E679FA2833FD35BB23D9E625A9149C048EE1E561CDFBCA1751F2CC0D3CB04F14752D2E47CDBA5A96583BD4B6F7A4D31EC0BB23A54CFFDBC96A8389733CBF5DBD5E9D5E8D9A59859A8B64854413538E1713FCC7F00164DA146DA6F5DAA56C3B73B23EB494CE229B2136F3AA81AA40904B5D9A18204E546F3947CCE4AEF6198D2632603F1AB874ED890284AD6D5ED66289B5218080C068C56568E6136E347CC761E07725E5C173C3A84C3B051C509E7C27A99BA3038C0950A5D36B5C8C57E37DE458B0B4866841D68ED3567F23339F89546C55F5C1EE8F4F765FC15B11194B854C5ED75ECD9A6C639B01BBD4B6F7A4D31EC0BC0CAF46E325F83A522CA9DD8327EE4931B544F03EFBC4D576B0B6A749F1976AFC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-C8649E89: FE99C59221A9F1F544879E594616CB0889E16117550FEF6DFD2A454D30892B09E3D94FCD835E4469 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojYVZa6UGX9HQtF9g4mlkd5Q== X-Mailru-Sender: 11C2EC085EDE56FA9C10FA2967F5AB24CE7D6F653F9D64CE7AB2BA7555FE3782EF0017A7BE1B9352EE9242D420CFEBFD3DDE9B364B0DF2891A624F84B2C74EDA4239CF2AF0A6D4F80DA7A0AF5A3A8387 X-Mras: Ok X-7564579A: B8F34718100C35BD X-77F55803: 6242723A09DB00B4033B2E76A2A2E7F3D7C40938B5608F303AAA720A31B3BD0D049FFFDB7839CE9EA691736600A9A48A416A98EC6C0478BCAAC4C05BD1F04FE21464307D30C7BD5E X-7FA49CB5: 0D63561A33F958A51B6A9E66D25412D4C3CF72E23D9875AF0C3273428A4AB2388941B15DA834481FA18204E546F3947CDF046C1992EC065EF6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8B2EE5AD8F952D28FBA471835C12D1D977C4224003CC8364765529D5D60078C743D81D268191BDAD3DC09775C1D3CA48CFF6881EAFA8B7E635BA3038C0950A5D36C8A9BA7A39EFB7668729DE7A884B61D135872C767BF85DA29E625A9149C048EE1B544F03EFBC4D576B0B6A749F1976AF4AD6D5ED66289B524E70A05D1297E1BB35872C767BF85DA227C277FBC8AE2E8B15B11194B854C5ED75ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57285124B2A10EEC6C00306258E7E6ABB4E4A6367B16DE6309 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojYVZa6UGX9HRhqhrTged8Xg== X-Mailru-MI: 800 X-Mailru-Sender: A5480F10D64C9005DD084BBBA291661DA3189662269F43EFF79CC66967A36819C8217CE68A9CF838C099ADC76E806A99D50E20E2BC48EF5A30D242760C51EA9CEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
[v3,1/2] net: dsa: seville: the packet buffer is 2 megabits, not megabytes
|
expand
|
diff --git a/drivers/net/dsa/ocelot/seville_vsc9953.c b/drivers/net/dsa/ocelot/seville_vsc9953.c index 9e9fd19e1d00..e2cd49eec037 100644 --- a/drivers/net/dsa/ocelot/seville_vsc9953.c +++ b/drivers/net/dsa/ocelot/seville_vsc9953.c @@ -1010,7 +1010,7 @@ static const struct felix_info seville_info_vsc9953 = { .vcap_is2_keys = vsc9953_vcap_is2_keys, .vcap_is2_actions = vsc9953_vcap_is2_actions, .vcap = vsc9953_vcap_props, - .shared_queue_sz = 2048 * 1024, + .shared_queue_sz = 256 * 1024, .num_mact_rows = 2048, .num_ports = 10, .mdio_bus_alloc = vsc9953_mdio_bus_alloc,