ubject: Re: [PATCH 4/8] net/mlx5: add sysfs check for Multiport E-Switch
>
> External email: Use caution opening links or attachments
>
>
> On Tue, 31 Oct 2023 16:27:29 +0200
> Dariusz Sosnowski wrote:
>
> > + MKSTR(sysfs_if_path, "/sys/class/net/%s"
On Tue, 31 Oct 2023 16:27:29 +0200
Dariusz Sosnowski wrote:
> + MKSTR(sysfs_if_path, "/sys/class/net/%s", ifname);
> + if (mlx5_get_pci_addr(sysfs_if_path, &if_pci_addr))
> + continue;
> + if (pci_addr->domain != if_pci_addr.domain ||
> +
This patch implements checking if Multiport E-Switch is enabled
on a given PCI device, using sysfs Linux kernel interface.
This facility will be used in follow up commits,
which add support for such configuration to mlx5 PMD.
MLNX_OFED mlx5_core kernel module versions which support
Multiport E-Swi
3 matches
Mail list logo