Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8069943ybn; Tue, 1 Oct 2019 02:43:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRZspQo0X0oBbft9AAXeOD/eXoDziIA/ozFQ3WSgGElPjHQ9tgQtiln1wjl8gO2BGACDR4 X-Received: by 2002:a17:906:e297:: with SMTP id gg23mr22689810ejb.47.1569922988690; Tue, 01 Oct 2019 02:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569922988; cv=none; d=google.com; s=arc-20160816; b=c+hMGFRqRWjzKgLchOFF9qDEBRq4nb7JrvjHBTy8dap9jp5EE3wXVBXQrImx9jB2fM DDTI3pdijRsl7uNnT05DzDca0T6odBuRePLYX8+ConrD1zioTs1DlhXFGC81ZLlnLkE6 m1FRf/BCiN8uvmy7tnIb3XhLCyT/7oO4KEyCtne86X2R9IxFf5mKvOjcRJcUabQXbliG p4/+aEyZlFv34Le8gXNsiKhC87otE0ij3I8Rfc+v+KK/FA4DuQ3kgJ3KZAfwhwbFYtN6 Bkp2nPUZ2femQU04S4cxEJ7Lc72m67gWdWCFu9eYZwYfbfXwI+Nb4o0RL1HUYSccG8++ 824g== 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:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=Mh6wre2rKFFqyiOsqUY6NZ90QmROWYjjTocjJiWZidA=; b=PBvFaJsZy4hM8+kd9H7VavhusiJ6oaRZD0beXQaeudvgPch0IV8AE2Hys8e0so1LO9 SnuYaO1ULZ0cIJSsRjrbTNOjM73PQv7eKZD87xf/KzQRs1ahLaltWoYuznhWPToL2zgP 9aDVIO+QWC3gJsxVaE9DyKXNURwG6t6iMPwb4H3iae3DSSTTFFHGPOVeQ4wsi7fxQLen 2BWfmCcKqUyz7l0NoWgp6jugjaglWTDRM6m5RZBK4QbMnrfv5fSUKeoHhWxSWa+w/doj ShmP8vnh1J9I13RFH1okyFtrhjAT/40NIK4n8erJhBtLiCnRWJekp2muBNqh1I01Q+sz pv8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bvqJYoue; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c51si8729757edc.317.2019.10.01.02.42.43; Tue, 01 Oct 2019 02:43:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bvqJYoue; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729537AbfJAJj4 (ORCPT + 99 others); Tue, 1 Oct 2019 05:39:56 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:58372 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726461AbfJAJj4 (ORCPT ); Tue, 1 Oct 2019 05:39:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1569922794; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mh6wre2rKFFqyiOsqUY6NZ90QmROWYjjTocjJiWZidA=; b=bvqJYoueSekMkW8BnbCd4LMUvAvg9tmFs6w3HfaFp7JkRAmoO9iQzV6AbIvgQ3nQpO1vkP sYVMCXf3hP6ohCeygFS61OdqWm7KtAX61G/DqXK50977/EhWIxwg0L5iopJQQ69xevwotV GAUqHT6Bxer2r1Ly0UqPz9fJdDjVpsQ= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-327-uCh_FY_rNTKk3ztvjI2EXw-1; Tue, 01 Oct 2019 05:39:51 -0400 Received: by mail-lj1-f197.google.com with SMTP id p14so3869023ljh.22 for ; Tue, 01 Oct 2019 02:39:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=0AV/qi7FN67vmYSpoNF3PK6oGKufZjhJSMJcgKxRuIA=; b=huEKCSKzDpNtqUMfYgrqNw0mgoUEjvkGM70CBQGxnYjztNsyOteZF/DWryCQS6eGPC K3B0SThE2GrdGGAN7oJmjB2Alum1X+a53OgqGmf8Ifhby6kztwvxxQEqPU2zgKsz9mKN 7uQYLJ4s0F4EW/JU8QccgkDDQOSHIxGnSOfNQO5UYl0k+OEod6nVrQ4cze6jdPVAg+IV An298Jw2nPRzsZnWbrvU+SdYhuM7zmCl0Wt/BkavvRHoBDCR8ncAHk0ZZ8w3Yzg9Ofoe Utkrui7TNt6S9JJnPaY3bJXpHrtGQ4jTE8MQn3HoAce4jYzIouVE68cB5Z5H78HfSMIc YsAQ== X-Gm-Message-State: APjAAAUzs4RNK1+Th7caRpD2tnxdqjgopMZDZZ1EIEEhprVf3p8KeukJ FiKmgIIAHmg61xbVa2n5b2d1qaef3LhFpQnLbNiRvTeej+sB9elXNrbk35i5fH9bte7CuuKmuyc D0KEaKLfjJXoZ/LBxG1pNxglrjdQ= X-Received: by 2002:a2e:6c08:: with SMTP id h8mr15479809ljc.28.1569922790270; Tue, 01 Oct 2019 02:39:50 -0700 (PDT) X-Received: by 2002:a2e:6c08:: with SMTP id h8mr15479799ljc.28.1569922790142; Tue, 01 Oct 2019 02:39:50 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk (borgediget.toke.dk. [85.204.121.218]) by smtp.gmail.com with ESMTPSA id h2sm3859139ljb.11.2019.10.01.02.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 02:39:49 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id AD83418063D; Tue, 1 Oct 2019 11:39:48 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Johannes Berg Cc: linux-wireless@vger.kernel.org, make-wifi-fast@lists.bufferbloat.net, John Crispin , Lorenzo Bianconi , Felix Fietkau Subject: Re: [PATCH RFC/RFT 1/4] mac80211: Rearrange ieee80211_tx_info to make room for tx_time_est In-Reply-To: References: <156889576422.191202.5906619710809654631.stgit@alrua-x1> <156889576534.191202.17686228416284995279.stgit@alrua-x1> <87v9t8vnn5.fsf@toke.dk> X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 01 Oct 2019 11:39:48 +0200 Message-ID: <87lfu4vm6z.fsf@toke.dk> MIME-Version: 1.0 X-MC-Unique: uCh_FY_rNTKk3ztvjI2EXw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Johannes Berg writes: > On Tue, 2019-10-01 at 11:08 +0200, Toke H=C3=B8iland-J=C3=B8rgensen wrote= : >>=20 >> Awesome! Any idea for how to make it work on big-endian systems? I got a >> splat from the kbuild robot that triggered the BUILD_BUG_ON when >> building for m68k. I assume it's the union with codel_time_t that ends >> up being aligned wrong... > > Hmm. Pad out the u16 part of the union by putting it into a struct, or > perhaps it's enough to make the union __packed? Yeah, another level of structs would probably work, but wanted to avoid another level of indentation. Although I guess even that would not make this the most-indented part of ieee80211_tx_info ;) I guess I'll look into the __packed thing, and go with another struct otherwise... -Toke