Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp220940rwd; Tue, 6 Jun 2023 21:56:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4xPSNkyfXHnDt2Q4jY49/tTwBIqJx0b81rjPECDxY1obxJkzE9VeJr2LyT/7pGKj9d7zIx X-Received: by 2002:a0d:d411:0:b0:569:e7cb:cd4e with SMTP id w17-20020a0dd411000000b00569e7cbcd4emr5123834ywd.48.1686113790260; Tue, 06 Jun 2023 21:56:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686113790; cv=none; d=google.com; s=arc-20160816; b=jQHZnsXVg8cMm5DqrLjgohzFsvj8OcKkWFfXBtf7xFXkKLnBHC28VCpCRvnrQqwW3a 83+kt0eGdPAq3a2L1TxCtuVbg8SyuPYXJ88yYQg5WHPgJezef9o0pORXgBXlIqyyxPj2 PYyIKSKzgHL/ERLcq5p3pPorqW4fVvKEjrz9KeqtBMghumsnrOZYhS/fiqRYkPZeaip3 2meZ4IczQcLED7wkFnd2ldtSEQRgvfwypxbpd1Cn0kOt1zxx/HOORoVERppCC3EGrIJN /R2X8iAmUbj5Jz6mjNxp3YRUAfLiC8k4cf/uE+7UiQvyPMSmpfwkKXLknyKrcv+Ls7hf HXnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=MHo3yMmSDpBNsff/OHLsZtLRk/NPCVw3PbzjtJGVFoo=; b=M5CxMKwMk2l0kbmvczxN1woyO3LIUpsXGL+WugWvbAZPh1M5tshaqf2xRdv8Ewv+Sj M4Y9b0xHsmB++gj1R3PmLpwXCamout6zWVzMWoiayqiadqpD6ZJFo4ykPJHMlvh4y9MC YToKTuE+A2YWVPn+OPnG4oV4Fd1gdOpPLu6AJMvBtlbf9eaJSjhiOtzLoJjjtCi98Fcm cTIZrLc9PEMADKjysZHGdoqjm5Zk84H6y5LxfEs8Cywd4nSVYffMhBOZTwX3VQ0INMon VAfuTCNfaA9vhz+mnG7gU8+Pb2hYK7zT+3UlI57nOITWc0gNpK/YeUMbLasTAzgu2ZKY LxkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=cOTO6GLJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p11-20020aa79e8b000000b0064583a79521si6536177pfq.283.2023.06.06.21.56.11; Tue, 06 Jun 2023 21:56:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=cOTO6GLJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234133AbjFGE0k (ORCPT + 99 others); Wed, 7 Jun 2023 00:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233136AbjFGE0D (ORCPT ); Wed, 7 Jun 2023 00:26:03 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70B84272B for ; Tue, 6 Jun 2023 21:22:49 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-ba8374001abso7830440276.2 for ; Tue, 06 Jun 2023 21:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1686111768; x=1688703768; h=in-reply-to:from:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=MHo3yMmSDpBNsff/OHLsZtLRk/NPCVw3PbzjtJGVFoo=; b=cOTO6GLJpz5CCfQtITaINCXexX/JCFTvrh78XjlDbRyzVv3YeINUTyEgdRcDQ8b06R lakTg9WrtPQnZgZS14jZO1/IjJlrHfqbd68TUfXr8noZrsmrxfalj5ks7p0WxmPSyA8A KMX7uS7KsVgOYS4LS7+pmOTPaa95u5qOaiMSM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686111768; x=1688703768; h=in-reply-to:from:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MHo3yMmSDpBNsff/OHLsZtLRk/NPCVw3PbzjtJGVFoo=; b=ZSWvMeSoiOGjcmmExZYc57C6Nd0cc1ZgVO6h0ye6r9LBXbWan7yPZW6xDkKQEQXpOd lf3f80/zZJcr6V2z2dHtBDyczogcg5XmHRiXClwXClwoLMuM9a9NJZQgEE61A7aBNxMv Npo7AR3r147b9CpaimHSA7UCW+Xfa4HnZuCGJ1Tc5ernODN6q+Xv3Onzlefz1tHgqJBD WPgET54fMDq2P9gxutnBAjgz0R6HZkxbMcdc/6Go/+SrAFvUxDaa96YJ2zIPvSKO3U2x KB5ij3VzYHLhyaK7TQ/AjaqXB21ThlfU0h3H97cfy9+vnm+EboOMrhkKDNncsSE8eRp7 QSSA== X-Gm-Message-State: AC+VfDyRv5jSKV4DUW/SzS5biQBahFCvtP5FfO416PAm3tctp+m+un8N oJBz6LEnBI+ubcF+oOsFtU+nJw== X-Received: by 2002:a25:8b:0:b0:b8f:3a83:a16c with SMTP id 133-20020a25008b000000b00b8f3a83a16cmr4393385yba.58.1686111768512; Tue, 06 Jun 2023 21:22:48 -0700 (PDT) Received: from [192.168.86.135] ([136.52.74.64]) by smtp.gmail.com with ESMTPSA id jf12-20020a170903268c00b001b176d96da0sm9381479plb.78.2023.06.06.21.22.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jun 2023 21:22:47 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2023 21:22:45 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH net-next v6 3/6] net: bcmasp: Add support for ASP2.0 Ethernet controller To: Jakub Kicinski Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, opendmb@gmail.com, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, richardcochran@gmail.com, sumit.semwal@linaro.org, christian.koenig@amd.com, simon.horman@corigine.com References: <1685657551-38291-1-git-send-email-justin.chen@broadcom.com> <1685657551-38291-4-git-send-email-justin.chen@broadcom.com> <20230602235859.79042ff0@kernel.org> <956dc20f-386c-f4fe-b827-1a749ee8af02@broadcom.com> <20230606171605.3c20ae79@kernel.org> <8601be87-4bcb-8e6b-5124-1c63150c7c40@broadcom.com> <20230606185453.582d3831@kernel.org> <024a6733-f552-c538-2b59-26058c750d66@broadcom.com> <20230606204500.04083bd8@kernel.org> From: Justin Chen In-Reply-To: <20230606204500.04083bd8@kernel.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="00000000000008515e05fd827da6" X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --00000000000008515e05fd827da6 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/6/2023 8:45 PM, Jakub Kicinski wrote: > On Tue, 6 Jun 2023 19:33:13 -0700 Justin Chen wrote: >>>> Not netdevs per se, but packets can be redirected to an offload >>>> co-processor. >>> >>> How is the redirecting configured? >> >> Through filters that can be programmed by the Host cpu or co-processor. > > How are the filter programmed by the host (in terms of user API)? You are stumbling upon my next objective here. This patch set does not support this because it wasn't clear how to do it. The plan was to get the base driver merged first then introduce a way to specify an offload channel. If you must know, I introduced a rxnfc flow_spec ring cookie to specify an offload filter. Not sure if this is the right way to do it or not, but figured this would be a future discussion. --00000000000008515e05fd827da6 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQagYJKoZIhvcNAQcCoIIQWzCCEFcCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3BMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9i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