aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorAlaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>2022-05-05 17:09:57 +0200
committerDavid S. Miller <davem@davemloft.net>2022-05-09 11:58:20 +0100
commitca4567f1e6f660f86fcd04f3563c0045b0d4772f (patch)
treed8a1c7a8d1bb5135ea49cfeeaebacfbf1e29a3b3 /drivers/net/ethernet/intel/ice/ice_main.c
parentMerge branch 'wwan-t7xx' (diff)
downloadlinux-dev-ca4567f1e6f660f86fcd04f3563c0045b0d4772f.tar.xz
linux-dev-ca4567f1e6f660f86fcd04f3563c0045b0d4772f.zip
rtnetlink: add extack support in fdb del handlers
Add extack support to .ndo_fdb_del in netdevice.h and all related methods. Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index 049a3f48caff..867908f94661 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -5688,11 +5688,12 @@ ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[],
* @dev: the net device pointer
* @addr: the MAC address entry being added
* @vid: VLAN ID
+ * @extack: netlink extended ack
*/
static int
ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[],
struct net_device *dev, const unsigned char *addr,
- __always_unused u16 vid)
+ __always_unused u16 vid, struct netlink_ext_ack *extack)
{
int err;