Re: Porting OpenBSD MPLS to FreeBSD
- Reply: Andrey V. Elsukov: "Re: Porting OpenBSD MPLS to FreeBSD"
- In reply to: Lev Serebryakov : "Re: Porting OpenBSD MPLS to FreeBSD"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Dec 2021 18:01:23 UTC
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 true some time ago... It's a read lock for each packet on each, which can be shared by CPUs. I'm not aware that there are a major perfomace penalty, so I'd assume the lock is lightweight.