Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp362991pxf; Thu, 25 Mar 2021 06:04:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTaYcTXteSIa6cxg/lfV182ppRdYs6bwLbPVmxsQ2yEOLFDbs0VsqQYmqjmtQjODEhRwak X-Received: by 2002:a19:5017:: with SMTP id e23mr4840434lfb.262.1616677479916; Thu, 25 Mar 2021 06:04:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616677479; cv=none; d=google.com; s=arc-20160816; b=WQCx+FkjNM2HKkjyKneCoEyHrRTIwDcKn9b/KC9BjrBKQu7LFTJQilntOMkzLCpDuD tKrvhBddM4Q6lXYggI0/bjlH5oenXYv+Y6ELcbaPA2GKiSKeUAxBg5I0PIrs6l/iu+YY gaWI+p46d6ztQ8Ui0DKu8Q3X/LVIdFXR9VFO9/pxAwlneK9DHOodUo70fNAYt1z82imH tjqyjhg2eE5niFE1WDZ+tLuZYdUadEgPsGeC+4+fAfC+8xSuaXMrS7b29NVTcTR1HuE6 uytBVF07gkeh0r5XQpPzDamWf5lxi1j8w9hY5sgy6ONR5bR4LRlI7r6aexkbXTHWGHKY fncg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KQS35TMJy4T86ONDIZnKLs94bciaa3L422WJ0FTqWss=; b=F96oC6WuLVvO3b4Gh8SYAe3zM0kPBjbIJEIV9goEUeF7pn5iwa00QceZrFvnZU5Q1E lsIh4jQjobIx7PRKA08IWJrJ++vrLXZVUXdhMa+a80y+XHKCIrYbZGupD9hLYgk1tfSr 3MuNuB3ta2rHY9b/p8CQ117MU1/hEpz8P/WWYjLgU9B3wnFuZux05Z2o653Ff7IYffp4 0AIZ1Kf3mfqhlgYdMTCdfquMZcGr3ryUzO3mUxhbBeL+FlVNueiuoHqb3ZptryyuOnIO BALve1lWsD3LumUKznenOiExkgGhOOnS9hA1cw7qFXw5RLVVVrmsRqD/G2DXADEs82dv 3XZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RFWGp1bQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w25si3980872eja.753.2021.03.25.06.04.15; Thu, 25 Mar 2021 06:04:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RFWGp1bQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbhCYNCp (ORCPT + 99 others); Thu, 25 Mar 2021 09:02:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbhCYNC0 (ORCPT ); Thu, 25 Mar 2021 09:02:26 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CC07C06174A; Thu, 25 Mar 2021 06:02:26 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id h13so2317466eds.5; Thu, 25 Mar 2021 06:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KQS35TMJy4T86ONDIZnKLs94bciaa3L422WJ0FTqWss=; b=RFWGp1bQOZREn5Y2Ri1MKBju/SFE1psyUCGeNeUN7tjKOPUlnoU7XZdZvZ3ir8xoHn SUQjPDxPQogq5VfsvC/XtAAPNtA5Pba8dSZfwVYEWG42g7L7e8kzMBQKD4aTw7p++D43 Mgfd74+EVVM7bJjK3MABAO6dmZoHGMD37x1eANJh4zkMd+FsJ69bMuz9wqLh37GdoV5A gTvCz1B2K/YKkiM4rC7wqVqyFZWjan3xBju7PaomHNPgYq5yXeMSNwogiZXygu3iBc3u ekoxnwQA6R/BVBvFjDjXsbZNb5RaSXfLOitf6h5cIPkk2Ybth1wcdoAfeid9aqQNJrjA EEaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KQS35TMJy4T86ONDIZnKLs94bciaa3L422WJ0FTqWss=; b=FtOZcPW7KM7n+vIER2Zyka+kfAw5Aak4qk/4CPkgAenF62dH+6WjTSzgsIu4BAgDMS vIf0hiACqLQhRZSqnPNF7WNeZbd5ca6yuXWN9fB7AK+SzwyyiBBBLCF8Pr0N8YZPWljS 3TaCU2ncY43h0eopbKJ+R8H4eX0CKYOjxw4kEOm8Jp1rbdMK63JzzTPoyUh0hovBtHy7 XWod4iUrcdn3Basmio6NU6Zs9v6R+nQFzjbbe2UvSP0/iLJkfD7A+Q/TVkzVclwIPjZf WG9fG8w4J/EJOvSuJ2ePdSsP0lv4Ri9kSUMUflw8H9nK2z1a2XPstUTd05q9Z8Q+/N8x 5wlQ== X-Gm-Message-State: AOAM5322GsAcIEaOJOrBO0W7cu4YFq+s18mo8JGcuRE/GW5/0rii7qcG xbmg/cg0f4RVYY+FmmppvSnXSzSqCVBQp9MDKdo= X-Received: by 2002:aa7:d4d6:: with SMTP id t22mr9149294edr.376.1616677345028; Thu, 25 Mar 2021 06:02:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sunil Kovvuri Date: Thu, 25 Mar 2021 18:32:12 +0530 Message-ID: Subject: Re: [net-next PATCH 0/8] configuration support for switch headers & phy To: Andrew Lunn Cc: Hariprasad Kelam , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kuba@kernel.org" , "davem@davemloft.net" , Sunil Kovvuri Goutham , Linu Cherian , Geethasowjanya Akula , Jerin Jacob Kollanukkaran , Subbaraya Sundeep Bhatta Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 25, 2021 at 6:20 PM Andrew Lunn wrote: > > > > So you completely skipped how this works with mv88e6xxx or > > > prestera. If you need this private flag for some out of mainline > > > Marvell SDK, it is very unlikely to be accepted. > > > > > > Andrew > > > > What we are trying to do here has no dependency on DSA drivers and > > neither impacts that functionality. > > So this is an indirect way of saying: Yes, this is for some out of > mainline Marvell SDK. > > > Here we are just notifying the HW to parse the packets properly. > > But the correct way for this to happen is probably some kernel > internal API between the MAC and the DSA driver. Mainline probably has > no need for this private flag. > > Andrew Didn't get why you say so. HW expects some info from SW to do the packet parsing properly and this is specific to this hardware. How can we generalize this ? It's not just the DSA tags, the requirement is also for packets with Higig header ie when system is connected to a switch which appends Higig2 header to all pkts. Thanks, Sunil.