Re: How to run script on network address change?

2021-06-20 Thread Ian Lepore
On Sun, 2021-06-20 at 16:52 +0300, Rozhuk Ivan wrote: > Hi! > > > I have FreeBSD 13@amd64 router with DHCP client on uplink. > > How to run script on IP address change? > > > I do not see events from devd, only: > !system=IFNET subsystem=em3 type=LINK_DOWN > !system=IFNET subsystem=em3 type=LI

Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-12 Thread Ian Lepore
On Sun, 2019-05-12 at 10:45 -0700, Rodney W. Grimes wrote: > > 12.05.2019 8:21, Warner Losh wrote: > > > > > >> I've posted a review to remove obsolete 10 and 10/100 > > > Ethernet drivers > > > >> as previous approved in FCP-101. > > > >> The following drivers are slated for > > >

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Ian Lepore
On Thu, 2018-10-04 at 11:58 -0600, Warner Losh wrote: > On Thu, Oct 4, 2018 at 11:47 AM Ian Lepore wrote: > > > > > On Thu, 2018-10-04 at 11:38 -0600, Warner Losh wrote: > > > > > > On Thu, Oct 4, 2018 at 11:26 AM Ian Lepore > > > wrote: > >

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Ian Lepore
On Thu, 2018-10-04 at 11:38 -0600, Warner Losh wrote: > On Thu, Oct 4, 2018 at 11:26 AM Ian Lepore wrote: > > > > > On Thu, 2018-10-04 at 10:21 -0600, Warner Losh wrote: > > > > > > On Thu, Oct 4, 2018 at 10:15 AM Michelle Sullivan > > > wrote

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Ian Lepore
On Thu, 2018-10-04 at 10:21 -0600, Warner Losh wrote: > On Thu, Oct 4, 2018 at 10:15 AM Michelle Sullivan > wrote: > > > > > tech-lists wrote: > > > > > > > > > I'm astonished you're considering removing rl given how common it is. > > > > > I'll second that comment - though no disrespect to B

Re: Timing issue with Dummynet on high kernel timer interrupt

2015-11-06 Thread Ian Lepore
On Fri, 2015-11-06 at 11:15 -0800, Adrian Chadd wrote: > Ideally there'd be both behaviours: > > * You'd specify whether a timer/sleep needs to be exact or can > withstand some jitter (which is what linux provides); and > * You can communicate to the kernel its aggressiveness for coalescing > wake

Re: Timing issue with Dummynet on high kernel timer interrupt

2015-11-06 Thread Ian Lepore
On Fri, 2015-11-06 at 17:57 +0100, Hans Petter Selasky wrote: > On 11/06/15 17:51, Hans Petter Selasky wrote: > > On 11/06/15 17:43, Ian Lepore wrote: > > > On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote: > > > > Hi, > > > > > > >

Re: Timing issue with Dummynet on high kernel timer interrupt

2015-11-06 Thread Ian Lepore
On Fri, 2015-11-06 at 17:51 +0100, Hans Petter Selasky wrote: > On 11/06/15 17:43, Ian Lepore wrote: > > On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote: > > > Hi, > > > > > Do the test II results change with this setting? > > > >

Re: Timing issue with Dummynet on high kernel timer interrupt

2015-11-06 Thread Ian Lepore
On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote: > Hi, > > I spent some time to write a test application to investigate this > issue > and I found some irregularities, that when > kern.eventtimer.periodic=0, > the timer appears to run very irregular. > > Test software: > ==

Re: miibus0: mii_mediachg: can't handle non-zero PHY instance 31

2014-04-01 Thread Ian Lepore
On Tue, 2014-04-01 at 13:19 -0700, Chris H wrote: > [...] > miibus0: on nfe0 > rlphy0: PHY 0 on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy1: PHY 1 on miibus0 > rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > rlphy2: PHY

Re: mbuf autotuning effect

2013-09-07 Thread Ian Lepore
On Sat, 2013-09-07 at 12:21 -0700, hiren panchasara wrote: > On Sep 6, 2013 8:26 PM, "Warner Losh" wrote: > > > > > > On Sep 6, 2013, at 7:11 PM, Adrian Chadd wrote: > > > > > Yeah, why is VM_KMEM_SIZE only 12mbyte for MIPS? That's a little > low > for a > > > platform that has a direct map that's

Re: bpf kernel crash

2012-06-04 Thread Ian Lepore
On Mon, 2012-06-04 at 17:31 +0300, Michael Pounov wrote: > Kernel crash when you wish to change interface name from vlan0 to other name > > It seems to be in arrival/departure events. > > 1) when I set up vlan0 and change name to mgmt and after that destroy mgmt. > kernel crash in bpfdetach() at