Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C185C4360F for ; Tue, 2 Apr 2019 14:37:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A71C20857 for ; Tue, 2 Apr 2019 14:37:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730965AbfDBOhx (ORCPT ); Tue, 2 Apr 2019 10:37:53 -0400 Received: from nbd.name ([46.4.11.11]:45250 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbfDBOhx (ORCPT ); Tue, 2 Apr 2019 10:37:53 -0400 Received: from p548c86fc.dip0.t-ipconnect.de ([84.140.134.252] helo=[192.168.45.69]) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hBKXt-0003ID-DE; Tue, 02 Apr 2019 16:37:49 +0200 Subject: Re: [RFC V3 1/2] mac80211: add hw 80211 encapsulation offloading support To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Johannes Berg , Kalle Valo Cc: linux-wireless@vger.kernel.org, Shashidhar Lakkavalli , Vasanthakumar Thiagarajan References: <20190401131416.22646-1-john@phrozen.org> <20190401131416.22646-2-john@phrozen.org> <87k1gcpwgy.fsf@toke.dk> <5647fa751aed450f09312c35f8d5becd47e26b66.camel@sipsolutions.net> <878swspmdu.fsf@toke.dk> From: John Crispin Message-ID: <386f1922-93e7-f962-a3e3-e160ca57176a@phrozen.org> Date: Tue, 2 Apr 2019 16:37:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <878swspmdu.fsf@toke.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 02/04/2019 15:28, Toke Høiland-Jørgensen wrote: > Johannes Berg writes: > >> On Tue, 2019-04-02 at 11:50 +0200, Toke Høiland-Jørgensen wrote: >> >> [snip, you really should try that sometimes ;-)] >> >>> ieee80211_queue_skb() calls ieee80211_get_txq() which treats skb- >>> datalike it contains an 802.11 header. That is probably not the >>> intention here, is it? >> Indeed, that makes no sense. >> >>> I guess we could augment the TXQ stuctures to also handle 802.3 frames >>> (and introduce ieee80211_queue_skb_8023())? Or would it be better to >>> have a qdisc on 802.3-mode interfaces and push packets back to that? I >>> guess we'd still benefit from per-station queueing of packets even if >>> they are Ethernet frames, which would mean amending the TXQs would be >>> better? >> TXQs would be better, yes. We should do that. > Cool. Glad that we agree ;) > > -Toke Hi Toke, will add that for V4, thanks     John