summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fman/mac.h
diff options
context:
space:
mode:
authorRadu Bulie <radu-andrei.bulie@nxp.com>2018-02-26 20:24:04 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-27 19:40:03 +0300
commitc893238e5d9b279be4c73d7fdf0dc8986a6c118f (patch)
tree98f54d7c26d724c725f95927c2459f5870537097 /drivers/net/ethernet/freescale/fman/mac.h
parent056a01ba9453258a56993e8645b7b922e55be81c (diff)
downloadlinux-c893238e5d9b279be4c73d7fdf0dc8986a6c118f.tar.xz
dpaa_eth: Add allmulti option
This patch adds allmulticast option for memac, dtsec and 10GEC controllers. Signed-off-by: Radu Bulie <radu-andrei.bulie@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/mac.h')
-rw-r--r--drivers/net/ethernet/freescale/fman/mac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fman/mac.h b/drivers/net/ethernet/freescale/fman/mac.h
index eefb3357e304..b520cec120ee 100644
--- a/drivers/net/ethernet/freescale/fman/mac.h
+++ b/drivers/net/ethernet/freescale/fman/mac.h
@@ -59,6 +59,7 @@ struct mac_device {
bool rx_pause_active;
bool tx_pause_active;
bool promisc;
+ bool allmulti;
int (*init)(struct mac_device *mac_dev);
int (*start)(struct mac_device *mac_dev);
@@ -66,6 +67,7 @@ struct mac_device {
void (*adjust_link)(struct mac_device *mac_dev);
int (*set_promisc)(struct fman_mac *mac_dev, bool enable);
int (*change_addr)(struct fman_mac *mac_dev, enet_addr_t *enet_addr);
+ int (*set_allmulti)(struct fman_mac *mac_dev, bool enable);
int (*set_multi)(struct net_device *net_dev,
struct mac_device *mac_dev);
int (*set_rx_pause)(struct fman_mac *mac_dev, bool en);