All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Jay Vosburgh <fubar@us.ibm.com>
Cc: Christophe Devriese <Christophe.Devriese@eurid.eu>,
	netdev@vger.kernel.org
Subject: Re: Help with bugfix for bond active-backup mode + vlans
Date: Mon, 24 Jul 2006 10:58:54 -0700	[thread overview]
Message-ID: <44C50A5E.80009@candelatech.com> (raw)
In-Reply-To: <200607241749.k6OHn1hg030011@death.nxdomain.ibm.com>

Jay Vosburgh wrote:

> 	Another possibility would be to have __vlan_hwaccel_rx check the
> VLAN_DEV_INFO(skb->dev)->real_dev, and if that's a bonding device, apply
> the same logic found in skb_bond().  Or, if there's some way to ask the
> question "is dev a VLAN device?", then that same test could be put into
> skb_bond() and all of the packet suppression fru fru could stay there.

There is a flag in if.h to denote VLAN devices:

/* Private (from user) interface flags (netdevice->priv_flags). */
#define IFF_802_1Q_VLAN 0x1             /* 802.1Q VLAN device.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


  reply	other threads:[~2006-07-24 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 16:37 Help with bugfix for bond active-backup mode + vlans Christophe Devriese
2006-07-24 17:49 ` Jay Vosburgh
2006-07-24 17:58   ` Ben Greear [this message]
2006-07-24 21:25     ` Jay Vosburgh
2006-07-24 21:35       ` Ben Greear
2006-07-25  1:40         ` Jay Vosburgh

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=44C50A5E.80009@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=Christophe.Devriese@eurid.eu \
    --cc=fubar@us.ibm.com \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.