From: Stephen Hemminger <shemminger@osdl.org>
To: Jon Mason <jdmason@us.ibm.com>
Cc: netdev@oss.sgi.com
Subject: Re: [PATCH] Ethernet Bridging: Enable Hardware Checksumming
Date: Thu, 19 May 2005 13:33:33 -0700 [thread overview]
Message-ID: <20050519133333.07a992e6@dxpl.pdx.osdl.net> (raw)
In-Reply-To: <20050518235329.GA17946@us.ibm.com>
Here is a somewhat different patch from 2.6.12-rc4-bridge
http://developer.osdl.org/shemminger/patches/2.6.12-rc4-bridge/
The bridge doesn't need locking, or checksumming and can allow highdma
buffers; all of which are handled by net/core/dev.c if needed.
===================================================================
--- netem-2.6.12-rc4.orig/net/bridge/br_device.c
+++ netem-2.6.12-rc4/net/bridge/br_device.c
@@ -101,4 +99,6 @@ void br_dev_setup(struct net_device *dev
dev->tx_queue_len = 0;
dev->set_mac_address = NULL;
dev->priv_flags = IFF_EBRIDGE;
+ dev->features |= NETIF_F_SG | NETIF_F_NO_CSUM
+ | NETIF_F_HIGHDMA | NETIF_F_LLTX;
}
next prev parent reply other threads:[~2005-05-19 20:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-18 23:53 [PATCH] Ethernet Bridging: Enable Hardware Checksumming Jon Mason
2005-05-19 0:03 ` Nivedita Singhvi
2005-05-19 5:00 ` David S. Miller
2005-05-19 15:13 ` Nivedita Singhvi
2005-05-19 20:34 ` Stephen Hemminger
2005-05-19 2:41 ` Herbert Xu
2005-05-19 15:10 ` Nivedita Singhvi
2005-05-19 18:51 ` David S. Miller
2005-05-19 20:43 ` Nivedita Singhvi
2005-05-19 20:33 ` Stephen Hemminger [this message]
2005-05-19 21:48 ` David S. Miller
2005-05-19 23:23 ` Jon Mason
2005-05-19 23:36 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050519133333.07a992e6@dxpl.pdx.osdl.net \
--to=shemminger@osdl.org \
--cc=jdmason@us.ibm.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).