[Bug 270705] lagg(4): sysctl net.link.lagg.default_use_flowid does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Apr 2023 15:34:57 UTC

            Bug ID: 270705
           Summary: lagg(4): sysctl net.link.lagg.default_use_flowid does
                    not work
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zlei@FreeBSD.org

Tested on current and stable/13.

Steps to repeat:

# kldload -nq if_lagg
# sysctl net.link.lagg.default_use_flowid=1
net.link.lagg.default_use_flowid: 0 -> 1
# ifconfig lagg create
# ifconfig -v lagg0
lagg0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:00:00:00:00:00
        laggproto failover lagghash l2,l3,l4
        lagg options:
                flowid_shift: 16
        lagg statistics:
                active ports: 0
                flapping: 0
        groups: lagg
        media: Ethernet autoselect
        status: no carrier

Pay attention to the lagg options from the output.
> flags=4<USE_NUMA>
flags should have `USE_FLOWID` .

You are receiving this mail because:
You are the assignee for the bug.