From: Ben Greear <greearb@candelatech.com>
To: "'netdev@oss.sgi.com'" <netdev@oss.sgi.com>
Subject: MAC-VLANS
Date: Tue, 05 Aug 2003 17:33:03 -0700 [thread overview]
Message-ID: <3F304CBF.6050902@candelatech.com> (raw)
In order to get MAC-VLANs to work, the only way I can see to make
it happen is to put a hook into dev.c in the:
int netif_receive_skb(struct sk_buff *skb)
method.
The hook looks like this, and immediately follows the
bridging code hook in the same method:
#if defined(CONFIG_MACVLAN) || defined(CONFIG_MACVLAN_MODULE)
if (skb->dev->macvlan_priv != NULL &&
macvlan_handle_frame_hook != NULL) {
if (handle_macvlan(skb) >= 0) {
/* consumed by mac-vlan...it would have been
* re-sent to this method with a different
* device...
*/
return 0;
}
else {
/* Let it fall through and be processed normally */
}
}
#endif
So, the question is: Will this feature be allowed to go in since it
needs this hook, regardless of other issues? If it's possible, I'll
break out the rest of the patch for inspection...
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next reply other threads:[~2003-08-06 0:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-06 0:33 Ben Greear [this message]
2003-08-06 3:40 ` MAC-VLANS David S. Miller
2003-08-06 4:10 ` MAC-VLANS Ben Greear
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=3F304CBF.6050902@candelatech.com \
--to=greearb@candelatech.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).