lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 14 Feb 2020 10:49:38 -0500
From:   Andrew Boyer <aboyer@...sando.io>
To:     Jason Gunthorpe <jgg@...pe.ca>
Cc:     Jeff Kirsher <jeffrey.t.kirsher@...el.com>, davem@...emloft.net,
        gregkh@...uxfoundation.org,
        Mustafa Ismail <mustafa.ismail@...el.com>,
        netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
        nhorman@...hat.com, sassmann@...hat.com,
        Shiraz Saleem <shiraz.saleem@...el.com>
Subject: Re: [RFC PATCH v4 18/25] RDMA/irdma: Implement device supported verb
 APIs


> On Feb 14, 2020, at 9:54 AM, Jason Gunthorpe <jgg@...pe.ca> 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ