Skip to content

subnet_prefix not honored with recent kernels #36

@a-denis

Description

@a-denis

Hi,

I noticed that with recent kernels, the subnet_prefix has no effect.
In my opensm.conf, I have the following line:
subnet_prefix 0xfe80000000000006
(with the 6 and the end)

When I boot with the old Linux 4.19, it behaves as expected:

 ibv_devinfo -v | grep GID
			GID[  0]:		fe80:0000:0000:0006:b859:9f03:00db:f884

On the same machine, without touching anything else, if I boot with kernel 6.1 or 6.8, it is wrong:

ibv_devinfo -v | grep GID
   		GID[  0]:		fe80:0000:0000:0000:b859:9f03:00db:f884

even though in the log, it seems to have been taken into account:

OpenSM 3.3.23
 Reading Cached Option File: /etc/opensm/opensm.conf
 Loading Cached Option:subnet_prefix = 0xfe80000000000006

I do not know which kernel version broke it.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions