net: rtnetlink: Namespace functions related to IFLA_OFFLOAD_XSTATS_*
authorPetr Machata <petrm@nvidia.com>
Wed, 2 Mar 2022 16:31:15 +0000 (18:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2022 10:37:22 +0000 (10:37 +0000)
commit6b524a1d012b61d605e052db0555e9d8fee29f04
tree676f4cd9460da6a4389bb217c1736fa78c9b21e8
parentcbcc44db2cf7b836896733acc0e5ea966136ed22
net: rtnetlink: Namespace functions related to IFLA_OFFLOAD_XSTATS_*

The currently used names rtnl_get_offload_stats() and
rtnl_get_offload_stats_size() do not clearly show the namespace. The former
function additionally seems to have been named this way in accordance with
the NDO name, as opposed to the naming used in the rtnetlink.c file (and
indeed elsewhere in the netlink handling code). As more and
differently-flavored attributes are introduced, a common clear prefix is
needed for all related functions.

Rename the functions to follow the rtnl_offload_xstats_* naming scheme.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c