Thread (12 messages) 12 messages, 4 authors, 2022-10-03

Re: [PATCH iproute2-next 1/2] bridge: link: enable MacAuth/MAB feature

From: Ido Schimmel <idosch@nvidia.com>
Date: 2022-10-02 07:34:34
Also in: bridge, linux-arm-kernel, linux-kselftest, linux-mediatek, lkml

On Sat, Oct 01, 2022 at 11:32:52PM +0200, netdev@kapio-technology.com wrote:
On 2022-10-01 16:59, Ido Schimmel wrote:
quoted
On Thu, Sep 29, 2022 at 05:21:36PM +0200, Hans Schultz wrote:
quoted
The MAB feature can be enabled on a locked port with the command:
bridge link set dev <DEV> mab on
Please provide regular and JSON output in the commit message.
How would the JSON version look like in this example?
$ bridge -d link show dev dummy10
558: dummy10: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 master br0 state disabled priority 32 cost 100 
    hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on mcast_to_unicast off neigh_suppress off vlan_tunnel off isolated off

$ bridge -d -j -p link show dev dummy10
[ {
        "ifindex": 558,
        "ifname": "dummy10",
        "flags": [ "BROADCAST","NOARP","UP","LOWER_UP" ],
        "mtu": 1500,
        "master": "br0",
        "state": "disabled",
        "priority": 32,
        "cost": 100,
        "hairpin": false,
        "guard": false,
        "root_block": false,
        "fastleave": false,
        "learning": true,
        "flood": true,
        "mcast_flood": true,
        "mcast_to_unicast": false,
        "neigh_suppress": false,
        "vlan_tunnel": false,
        "isolated": false
    } ]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help