From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0y/lUHn2lmGilcKpcDJIAk/rbRuVKze658djjynYfv0=; b=dAJItVkhAb1Rp5+EgFzpS7EQIdG5AJHy9SpsJvb8OVVWOJHOhILcky0f54DKFge1N0A0EBVsRRqW5dthOXkQI5v8Vxwi3P3ls0xDZ0iua1W4cU/ebazdocvBKO0qQ1IOCFc06F6kb44w+BZ3XlradE58SMHPtFAK+thKmgus4pByU/+2HKM0F41Yjq/lN4t+QAKHdHPlxdnhJfWkWnrsAo3wm2TVhqh0l5Z2Nvq/ghuPQnO6f6mShl+Uq1zylD+PeO8MuVg8iNr/zGy81PjhT4SumQYDwG2qa1WPZGP9qW1DFmrTx5vgzTTLRFSwG4GZxxd/+cn5Okp0Neli4K4BMA== Date: Fri, 13 May 2022 15:47:20 +0300 From: Ido Schimmel Message-ID: References: <20220505225904.342388-1-andrew@lunn.ch> <20220506143644.mzfffht44t3glwci@skbuf> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: MIME-Version: 1.0 Subject: Re: [Bridge] [PATCH RFC] net: bridge: Clear offload_fwd_mark when passing frame up bridge interface. List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrew Lunn Cc: Ido Schimmel , Vladimir Oltean , Nikolay Aleksandrov , "bridge@lists.linux-foundation.org" , netdev On Thu, May 12, 2022 at 10:38:03PM +0200, Andrew Lunn wrote: > > I like Andrew's patch because it is the Rx equivalent of > > br_switchdev_frame_unmark() in br_dev_xmit(). However, if we go with the > > second option, it should allow us to remove the clearing of the mark in > > the Tx path as the control block is cleared in the Tx path since commit > > fd65e5a95d08 ("net: bridge: clear bridge's private skb space on xmit"). > > > > I don't know how far back Nik's patch was backported and I don't know > > how far back Andrew's patch will be backported, so it might be best to > > submit Andrew's patch to net as-is and then in net-next change > > nbp_switchdev_allowed_egress() and remove br_switchdev_frame_unmark() > > from both the Rx and Tx paths. > > > > Anyway, I have applied this patch to our tree for testing. Will report > > tomorrow in case there are any regressions. > > Hi Ido > > Did your testing find any issues? No, patch is fine. Thanks!