]> git.proxmox.com Git - mirror_iproute2.git/commit
rdma: Add the prefix for driver attributes
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 27 Feb 2019 06:41:51 +0000 (08:41 +0200)
committerDavid Ahern <dsahern@gmail.com>
Wed, 27 Feb 2019 16:25:47 +0000 (08:25 -0800)
commit359f69f76ffb6029d37c49a95c2d08b5d48fc947
tree234fd3eb13b2abf1aac18e8fab7d5cc52f8b27fb
parentd326d79c223b66a841471472c9421c334fd6d167
rdma: Add the prefix for driver attributes

There is a need to distinguish between driver vs. general exposed
attributes. The most common use case is to expose some internal
garbage under extremely common and sexy name, e.g. pi, ci e.t.c

In order to achieve that, we will add "drv_" prefix to all strings
which were received through RDMA_NLDEV_ATTR_DRIVER_* attributes.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>a
Tested-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
rdma/utils.c