Re: [RFC PATCH v4 18/25] RDMA/irdma: Implement device supported verb APIs

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

 



> On Feb 14, 2020, at 9:54 AM, Jason Gunthorpe <jgg@xxxxxxxx> wrote:
> 
> On Wed, Feb 12, 2020 at 11:14:17AM -0800, Jeff Kirsher wrote:
> ...
> New drivers are forbidden from calling this:
> 
> /**
> * rdma_set_device_sysfs_group - Set device attributes group to have
> *				 driver specific sysfs entries at
> *				 for infiniband class.
> *
> * @device:	device pointer for which attributes to be created
> * @group:	Pointer to group which should be added when device
> *		is registered with sysfs.
> * rdma_set_device_sysfs_group() allows existing drivers to expose one
> * group per device to have sysfs attributes.
> *
> * NOTE: New drivers should not make use of this API; instead new device
> * parameter should be exposed via netlink command. This API and mechanism
> * exist only for existing drivers.
> */
> 
> Jason

Is there an existing field in RDMA_NLDEV_ATTR_* that allows us to display a string to use as a replacement for the board_id in sysfs?

Like “Mellanox ConnectX-3” or similar.

The other two sysfs fields (hca_type and hw_rev) seem to have been unused.

-Andrew





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux