]> 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)
commit8731138c211ac74772f52388e82d296ffd74c822
tree676f4cd9460da6a4389bb217c1736fa78c9b21e8
parentfbabcc18f3228d3b807ec8e8edfbab1458e9963a
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