Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2020 00:15:56 -0700
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r353419 - head/sys/net
Message-ID:  <20200903071556.GA38593@bluezbox.com>
In-Reply-To: <20200830174431.GB5338@FreeBSD.org>
References:  <201910102342.x9ANguvu083989@repo.freebsd.org> <20200828213130.GA74775@bluezbox.com> <20200830174431.GB5338@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gleb Smirnoff (glebius@freebsd.org) wrote:
> On Fri, Aug 28, 2020 at 02:31:30PM -0700, Oleksandr Tymoshenko wrote:
> O> Gleb Smirnoff (glebius@FreeBSD.org) wrote:
> O> > Author: glebius
> O> > Date: Thu Oct 10 23:42:55 2019
> O> > New Revision: 353419
> O> > URL: https://svnweb.freebsd.org/changeset/base/353419
> O> > 
> O> > Log:
> O> >   Provide new KPI for network drivers to access lists of interface
> O> >   addresses.  The KPI doesn't reveal neither how addresses are stored,
> O> >   how the access to them is synchronized, neither reveal struct ifaddr
> O> >   and struct ifmaddr.
> O> >   
> O> >   Reviewed by:	gallatin, erj, hselasky, philip, stevek
> O> >   Differential Revision:	https://reviews.freebsd.org/D21943
> O> 
> O> Hi Gleb,
> O> 
> O> Are there any plans to MFC this change and the subsequent API consumer changes?
> O> Lack of this API in 12 makes MFCing unrelated eth driver fixes hard.
> 
> I don't plan to MFC it, but there is nothing that would blocks such MFC.
> 
> Of course internals of the functions would be different - using mutex instead
> of the epoch to sync access to address lists.
> 
> I can provide patch for you, but you would be responsive for MFC. I don't
> have any 12-based systems to test changes.

I only need it for if_dwc, I don't plan to merge code for any other
drivers. I tested this patch[1] and there were no issues. Does it look
sane? Do I need to run specific steps to trigger codepaths with these
new API calls?

[1] https://people.freebsd.org/~gonzo/patches/if-foreach-mfc.diff
-- 
gonzo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200903071556.GA38593>