Re: Porting OpenBSD MPLS to FreeBSD

2021-12-10 Thread Rodney W. Grimes
rs. > > > > Going back, I'm thinking about porting OpenBSD's MPLS to FreeBSD. > > I have had similiar thoughts on and off over the years, > and one pretty solid "want" for this. > > > > > I have a two questions: > > > > * Is po

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
>> > >> 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 in

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-07 Thread Santiago Martinez
, Rodney W. Grimes wrote: [ 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

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 p

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 i

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 de

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? >&

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

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-04 Thread Alexander V. Chernikov
ckages and some GPU drivers. > > Going back, I'm thinking about porting OpenBSD's MPLS to FreeBSD. > > I have a two questions: > > * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off doing a > from-scratch implementation based on netgraph? It de

Re: Porting OpenBSD MPLS to FreeBSD

2021-11-19 Thread Rodney W. Grimes
7;m thinking about porting OpenBSD's MPLS to FreeBSD. I have had similiar thoughts on and off over the years, and one pretty solid "want" for this. > > I have a two questions: > > * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off > doing a from-scra

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.

Porting OpenBSD MPLS to FreeBSD

2021-11-19 Thread Neel Chauhan
PLS to FreeBSD. I have a two questions: * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off doing a from-scratch implementation based on netgraph? * Would some of the other committers here be willing to mentor/help me if needed? Unlike my old IPFW patches which got nowh