OSDN Git Service

devlink: Maintain consistency in mac field name
authorDavid Ahern <dsahern@gmail.com>
Thu, 31 Aug 2017 00:07:30 +0000 (17:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Aug 2017 05:06:13 +0000 (22:06 -0700)
IPv4 name uses "destination ip" as does the IPv6 patch set.
Make the mac field consistent.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c

index 194708a..cbc4b04 100644 (file)
@@ -31,7 +31,7 @@
 
 static struct devlink_dpipe_field devlink_dpipe_fields_ethernet[] = {
        {
-               .name = "destination_mac",
+               .name = "destination mac",
                .id = DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC,
                .bitwidth = 48,
        },