public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz@Voltaire•com>
To: Jay Vosburgh <fubar@us•ibm.com>
Cc: netdev@vger•kernel.org, kaber@trash•net
Subject: Re: more findings/questions on vlans/bonds
Date: Sun, 26 Apr 2009 11:21:22 +0300	[thread overview]
Message-ID: <49F41982.4050608@Voltaire.com> (raw)
In-Reply-To: <13724.1240520690@death.nxdomain.ibm.com>

Jay Vosburgh wrote:
>> $ cat /sys/class/net/eth0.4001/carrier
>> cat: /sys/class/net/eth0.4001/carrier: Invalid argument

>         I suspect the "carrier: Invalid argument" response you describe
> above is a result of the show_carrier function in net-sysfs.c, which
> returns EINVAL if the device is not netif_running.  If the device (vlan
> or not) is running, the carrier is returned.

Yes, I see now that this is indeed the case with the sysfs code.

> So, here's a patch with a description.  This resolves the
> bonding problem for me

many thanks for doing this patch

Or.

  parent reply	other threads:[~2009-04-26  8:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07  9:14 more findings/questions on vlans/bonds Or Gerlitz
2009-04-07  9:16 ` Or Gerlitz
2009-04-07 14:13 ` Jay Vosburgh
2009-04-16 14:17   ` Or Gerlitz
2009-04-23 21:04 ` Jay Vosburgh
2009-04-24 15:22   ` Patrick McHardy
2009-04-26  8:21   ` Or Gerlitz [this message]
2009-04-26 14:14   ` Or Gerlitz

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=49F41982.4050608@Voltaire.com \
    --to=ogerlitz@voltaire$(echo .)com \
    --cc=fubar@us$(echo .)ibm.com \
    --cc=kaber@trash$(echo .)net \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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