From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-x549.google.com (mail-pg1-x549.google.com [IPv6:2607:f8b0:4864:20::549]) by mail.toke.dk (Postfix) with ESMTPS id 52B79A34DBA for ; Mon, 23 Oct 2023 19:33:24 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=lmyrCn1i Received: by mail-pg1-x549.google.com with SMTP id 41be03b00d2f7-5b7bf88d712so2325279a12.1 for ; Mon, 23 Oct 2023 10:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698082402; x=1698687202; darn=xdp-project.net; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=TYNuecxtzZjpZH/6MqhOuU1Zd2Qk8RtvUHnT7LYxHjo=; b=lmyrCn1isbI+yfeo7ie/RlAxTr+uxA49bIn3QRlVAJGkoY0UL2EXKRTd25kAgXRFsj eJ64Ii2jnFj14X2VUc0i5T20DsdOg5Vvuy/c2eBlDvOZxUB2Paj35LBfi1K0FECvFDZQ bShzKZtUAzAFdaavKxW9aRlhzKRV/LjA5j6Hg24g/BA8154JOBporiI5Dk55D2i/HlBR phZDUv1qjAaZbBdtS2Ht3MrsoDyZCi3jenQLh4H5d2XGVxA0zPs+uc4HNEa4WkumCIYQ 6UqJknwztxvb7VUc1bY/L/rCQjrdCwjxOxU1/zeZv/fswNnSmMA6sCnV5dtPEcHzPNYZ GsyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698082402; x=1698687202; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TYNuecxtzZjpZH/6MqhOuU1Zd2Qk8RtvUHnT7LYxHjo=; b=bstVMFWecZBbxPHx7AFV496ME2Ne93fgnEqKhA6tZGY4h4iDVIrz7Cp7nS/AR0VGFY gIDssAe+2+i32YN2rHJf5j455vxR0Ip6zd7Usw9Swz8TE46Nj+KX7x5oWE0rjzrRF5CH LVapG00YJR6Q2wEeDA+4tvxdrIz2apm4JlZI+tt/n8K8Ak7uIlaA7AqqrVgU5dzQmnFl L6CIlG1AHWl/maORt8qS0MZ+y2ZcHvbcv85H2u4Qm/q65ov3o4OYGel879KUYhZxfREP dWdnYaGp6Sv152NeaicpbKnoF/qSJ97OnMqBvBU+Ueog8jjurlax3OJzxBGjGRRy6kOE 1e6A== X-Gm-Message-State: AOJu0Yx3gJtRt18tyihNY8me1cR3/LDj6dbyxlT03ecf6zgwHgC7sSZk Gw/8e0Vi8QJIghvdltKkv2r8kms= X-Google-Smtp-Source: AGHT+IG6fqVFdLE05i/CSXQXSSNf9aMPT9Hh+K6djI2RTsJP0k9WZS7ESjKpKYRZVUocDWtqyyvYfy0= X-Received: from sdf.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5935]) (user=sdf job=sendgmr) by 2002:a17:90a:e28e:b0:27d:2649:84b0 with SMTP id d14-20020a17090ae28e00b0027d264984b0mr348023pjz.3.1698082402373; Mon, 23 Oct 2023 10:33:22 -0700 (PDT) Date: Mon, 23 Oct 2023 10:33:20 -0700 In-Reply-To: <20231020181218.05ea35af@kernel.org> Mime-Version: 1.0 References: <20231019174944.3376335-1-sdf@google.com> <20231019174944.3376335-2-sdf@google.com> <20231020181218.05ea35af@kernel.org> Message-ID: From: Stanislav Fomichev To: Jakub Kicinski Content-Type: text/plain; charset="utf-8" Message-ID-Hash: JW52CHYQZHKGLPLBDORZ6VLWE4IESUDZ X-Message-ID-Hash: JW52CHYQZHKGLPLBDORZ6VLWE4IESUDZ X-MailFrom: 3Yq42ZQMKCck7suv33v0t.r31Cs4-wx287Cs4-463ytr8.2t8@flex--sdf.bounces.google.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, haoluo@google.com, jolsa@kernel.org, toke@kernel.org, willemb@google.com, dsahern@kernel.org, magnus.karlsson@intel.com, bjorn@kernel.org, maciej.fijalkowski@intel.com, hawk@kernel.org, yoong.siang.song@intel.com, netdev@vger.kernel.org, xdp-hints@xdp-project.net X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next v4 01/11] xsk: Support tx_metadata_len List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 10/20, Jakub Kicinski wrote: > On Thu, 19 Oct 2023 10:49:34 -0700 Stanislav Fomichev wrote: > > - 4-byte aligned > > But there is an 8B field in it. Won't this trap on some funky > architecture of yore? Hmm, good point, will update this to 8 byte alignment and will use 8-bit timestamp as a reason.