bonding: add num_grat_arp attribute netlink support
authorsfeldma@cumulusnetworks.com <sfeldma@cumulusnetworks.com>
Wed, 18 Dec 2013 05:30:09 +0000 (21:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Dec 2013 23:32:09 +0000 (18:32 -0500)
commit2c9839c143bbc8c6612f56351dae8d57111aee37
tree94e73e0c75f6c83cd00ff5dc03e61dba3b440cca
parentde47c4ab25d43a98e629cc11c2d90ae56145b35d
bonding: add num_grat_arp attribute netlink support

Add IFLA_BOND_NUM_PEER_NOTIF to allow get/set of bonding parameter
num_grat_arp via netlink.  Bonding parameter num_unsol_na is
synonymous with num_grat_arp, so add only one netlink attribute
to represent both bonding parameters.

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_netlink.c
drivers/net/bonding/bond_options.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h
include/uapi/linux/if_link.h