Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: PF Queue bandwidth now 64bit for >4Gbps queues
To:
Andrew Lemin <andrew.lemin@gmail.com>
Cc:
tech@openbsd.org
Date:
Wed, 18 Mar 2026 11:28:06 +0000

Download raw body.

Thread
  • Stuart Henderson:

    PF Queue bandwidth now 64bit for >4Gbps queues

  • On 2026/03/18 11:01, Stuart Henderson wrote:
    > On 2026/03/18 00:57, Andrew Lemin wrote:
    > > struct hfsc_sc grows from 12 to 24 bytes (with a 4-byte padding hole
    > > between d and m2 due to alignment - should we reorder?).
    > 
    > yes.
    > 
    > from style(9):
    > 
    >    When declaring variables in structures, declare them sorted by use, then
    >    by size (largest to smallest), then by alphabetical order.  The first
    >    category normally doesn't apply, but there are exceptions.
    > 
    > (+ i'll see if I can figure out what's needed in ports-land for this).
    > 
    
    +Values up to 999G are supported, allowing configuration of PF queues on
    +10G, 25G, 40G, and 100G interfaces.
    
    I don't think the clause about interface speeds is needed
    
    
  • Stuart Henderson:

    PF Queue bandwidth now 64bit for >4Gbps queues