From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Machata Subject: Re: [PATCH net-next 6/7] net: bridge: Notify about bridge VLANs Date: Fri, 25 May 2018 20:00:37 +0300 Message-ID: References: <877enrzp42.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Cc: , , , , , , , , , , , To: Vivien Didelot Return-path: Received: from mail-he1eur01on0065.outbound.protection.outlook.com ([104.47.0.65]:37062 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934549AbeEYRBB (ORCPT ); Fri, 25 May 2018 13:01:01 -0400 In-Reply-To: <877enrzp42.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> (Vivien Didelot's message of "Fri, 25 May 2018 12:17:33 -0400") Sender: netdev-owner@vger.kernel.org List-ID: Vivien Didelot writes: >> + } else { >> + err = br_switchdev_port_obj_add(dev, v->vid, flags); >> + if (err && err != -EOPNOTSUPP) >> + goto out; >> } > > Except that br_switchdev_port_obj_add taking vid and flags arguments > seems confusing to me, the change looks good: I'm not sure what you're aiming at. Both VID and flags are sent with the notification, so they need to be passed on to the function somehow. Do you have a counterproposal for the API? Thanks, Petr