1. 09 May, 2024 2 commits
    • Donald Hunter's avatar
      netlink/specs: Add VF attributes to rt_link spec · e497c322
      Donald Hunter authored
      Add support for retrieving VFs as part of link info. For example:
      
      ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_link.yaml \
        --do getlink --json '{"ifi-index": 38, "ext-mask": ["vf", "skip-stats"]}'
      {'address': 'b6:75:91:f2:64:65',
       [snip]
       'vfinfo-list': {'info': [{'broadcast': b'\xff\xff\xff\xff\xff\xff\x00\x00'
                                              b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                              b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                              b'\x00\x00\x00\x00\x00\x00\x00\x00',
                                 'link-state': {'link-state': 'auto', 'vf': 0},
                                 'mac': {'mac': b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                                b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                                b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                                b'\x00\x00\x00\x00\x00\x00\x00\x00',
                                         'vf': 0},
                                 'rate': {'max-tx-rate': 0,
                                          'min-tx-rate': 0,
                                          'vf': 0},
                                 'rss-query-en': {'setting': 0, 'vf': 0},
                                 'spoofchk': {'setting': 0, 'vf': 0},
                                 'trust': {'setting': 0, 'vf': 0},
                                 'tx-rate': {'rate': 0, 'vf': 0},
                                 'vlan': {'qos': 0, 'vf': 0, 'vlan': 0},
                                 'vlan-list': {'info': [{'qos': 0,
                                                         'vf': 0,
                                                         'vlan': 0,
                                                         'vlan-proto': 0}]}},
                                {'broadcast': b'\xff\xff\xff\xff\xff\xff\x00\x00'
                                              b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                              b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                              b'\x00\x00\x00\x00\x00\x00\x00\x00',
                                 'link-state': {'link-state': 'auto', 'vf': 1},
                                 'mac': {'mac': b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                                b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                                b'\x00\x00\x00\x00\x00\x00\x00\x00'
                                                b'\x00\x00\x00\x00\x00\x00\x00\x00',
                                         'vf': 1},
                                 'rate': {'max-tx-rate': 0,
                                          'min-tx-rate': 0,
                                          'vf': 1},
                                 'rss-query-en': {'setting': 0, 'vf': 1},
                                 'spoofchk': {'setting': 0, 'vf': 1},
                                 'trust': {'setting': 0, 'vf': 1},
                                 'tx-rate': {'rate': 0, 'vf': 1},
                                 'vlan': {'qos': 0, 'vf': 1, 'vlan': 0},
                                 'vlan-list': {'info': [{'qos': 0,
                                                         'vf': 1,
                                                         'vlan': 0,
                                                         'vlan-proto': 0}]}}]},
       'xdp': {'attached': 0}}
      Signed-off-by: default avatarDonald Hunter <donald.hunter@gmail.com>
      Link: https://lore.kernel.org/r/20240507103603.23017-1-donald.hunter@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      e497c322
    • Alexandru Gagniuc's avatar
      dt-bindings: net: ipq4019-mdio: add IPQ9574 compatible · 3a2a192b
      Alexandru Gagniuc authored
      Add a compatible property specific to IPQ9574. This should be used
      along with the IPQ4019 compatible. This second compatible serves the
      same purpose as the ipq{5,6,8} compatibles. This is to indicate that
      the clocks properties are required.
      Signed-off-by: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
      Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Link: https://lore.kernel.org/r/20240507024758.2810514-1-mr.nuke.me@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      3a2a192b
  2. 08 May, 2024 25 commits
  3. 07 May, 2024 13 commits