Re: Porting OpenBSD MPLS to FreeBSD

2021-12-10 Thread Rodney W. Grimes
> > Hi freebsd-net@, > > > > Long time no see. I've gotten a (Ports) commit bit since then. > > > > I haven't been very active in TCP/IP hacking as of late, as more > > recently I've been more focused on GNOME packages and some GPU drivers. > > > > Going back, I'm thinking about porting OpenBSD

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-10 Thread Andrey V. Elsukov
08.12.2021 21:01, Lutz Donnerhacke пишет: On Wed, Dec 08, 2021 at 11:08:38AM +0300, Lev Serebryakov wrote: On 07.12.2021 17:28, Lutz Donnerhacke wrote: I do use netgraph for carrier-grade stuff. Yes, ng_bridge was limited, but this is fixed. Doesn't it take separate lock for each packet pass

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-08 Thread Lutz Donnerhacke
On Wed, Dec 08, 2021 at 11:08:38AM +0300, Lev Serebryakov wrote: > On 07.12.2021 17:28, Lutz Donnerhacke wrote: >> I do use netgraph for carrier-grade stuff. >> Yes, ng_bridge was limited, but this is fixed. > Doesn't it take separate lock for each packet passed though hook? I'm sure, > it was tr

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-08 Thread Lev Serebryakov
On 07.12.2021 17:28, Lutz Donnerhacke wrote: I'd prefer a netgraph approach, if possible. It helps to concentrate on the important things. Isn't netgraph is very PPS-limited due to excessive logging? No. s/logging/locking/, I don't understand, what I've been thinking about to make such st

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-07 Thread Zaphod Beeblebrox
I would also like to be on the list of possible beta testers. On Tue, Dec 7, 2021 at 11:27 AM Santiago Martinez wrote: > Hi Neel, it is exciting to see the topic coming alive again. > > Once you think is good/ready for testing, or when you require it, i can > avail hardware , routers and traffi

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-07 Thread Santiago Martinez
Hi Neel, it is exciting to see the topic coming alive again. Once you think is good/ready for testing, or when you require it,  i can avail hardware , routers and traffic generator to take the stack for a ride. Count me in for testing, reporting, etc. Best regards. Santi On 12/6/21 18:40, R

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-07 Thread Lutz Donnerhacke
On Mon, Dec 06, 2021 at 11:41:27PM +0300, Lev Serebryakov wrote: > On 19.11.2021 23:16, Lutz Donnerhacke wrote: >>> * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off doing >>> a from-scratch implementation based on netgraph? >> >> I'd prefer a netgraph approach, if possible. >>

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-06 Thread Lev Serebryakov
On 19.11.2021 23:16, Lutz Donnerhacke wrote: * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off doing a from-scratch implementation based on netgraph? I'd prefer a netgraph approach, if possible. It helps to concentrate on the important things. Isn't netgraph is very PPS-

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-06 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Hi Alexander, > > On 2021-12-04 10:42, Alexander V. Chernikov wrote: > >> * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off > >> doing a from-scratch implementation based on netgraph? > > It depends. MPLS implementaiton can be split

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-05 Thread Neel Chauhan
Hi Alexander, On Sun, 2021-12-05 at 22:19 +, Alexander V. Chernikov wrote: > > If I were to work on this, would I be better off starting with the > > dataplane or control plane? > I’d start with dataplane first - it’ll allow to get something simple > actually working and establish the basic da

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-05 Thread Alexander V. Chernikov
> On 5 Dec 2021, at 03:49, Neel Chauhan wrote: > > Hi Alexander, > > On 2021-12-04 10:42, Alexander V. Chernikov wrote: >>> * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off doing a >>> from-scratch implementation based on netgraph? >> It depends. MPLS implementaiton can be

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-04 Thread Neel Chauhan
Hi Alexander, On 2021-12-04 10:42, Alexander V. Chernikov wrote: * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off doing a from-scratch implementation based on netgraph? It depends. MPLS implementaiton can be splitted into multiple logical parts - dataplane (input, control, ou

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-04 Thread Alexander V. Chernikov
> On 19 Nov 2021, at 19:17, Neel Chauhan wrote: > > Hi freebsd-net@, > > Long time no see. I've gotten a (Ports) commit bit since then. > > I haven't been very active in TCP/IP hacking as of late, as more recently > I've been more focused on GNOME packages and some GPU drivers. > > Going b

Re: Porting OpenBSD MPLS to FreeBSD

2021-11-19 Thread Rodney W. Grimes
> Hi freebsd-net@, > > Long time no see. I've gotten a (Ports) commit bit since then. > > I haven't been very active in TCP/IP hacking as of late, as more > recently I've been more focused on GNOME packages and some GPU drivers. > > Going back, I'm thinking about porting OpenBSD's MPLS to FreeB

Re: Porting OpenBSD MPLS to FreeBSD

2021-11-19 Thread Lutz Donnerhacke
On Fri, Nov 19, 2021 at 11:17:42AM -0800, Neel Chauhan wrote: > * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off doing > a from-scratch implementation based on netgraph? I'd prefer a netgraph approach, if possible. It helps to concentrate on the important things. > * Would s