[Bug 287369] Surprise removal of network device can cause crash in IPv6 network stack

2025-06-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287369 Mark Linimon changed: What|Removed |Added Keywords||crash Assignee|b...@freeb

[Bug 271366] Invoking IPv6 network device address event may sleep with the following non-sleepable locks held

2024-07-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271366 Mark Johnston changed: What|Removed |Added CC||ma...@freebsd.org Resoluti

[Bug 271366] Invoking IPv6 network device address event may sleep with the following non-sleepable locks held

2024-05-04 Thread bugzilla-noreply
from Ricardo Branco --- Same here on QEMU VM: Invoking IPv6 network device address event may sleep with the following non-sleepable locks held: exclusive sleep mutex vtnet0-rx0 (vtnet0-rx0) r = 0 (0xf80002988600) locked @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2212 stack backtrace: #0

Re: About IFLIB compliant network device driver development

2023-08-31 Thread Vincenzo Maffione
Hi, I think it's pretty common nowadays to have NICs with completion rings/queues. It is definitely appropriate to implement such drivers with iflib, and indeed iflib provides separate callbacks for updating the TX/RX "submission" and "completion" queues: - ift_txd_encap: submit a packet to a

About IFLIB compliant network device driver development

2023-08-30 Thread PAVEL POPA
I have a NIC (a SmartNIC actually) for which I have to implement a driver, which in addition to RX and TX rings exposes also completion CMPT rings. Due to this additional complication (the CMPT rings), I'm not sure how appropriate it is to implement such a driver via the IFLIB framework. Does anyon

[Bug 271366] Invoking IPv6 network device address event may sleep with the following non-sleepable locks held

2023-08-27 Thread bugzilla-noreply
ifconfig_DEFAULT="DHCP inet6 accept_rtadv" $ dmesg [...] lo0: link state changed to UP xn0: 2 link states coalesced xn0: link state changed to UP Invoking IPv6 network device address event may sleep with the following non-sleepable locks held: exclusive sleep mutex xnrx_2 (netfront receive l

[Bug 271366] Invoking IPv6 network device address event may sleep with the following non-sleepable locks held

2023-05-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271366 Mina Galić changed: What|Removed |Added CC||free...@igalic.co --- Comment #1 from

[Bug 271366] Invoking IPv6 network device address event may sleep with the following non-sleepable locks held

2023-05-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271366 Piotr Kubaj changed: What|Removed |Added Assignee|b...@freebsd.org|n...@freebsd.org -- You are receivi

Re: Default network device

2018-04-20 Thread Julian Elischer
On 25/3/18 12:21 am, Grzegorz Junka wrote: Hi, In my laptop I have both, wlan0 and ue0 (ethernet). When both are connected, FreeBSD chooses to use wlan0 by default. Only when I disable wlan0 it switches to use ue0. Since ue0 is ethernet it's obviously much faster than wlan0. It's decided by

Re: Default network device

2018-03-30 Thread Harry Schmalzbauer
Bezüglich Grzegorz Junka's Nachricht vom 24.03.2018 17:21 (localtime): > Hi, > > In my laptop I have both, wlan0 and ue0 (ethernet). When both are > connected, FreeBSD chooses to use wlan0 by default. Only when I > disable wlan0 it switches to use ue0. Since ue0 is ethernet it's > obviously much f

Default network device

2018-03-24 Thread Grzegorz Junka
Hi, In my laptop I have both, wlan0 and ue0 (ethernet). When both are connected, FreeBSD chooses to use wlan0 by default. Only when I disable wlan0 it switches to use ue0. Since ue0 is ethernet it's obviously much faster than wlan0. Why FreeBSD is selecting wlan rather than ue? How to config

Re: [JNPR] Proposal for changes to network device drivers and network stack (RFC)

2013-01-22 Thread Steve Kiernan
On Sun, 20 Jan 2013 10:56:24 +1100 Peter Jeremy wrote: > On 2013-Jan-17 14:38:06 -0500, "Stephen J. Kiernan" > wrote: > >The patch also includes moving zlib.[ch] and zlibutil.h out of net and > >into sys/libkern (for the .c) and sys/sys (for the .h). > > Good. > > >It really doesn't make muc

Re: [JNPR] Proposal for changes to network device drivers and network stack (RFC)

2013-01-19 Thread Peter Jeremy
On 2013-Jan-17 14:38:06 -0500, "Stephen J. Kiernan" wrote: >The patch also includes moving zlib.[ch] and zlibutil.h out of net and >into sys/libkern (for the .c) and sys/sys (for the .h). Good. >It really doesn't make much sense for that code to live in net, >especially when so many things whi

Re: Proposal for changes to network device drivers and network stack (RFC)

2013-01-17 Thread Steve Kiernan
On Fri, 18 Jan 2013 00:07:06 +0100 Damien Fleuriot wrote: > > On 17 Jan 2013, at 22:53, Steve Kiernan wrote: > > > On Thu, 17 Jan 2013 22:11:27 +0100 > > Andre Oppermann wrote: > > > >> On 17.01.2013 20:23, Stephen J. Kiernan wrote: > >>> The network stack as a module patch has been separate

Re: Proposal for changes to network device drivers and network stack (RFC)

2013-01-17 Thread Damien Fleuriot
On 17 Jan 2013, at 22:53, Steve Kiernan wrote: > On Thu, 17 Jan 2013 22:11:27 +0100 > Andre Oppermann wrote: > >> On 17.01.2013 20:23, Stephen J. Kiernan wrote: >>> The network stack as a module patch has been separated out and can be found >>> in the following location: >>> http://people.fre

Re: Proposal for changes to network device drivers and network stack (RFC)

2013-01-17 Thread Steve Kiernan
On Thu, 17 Jan 2013 22:11:27 +0100 Andre Oppermann wrote: > On 17.01.2013 20:23, Stephen J. Kiernan wrote: > > The network stack as a module patch has been separated out and can be found > > in the following location: > > http://people.freebsd.org/~marcel/Juniper/netstack-v2.diff > > This is qu

Re: Proposal for changes to network device drivers and network stack (RFC)

2013-01-17 Thread Andre Oppermann
On 17.01.2013 20:23, Stephen J. Kiernan wrote: The network stack as a module patch has been separated out and can be found in the following location: http://people.freebsd.org/~marcel/Juniper/netstack-v2.diff This is quite some work and a lot of changes which will a moment to review. Can you

Re: [JNPR] Proposal for changes to network device drivers and network stack (RFC)

2013-01-17 Thread Stephen J. Kiernan
On Jan 17, 2013 14:23, Stephen J. Kiernan wrote: The network stack as a module patch has been separated out and can be found in the following location: http://people.freebsd.org/~marcel/Juniper/netstack-v2.diff Details about these changes: I also forgot to mention in the previous e-mail. The

Re: Proposal for changes to network device drivers and network stack (RFC)

2013-01-17 Thread Stephen J. Kiernan
The network stack as a module patch has been separated out and can be found in the following location: http://people.freebsd.org/~marcel/Juniper/netstack-v2.diff Details about these changes: 1. Network stack module support infrastructure kern/{kern_netstack.c,netstack_if.m,netstack.h}

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-11-03 Thread Julian Main
> > > I renamed the interface implementation from mumble_ddi.h to > if_device.[ch] and put a diff here: >http://people.freebsd.org/~marcel/Juniper/if_device.diff Looks reasonable to me. Gives some protection from API change But to really make use of this you could have driver specific meth

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-11-03 Thread Marcel Moolenaar
On Sep 5, 2012, at 1:16 PM, George Neville-Neil wrote: > One more note. Can you break the patches down into more bite sized pieces? > They're hard > to review as is. Following up finally. Let's focus on the device driver interface. I renamed the interface implementation from mumble_ddi.h to

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-09-21 Thread Mikolaj Golub
On Fri, Sep 07, 2012 at 01:28:16AM -0700, Anuranjan Shukla wrote: > Hi George, > Thanks for taking a look. Some answers/comments below. > > > > >> Building FreeBSD without the network stack (network stack as a module) > >> -- > >>

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-09-21 Thread Anuranjan Shukla
Hi George, On 9/5/12 1:15 PM, "George Neville-Neil" wrote: > >> Building FreeBSD without the network stack (network stack as a module) >> -- >> Today, not compiling networking stack related files in the kernel breaks >> the kerne

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-09-21 Thread Anuranjan Shukla
On 9/7/12 8:48 AM, "Julian Elischer" wrote: struct socket { int so_fibnum; /* routing domain for this socket */ uint32_t so_user_cookie; + u_int so_oqueue; /* manage send prioritizing based on application needs */ + u_short so_lrid;

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-09-07 Thread gnn
At Fri, 7 Sep 2012 01:28:16 -0700, Anuranjan Shukla wrote: > > > > > >> struct socket { > >> > >>int so_fibnum; /* routing domain for this socket */ > >>uint32_t so_user_cookie; > >> + u_int so_oqueue; /* manage send prioritizing based on > >>application > >> needs */ > >

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-09-07 Thread Julian Elischer
On 9/7/12 4:28 PM, Anuranjan Shukla wrote: Hi George, Thanks for taking a look. Some answers/comments below. Building FreeBSD without the network stack (network stack as a module) -- This would be interesting for many reasons

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-09-07 Thread Anuranjan Shukla
Hi George, Thanks for taking a look. Some answers/comments below. > >> Building FreeBSD without the network stack (network stack as a module) >> -- >> >This would be interesting for many reasons, and I think it would be a good >co

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-09-05 Thread George Neville-Neil
One more note. Can you break the patches down into more bite sized pieces? They're hard to review as is. Best, George ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "fre

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-09-05 Thread George Neville-Neil
I think there is already some agreement about these proposals, at least there was in the room, now to get some on net@. > The changes we propose are (the code/diffs etc are indicated > at the end of this email): > > - Network Device Drivers > - Building FreeBSD kernel without net

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-08-31 Thread Marcel Moolenaar
On Aug 28, 2012, at 10:24 AM, PseudoCylon wrote: > Wouldn't using prepossessor macro or hooking be more flexible? (Could > support multiple functionality.) Macros make it impossible to treat ifnet as an opaque type. As such, it won't be possible to havr a single pre-compiled driver that can wor

Re: Proposal for changes to network device drivers and network stack (RFC)

2012-08-28 Thread PseudoCylon
> -- > > Message: 2 > Date: Fri, 24 Aug 2012 21:11:45 -0700 > From: Anuranjan Shukla > Subject: Proposal for changes to network device drivers and network > stack (RFC) > To: "freebsd-net@freebsd.org" > Message-ID: &g

Proposal for changes to network device drivers and network stack (RFC)

2012-08-24 Thread Anuranjan Shukla
ndicated that interested folks are welcome to chat with him about this stuff during the summit. The changes we propose are (the code/diffs etc are indicated at the end of this email): - Network Device Drivers - Building FreeBSD kernel without network stack, network stack as a module - Changes to mbu

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Brooks Davis
On Thu, Jan 15, 2009 at 08:07:35PM +0200, Yony Yossef wrote: > > Eygene Ryabinkin wrote: > > > ... > > > I wanted to stress only one point: simple 'kldunload ' and > > > 'kldload ' makes devices to flip for Yony's case. > > This means > > > that unless some PCI hotplug stuff is here (which I don't

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Yony Yossef
> Eygene Ryabinkin wrote: > > ... > > I wanted to stress only one point: simple 'kldunload ' and > > 'kldload ' makes devices to flip for Yony's case. > This means > > that unless some PCI hotplug stuff is here (which I don't > believe to > > be present, because no physical cards are touched and th

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Bruce M. Simpson
Eygene Ryabinkin wrote: ... I wanted to stress only one point: simple 'kldunload ' and 'kldload ' makes devices to flip for Yony's case. This means that unless some PCI hotplug stuff is here (which I don't believe to be present, because no physical cards are touched and there is actually a small

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Yony Yossef
> Thu, Jan 15, 2009 at 01:15:53PM +0200, Yony Yossef wrote: > > > You're using your own driver, aren't you? If yes, could you show > > > your device_method_t structure and the corresponding identify, > > > probe, attach and detach routines? You're setting the > unit numbers > > > via 'if_initname

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Eygene Ryabinkin
Bruce, good day. Thu, Jan 15, 2009 at 03:01:37PM +, Bruce M. Simpson wrote: > Bruce M. Simpson wrote: > > In your case I'm not sure why your two cards would flip order. Could > > it be how your BIOS and hardware set up the PCI IDSEL lines at boot? > > If this is the case on your system, then

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Bruce M. Simpson
Yony, Bruce M. Simpson wrote: And how come the unit number is given an arbitrary value? Is there a good reason for that? ... In your case I'm not sure why your two cards would flip order. Could it be how your BIOS and hardware set up the PCI IDSEL lines at boot? If this is the case on

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Bruce M. Simpson
Yony Yossef wrote: Thanks for the explanation. So there's no way to determine this in advance.. I must build a script that contains my own mapping between MAC addresses and the wanted interface names and run it after each driver load, rename the interfaces if necessary. It seems quite wrong,

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Eygene Ryabinkin
Thu, Jan 15, 2009 at 01:15:53PM +0200, Yony Yossef wrote: > > You're using your own driver, aren't you? If yes, could you > > show your device_method_t structure and the corresponding > > identify, probe, attach and detach routines? You're setting > > the unit numbers via 'if_initname(ifp, dev

RE: howto determine network device unit number? device.hints?

2009-01-15 Thread Yony Yossef
reebsd-questi...@freebsd.org > Subject: Re: howto determine network device unit number? device.hints? > > Yony, good day. > > Thu, Jan 15, 2009 at 11:26:34AM +0200, Yony Yossef wrote: > > All I'm doing is unloading and reloading the driver. > > Unit numbers change an

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Mykola Dzham
H.fazaeli wrote: > >for example, say you have 2 interface em0 and em1 which >you like to swap their minor numbers: >ifconfig em0 name tmp >ifconfig em1 name em0 >ifconfig em0 name em1 >or to assign cisco-like names to you interfaces: >ifconfig xl0 name fastEthernet0 >

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Olivier Nicole
Hi, Sorry to jump in but... > Problem is, this unit number is not constant and changing arbitrarily every > time I reload the driver (card A unit number=0 & card B un=1 or the other > way around). Since I have been using FreeBSD, the NIC had always been given the same unit number (that is, unles

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Eygene Ryabinkin
Yony, good day. Thu, Jan 15, 2009 at 11:26:34AM +0200, Yony Yossef wrote: > All I'm doing is unloading and reloading the driver. > Unit numbers change and it makes my automatic subnet configuration > (/etc/rc.conf) assign bad IPs. You're using your own driver, aren't you? If yes, could you show

RE: howto determine network device unit number? device.hints?

2009-01-15 Thread Yony Yossef
> Yony Yossef wrote: > > Thanks for the explanation. > > > > So there's no way to determine this in advance.. > > > What do you mean by 'in advance'? Assuming a fixed hardware > configuration, when the kernel is loaded, you know all the > interface names and can rename them, i.e., in rc.lo

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread H.fazaeli
ssef Cc: freebsd-net@freebsd.org; freebsd-questi...@freebsd.org Subject: Re: howto determine network device unit number? device.hints? for example, say you have 2 interface em0 and em1 which you like to swap their minor numbers: ifconfig em0 name tmp ifconfig em1 name em0 ifconfig em0 name em1 or to ass

RE: howto determine network device unit number? device.hints?

2009-01-15 Thread Yony Yossef
me of the interfaces. Yony > > > > > Yony > > > > > > > > _ > > > > From: H.fazaeli [mailto:faza...@sepehrs.com] > > Sent: Thursday, January 15, 2009 10:26 AM > > To: Yony Yossef > > Cc: freebsd-net@freebsd.o

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Julian Elischer
hat's left. Yony _ From: H.fazaeli [mailto:faza...@sepehrs.com] Sent: Thursday, January 15, 2009 10:26 AM To: Yony Yossef Cc: freebsd-net@freebsd.org; freebsd-questi...@freebsd.org Subject: Re: howto determine network device unit number? device.hints? for example, say you have 2 interf

RE: howto determine network device unit number? device.hints?

2009-01-15 Thread Yony Yossef
Re: howto determine network device unit number? device.hints? for example, say you have 2 interface em0 and em1 which you like to swap their minor numbers: ifconfig em0 name tmp ifconfig em1 name em0 ifconfig em0 name em1 or to assign cisco-like names to you interfaces: ifconfig xl0 name fastEthernet0

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread H.fazaeli
Liss Subject: Re: howto determine network device unit number? device.hints? you may not change unit numbers as they are strictly controlled by kernel. However, on freebsd 5.3+, you may use 'ifconfig name ' to achieve the same affect Sorry, I don't understand the usage of ifconfi

RE: howto determine network device unit number? device.hints?

2009-01-14 Thread Yony Yossef
> -Original Message- > From: H.fazaeli [mailto:faza...@sepehrs.com] > Sent: Wednesday, January 14, 2009 6:24 PM > To: Yony Yossef > Cc: freebsd-net@freebsd.org; freebsd-questi...@freebsd.org; > Eitan Shefi; Oleg Kats; Liran Liss > Subject: Re: howto determin

RE: howto determine network device unit number? device.hints?

2009-01-14 Thread Yony Yossef
> > you may not change unit numbers as they are strictly > controlled by kernel. > However, on freebsd 5.3+, you may use 'ifconfig name ' > to achieve the same affect > Sorry, I don't understand the usage of ifconfig you suggested and the effect it will cause. Can you please explain it? Yony >

Re: howto determine network device unit number? device.hints?

2009-01-14 Thread H.fazaeli
you may not change unit numbers as they are strictly controlled by kernel. However, on freebsd 5.3+, you may use 'ifconfig name ' to achieve the same affect Yony Yossef wrote: Hi, I would like to determine the unit number of my network cards, e.g. make the device on pci0:16 be assigned every

howto determine network device unit number? device.hints?

2009-01-14 Thread Yony Yossef
Hi, I would like to determine the unit number of my network cards, e.g. make the device on pci0:16 be assigned every time with unit number 0 and pci0:19 with unit number 1. Is it done by /boot/device.hints? if so, how? My cards are: mtn...@pci0:19:0:0: class=0x02 card=0x001715b3 chip=0x

Using device.hints to determine network device unit number

2009-01-13 Thread Yehonatan Yossef
Hi, I would like to determine the unit number of my network cards, make the device on pci0:16 appear always as mtnic0 and pci0:9 appear always as mtnic1. # pciconf -l | grep mtnic mtn...@pci0:19:0:0: class=0x02 card=0x001715b3 chip=0x636815b3 rev=0xa0 hdr=0x00 mtn...@pci0:16:0:0: c

Using device.hints to determine network device unit number

2009-01-13 Thread Yony Yossef
Hi, I would like to determine the unit number of my network cards, make the device on pci0:16 appear always as mtnic0 and pci0:9 appear always as mtnic1. # pciconf -l | grep mtnic mtn...@pci0:19:0:0: class=0x02 card=0x001715b3 chip=0x636815b3 rev=0xa0 hdr=0x00 mtn...@pci0:16:0:0: c

Re: Network device driver KPI/ABI and TOE

2008-02-18 Thread Bjoern A. Zeeb
On Sun, 17 Feb 2008, Kip Macy wrote: Hi, You might want to check out sys/modules/cxgb/tom/Makefile. ha, so that file is not compiled at all. Thanks for pointing this out. Is there a reason to keep it in cvs then? I guess there is but it's not obvious to me;-) So basically what does that mean

Re: Network device driver KPI/ABI and TOE

2008-02-17 Thread Kip Macy
You might want to check out sys/modules/cxgb/tom/Makefile. -Kip On Feb 17, 2008 1:24 PM, Bjoern A. Zeeb <[EMAIL PROTECTED]> wrote: > On Sun, 6 Jan 2008, Robert Watson wrote: > > Hi, > > [cutting a long mail short and randomly replying;-)] > > I came across dev/cxgb/ulp/tom/cxgb_tcp_subr.c vs. ne

Re: Network device driver KPI/ABI and TOE

2008-02-17 Thread Bjoern A. Zeeb
On Sun, 6 Jan 2008, Robert Watson wrote: Hi, [cutting a long mail short and randomly replying;-)] I came across dev/cxgb/ulp/tom/cxgb_tcp_subr.c vs. netinet/tcp_subr.c and I am a bit worried with the way things are done atm. For those functions copied over there are only changes like: -

Re: Network device driver KPI/ABI and TOE

2008-01-10 Thread gnn
At Sun, 6 Jan 2008 13:47:24 + (GMT), rwatson wrote: > > > There's also the opportunity to think about whether it's possible to > harden things in such a ways as to not give up our flexibility to > keep maintaining and improving TCP (and other related subsystems), > yet improving the quality o

Re: Network device driver KPI/ABI and TOE

2008-01-10 Thread Kip Macy
On Jan 10, 2008 2:50 PM, <[EMAIL PROTECTED]> wrote: > At Sun, 6 Jan 2008 13:47:24 + (GMT), > rwatson wrote: > > > > > > There's also the opportunity to think about whether it's possible to > > harden things in such a ways as to not give up our flexibility to > > keep maintaining and improving

Re: Network device driver KPI/ABI and TOE

2008-01-06 Thread Jack Vogel
On Jan 6, 2008 5:47 AM, Robert Watson <[EMAIL PROTECTED]> wrote: ... > My proposal, and this is really a proposal to drive discussion as much as a > proposal for a policy, is that the internal TCP data structures exported via > the TOE interfaces and accessed by TOE device drivers *not* be conside

Re: Network device driver KPI/ABI and TOE

2008-01-06 Thread Robert Watson
h are already precluded by the ABI/KPI policy, since knowledge of the packet header layout is compiled into all network device drivers. What I'm more concerned about is the new exposure of internal data structures and algorithms, and a resulting freeze of those data structures and algorithms

Re: Network device driver KPI/ABI and TOE

2008-01-06 Thread Julian Elischer
Robert Watson wrote: There's also the opportunity to think about whether it's possible to harden things in such a ways as to not give up our flexibility to keep maintaining and improving TCP (and other related subsystems), yet improving the quality of life for a third party TOE driver maint

Network device driver KPI/ABI and TOE

2008-01-06 Thread Robert Watson
about how we want to treat the TOE interface with respect to third party device driver support, and more specifically to propose that we not consider the TOE interface to be part of our stable network device driver KPI/ABI once it appears in a RELENG_X branch. The background: in the last few Fr

Re: SIMPLEX network device?

2007-02-04 Thread Remko Lodder
Ivan Voras wrote: I've noticed in ifconfig report for a gigabit NIC based on Realtek 8169S chip that it has the SIMPLEX flag set. What does it mean in practice, considering the media type is (correctly) autonegotiated for 1000baseTX full-duplex? Hello, One of the first hits on google showed:

SIMPLEX network device?

2007-02-03 Thread Ivan Voras
I've noticed in ifconfig report for a gigabit NIC based on Realtek 8169S chip that it has the SIMPLEX flag set. What does it mean in practice, considering the media type is (correctly) autonegotiated for 1000baseTX full-duplex? signature.asc Description: OpenPGP digital signature

network device

2003-07-08 Thread diego maradona
Dear all, There is a way to install a 2 network device with fault tolerance(active-standby) or with load-balancing( virtual ip address)? thanks in advance yqyq22 _ MSN Extra Storage: piena libertà di esprimersi e comunicare http

network device drivers and information leak?

2003-01-07 Thread Jacques A. Vidrine
Might FreeBSD suffer from this issue? Do all our drivers pad packets with zero octets properly? http://www.kb.cert.org/vuls/id/412115 http://www.atstake.com/research/advisories/2003/atstake_etherleak_report.pdf Cheers, -- Jacques A. Vidrine <[EMAIL PROTECTED]> http://www.celabo.org/ NTT

Re: potential infinite loop in network device drivers

2001-02-09 Thread Garrett Wollman
< said: > This is similar to the way most VxWorks network drivers operate: Right -- in fact, as I recall, Mogul's paper mentions that his solution is very similar to the way many RTOSes operate. -GAWollman To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the

RE: potential infinite loop in network device drivers

2001-02-09 Thread Clark Jarvis
> it occurs to me that there is a potential infinite loop in > most if not all ethernet drivers. Basically, on a > receive interrupt, such drivers loop around the status word > until the receive queue is drained. > > If the body of the loop takes approx the same as > the packet interarrival time,

Re: potential infinite loop in network device drivers

2001-02-09 Thread Wes Peters
Garrett Wollman wrote: > > < said: > > > it occurs to me that there is a potential infinite loop in > > most if not all ethernet drivers. Basically, on a > > receive interrupt, such drivers loop around the status word > > until the receive queue is drained. > > One possible right way to deal wi

Re: potential infinite loop in network device drivers

2001-02-08 Thread Julian Elischer
Mark Peek wrote: > > At 9:09 PM -0500 2/8/01, Garrett Wollman wrote: > >One possible right way to deal with this is to get rid of the > >two-level interrupt scheme (for fast interfaces at least) and push the > >packets all the way through the network stack. This will ensure that > >if packets ar

Re: potential infinite loop in network device drivers

2001-02-08 Thread Mark Peek
At 9:09 PM -0500 2/8/01, Garrett Wollman wrote: >One possible right way to deal with this is to get rid of the >two-level interrupt scheme (for fast interfaces at least) and push the >packets all the way through the network stack. This will ensure that >if packets are arriving faster than we can

potential infinite loop in network device drivers

2001-02-08 Thread Garrett Wollman
< said: > it occurs to me that there is a potential infinite loop in > most if not all ethernet drivers. Basically, on a > receive interrupt, such drivers loop around the status word > until the receive queue is drained. One possible right way to deal with this is to get rid of the two-level int

potential infinite loop in network device drivers

2001-02-08 Thread Luigi Rizzo
Hi, it occurs to me that there is a potential infinite loop in most if not all ethernet drivers. Basically, on a receive interrupt, such drivers loop around the status word until the receive queue is drained. If the body of the loop takes approx the same as the packet interarrival time, you migh