Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp343066pxa; Wed, 19 Aug 2020 02:57:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhi7fEeRp6l6ZJDhoO0fGmsub6obI3pL/PbS8hZqIhz/3EWS199hmy07bK/Gh5HXLNHJcB X-Received: by 2002:a17:906:f9d7:: with SMTP id lj23mr25983460ejb.500.1597831022748; Wed, 19 Aug 2020 02:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597831022; cv=none; d=google.com; s=arc-20160816; b=TP1Pbl77ofRQsIeqyLT5hk5GiR3r5QMmF77P0VZ4SH0B3OYJ4gHR4bjehPS8tj0yLL B62a9U+16m6NQvVbb6sNSG3KDCmRde+WfdbbZlqGJdOI2QzOACupDsi4/QBsiPg70qww xZifiqSVK8fkW/ILVaeFUTwi9hVXprCcSq7LoImP4+ax3DQQLR/naqbTdNqw9gNRx02v eEN8Ysbk9qO5gsBlV8ul+4TSdbCa7REWxl61fuEZm+aYv5yrNAiOmSKPL0vRptscie6a TcN0m29k+IS1wibAg/xmoo8KvOfrVLqa4ZO587+hh7fLAffz+2Tf9l36ab6nRYsxiijU mQqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=qyStfxigeqXnniOsrsuizuoqoxTg0wgRo7vCsjfVzEc=; b=bPghTNR+6hjClt6P0npnQS2itDBSyE0MHVo6+FyVGD5O2o2UyPqFc8raV/Qey71i+b l7aQOWw813VFovl4pfahdw+K8lCdxv+vRz9n04ZhT/4FBXFTIoAmr86Va6Kv3+RgoXAz 7uLrO5bJ4UqjhpII6o8VD1DUn+2tcl727jd1JH+mG0FWQnNG8Kt1A56D8kZIYWGMRebJ inW8bhgFmsCEPKLHv2SP3rG7Ky0MknKEV5157l9aZhzh9ev1+iuDyCaUpVVyksGfI3bH hMnAKp3O4VQaLcPB0x9+h5GRAnXq0yfi8FKcnRiqndR18SfokKfHX2U8JXgePgegbAlP ewpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=OOHkyTYJ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f6si15014404edu.604.2020.08.19.02.56.27; Wed, 19 Aug 2020 02:57:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=OOHkyTYJ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727120AbgHSJwl (ORCPT + 99 others); Wed, 19 Aug 2020 05:52:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727116AbgHSJw1 (ORCPT ); Wed, 19 Aug 2020 05:52:27 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58C17C061757 for ; Wed, 19 Aug 2020 02:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qyStfxigeqXnniOsrsuizuoqoxTg0wgRo7vCsjfVzEc=; b=OOHkyTYJoq3OuBZjZ56S+wm9aV QY3jQ89BXjA6eMsZg+JT36gb7XQC3ex6SixFYXs/BQ+okOgJxctUXqB9UEvyQGzXGhCCqsNtxpCZd egtUME+C4w/5v9XcJqOTVPy93zCX4cJ4NiU8VRTTNbcT1c5wYJPPnXyKkP7W1KgPHB1g=; Received: from p54ae996c.dip0.t-ipconnect.de ([84.174.153.108] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1k8KlX-0000Dw-Px; Wed, 19 Aug 2020 11:52:19 +0200 Subject: Re: [PATCH] mac80211: send only vlan group traffics in 80211 xmit path To: Seevalamuthu Mariappan , johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org References: <1597819527-31887-1-git-send-email-seevalam@codeaurora.org> From: Felix Fietkau Autocrypt: addr=nbd@nbd.name; prefer-encrypt=mutual; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13tHkGFCoCr4Z5 Pv+XRgiANSpYlIigiMbOkide6wbggQK32tC20QxUIwCg4k6dtV/4kwEeiOUfErq00TVqIiEE AKcUi4taOuh/PQWx/Ujjl/P1LfJXqLKRPa8PwD4j2yjoc9l+7LptSxJThL9KSu6gtXQjcoR2 vCK0OeYJhgO4kYMI78h1TSaxmtImEAnjFPYJYVsxrhay92jisYc7z5R/76AaELfF6RCjjGeP wdalulG+erWju710Bif7E1yjYVWeA/9Wd1lsOmx6uwwYgNqoFtcAunDaMKi9xVQW18FsUusM TdRvTZLBpoUAy+MajAL+R73TwLq3LnKpIcCwftyQXK5pEDKq57OhxJVv1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Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <1597819527-31887-1-git-send-email-seevalam@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2020-08-19 08:45, Seevalamuthu Mariappan wrote: > AP-VLAN multicast/broadcast packets are expected to be encrypted > in software. Those packets should follow 802.11 xmit path. > AP-VLAN unicast packets can go with encryption in driver/hardware. > Redirect these packets to 'ieee80211_8023_xmit' from > '__ieee80211_subif_start_xmit' if encapsulation offload is > enabled on AP interface. > > Signed-off-by: Seevalamuthu Mariappan Please take a look at the encap offload cleanup series that I posted and build on it before sending new patches that touch this code. - Felix