diff options
author | Benjamin Poirier <bpoirier@nvidia.com> | 2022-09-07 16:56:39 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-16 14:34:01 +0100 |
commit | 1d9a143ee3408349700f44a9197b7ae0e4faae5d (patch) | |
tree | 6bacb0280d44d2a3e9607a213e236e3ff3c755f6 /include/net/bonding.h | |
parent | 21be1ad637493f960ea754399d86f65f7e260250 (diff) |
net: bonding: Share lacpdu_mcast_addr definition
There are already a few definitions of arrays containing
MULTICAST_LACPDU_ADDR and the next patch will add one more use. These all
contain the same constant data so define one common instance for all
bonding code.
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bonding.h')
-rw-r--r-- | include/net/bonding.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bonding.h b/include/net/bonding.h index afd606df149a..e999f851738b 100644 --- a/include/net/bonding.h +++ b/include/net/bonding.h @@ -786,6 +786,9 @@ extern struct rtnl_link_ops bond_link_ops; /* exported from bond_sysfs_slave.c */ extern const struct sysfs_ops slave_sysfs_ops; +/* exported from bond_3ad.c */ +extern const u8 lacpdu_mcast_addr[]; + static inline netdev_tx_t bond_tx_drop(struct net_device *dev, struct sk_buff *skb) { dev_core_stats_tx_dropped_inc(dev); |