]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff2e0090e3899fa53f77da2b22ee8cca1acc3a5e
tree676f4cd9460da6a4389bb217c1736fa78c9b21e8
parent595dd14e59f88d485814de14720eb8a36ffb6063
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