Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2005 08:33:32 -0400
From:      gnn@freebsd.org
To:        Sebastien Petit <spe@phear.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: SIOCGIFMEDIA problems
Message-ID:  <m2wtq3cnkz.wl%gnn@neville-neil.com>
In-Reply-To: <20050513111013.41905e73.spe@phear.org>
References:  <20050513111013.41905e73.spe@phear.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Fri, 13 May 2005 11:10:13 +0200,
Sebastien Petit wrote:
> 
> Hi -net hackers,
> 
> A little question about SIOCGIFMEDIA ioctl:
>
> Somebody reports me that some interfaces (bge / em but anothers
> perhaps) seem to discard packet(s) during SIOCGIFMEDIA ioctl, Is it
> true and why ?

At least in the case of the em driver it's because eventually
em_init_locked() is called which re-initializes the whole device,
including the memory buffers.  It is unlikely that packets in the
buffers would survive that :-)  I suspect the same is true of bge.

Later,
George



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2wtq3cnkz.wl%gnn>