Re: [PATCH 3/3 v4] virtio: vdpa: new SolidNET DPU driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/12/22 09:56, Alvaro Karsz wrote:
Even better would be a separate CONFIG_SNET_VDPA_HWMON Kconfig option.

I prefer to wrap everything with a single Kconfig option.

depends on HWMON || HWMON=n

Are you referring here to CONFIG_SNET_VDPA, or to the
CONFIG_SNET_VDPA_HWMON you suggested?

Either

Because if this refers to CONFIG_SNET_VDPA, HWMON=m  will block the driver.


No, it won't. It would force SNET_VDPA to be built as module if HWMON
is built as module. Then you would not need IS_REACHABLE but could use
IS_ENABLED instead.

Guenter

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux