Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-19828

Enable ip2nets for kfi networks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.18.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      A kfilnd interface is configured using the cxi device name (e.g. cxi0, cxi1, etc.), admins often configure other interface names for IP configuration (e.g. hsn0, hsn1, etc.). LNet's ip2nets features works by matching specified interfaces with some IP address expression, so we can only use this for kfi networks if the interface names match the name of the corresponding cxi device.

      However, we should be able to programmatically convert between a specified interface name and the underlying cxi device by inspecting sysfs. For example,

      # ls /sys/class/net/hsn0/device/cxi
      cxi0
      [root@nid000019 ~]#
      #
      

      In this case, we can see that the "hsn0" interface maps to the cxi0 device. We should modify lustre_lnet_kfi_intf2nid() to perform this lookup on behalf of the user. This will allow ip2nets to work for kfi networks regardless of what the interfaces are named.

      Attachments

        Activity

          People

            hornc Chris Horn
            hornc Chris Horn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: