diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-03-16 22:41:43 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-17 17:42:47 -0700 |
commit | 0148bb50b8fd51baf357de8b237c0c6011506540 (patch) | |
tree | 9bb4fc4924c8f73682e88daab91322935de7f012 /drivers/net/dsa/microchip/ksz8795.c | |
parent | net: mscc: ocelot: offload per-flow mirroring using tc-mirred and VCAP IS2 (diff) | |
download | linux-dev-0148bb50b8fd51baf357de8b237c0c6011506540.tar.xz linux-dev-0148bb50b8fd51baf357de8b237c0c6011506540.zip |
net: dsa: pass extack to dsa_switch_ops :: port_mirror_add()
Drivers might have error messages to propagate to user space, most
common being that they support a single mirror port.
Propagate the netlink extack so that they can inform user space in a
verbal way of their limitations.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz8795.c')
-rw-r--r-- | drivers/net/dsa/microchip/ksz8795.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz8795.c b/drivers/net/dsa/microchip/ksz8795.c index 6f9cdd5204fb..b2752978cb09 100644 --- a/drivers/net/dsa/microchip/ksz8795.c +++ b/drivers/net/dsa/microchip/ksz8795.c @@ -1233,7 +1233,7 @@ static int ksz8_port_vlan_del(struct dsa_switch *ds, int port, static int ksz8_port_mirror_add(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror, - bool ingress) + bool ingress, struct netlink_ext_ack *extack) { struct ksz_device *dev = ds->priv; |