RDMA/rtrs-clt: Follow "one entry one value" rule for IO migration stats
authorMd Haris Iqbal <haris.iqbal@ionos.com>
Wed, 22 Sep 2021 12:53:33 +0000 (14:53 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 4 Oct 2021 19:46:12 +0000 (16:46 -0300)
commit3f3fe682f28d60e9a9a0e44cf4fa7a8a920a1d43
treeef6d24f1a84d5b20e945936b2e2c917633ba11e6
parentdea7bb3ad3e08f96815330f88a62c24d7a9dacae
RDMA/rtrs-clt: Follow "one entry one value" rule for IO migration stats

This commit divides the sysfs entry cpu_migration into 2 different entries
One for "from cpus" and the other for "to cpus".

Link: https://lore.kernel.org/r/20210922125333.351454-8-haris.iqbal@ionos.com
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Reviewed-by: Gioh Kim <gi-oh.kim@ionos.com>
Reviewed-by: Aleksei Marov <aleksei.marov@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/rtrs/rtrs-clt-stats.c
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
drivers/infiniband/ulp/rtrs/rtrs-clt.h