From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Haas Subject: Re: can: make the number of echo skb's configurable Date: Fri, 09 Oct 2009 10:28:04 +0200 Message-ID: <4ACEF414.6050000@ems-wuensche.com> References: <4ACEEFA6.1000904@grandegger.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: SocketCAN Core Mailing List , Linux Netdev List To: Wolfgang Grandegger Return-path: In-Reply-To: <4ACEEFA6.1000904-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wolfgang Grandegger schrieb: > This patch allows the CAN controller driver to define the number of echo > skb's used for the local loopback (echo), as suggested by Kurt Van > Dijck, with the function: > > struct net_device *alloc_candev(int sizeof_priv, > unsigned int echo_skb_max); > > The CAN drivers have been adapted accordingly. For the ems_usb driver, > as suggested by Sebastian Haas, the number of echo skb's has been > increased to 10, which improves the transmission performance a lot. > > Signed-off-by: Wolfgang Grandegger > Signed-off-by: Kurt Van Dijck Acked-by: Sebastian Haas I added my "Acked-by" for the change on ems_usb.c MAX_TX_URBS. Sebastan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrO9A8ACgkQpqRB8PJG7XxrdACfaM8q9Yb+EI3v/yCP74NU0Taz VowAn1lgWPsWramFos+WlFZ4UFMcEMi7 =gwCy -----END PGP SIGNATURE----- -- EMS Dr. Thomas Wuensche e.K. Sonnenhang 3 85304 Ilmmuenster HRA Neuburg a.d. Donau, HR-Nr. 70.106 Phone: +49-8441-490260 Fax : +49-8441-81860 http://www.ems-wuensche.com