From nobody Mon Jul 31 15:34:37 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RF2R701D2z4qCvS for ; Mon, 31 Jul 2023 15:36:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RF2Nh2rpPz3C46 for ; Mon, 31 Jul 2023 15:34:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690817684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6+VW4Th2xZKRrEhx9K0yx/ItgLQGrrMzhbQd02l+Pg4=; b=oRGOXUQYfX23HggKd5GaTsIduhKajTTll0BO5HVvFtPdfS5zHLxsg7B/BPIkG/sXnbjGe0 I+y8c7JClsP05IO3j5KbL6Hw/pt9CQoqmhvFoOB0RnuKje6PsMRl0/+SKAOVEHTDsVlksU wt0mCgmY8Sz8fWbqi2E4nx1RfqqJPfK9+TNiELnTw3vAo7REE8lfONhXAuPbzMxMRgpW1R lj3FLQG4fBWXY7y5U8qMRYy1u8RG+yePxx9h84ssGJ91XOSIrt3bbcqOjuJvcrkUy3RexK FYE1g0uGV8vFNs+SmH/DVeh4BvZ1Rhw1MEbyNScwy7Yrjfg8eKCOrvOWFvVFsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690817684; a=rsa-sha256; cv=none; b=wZ7WEiFheDPIRqMER5R6F3z3w8j22A7UWuBmzS1lqz/LWWjpcdRHAuQ7TbTEC/WG0AaXNb ph5SRZUpVLd+Gvn0trAKGyUL5kg4VACevywKB75UhS0YWYR1xZ7KDHbTDNn4/Xoi9KlANc Sz6zmnXGe5ToohpiJ3X5oVVPXWrCgCb3NWG38hFJUqWLhfXrl3vd8DqTnnl5T/SeV/RMLP 5sojFsfdwzN4DnvXmn87g9CSjqt3BKt7+3M2MmcXT9HwaiQvQ+KTajBfcMVB3IYoGvfT0N H2GwFUplAfWbqRcpf6TiP584aqtLQz/Ej/SLe5ZSBOcuHFoXRoM6NhiTeWQGFg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RF2Nd5RCjz11X3 for ; Mon, 31 Jul 2023 15:34:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36VFYaeb092875 for ; Mon, 31 Jul 2023 15:34:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36VFYaO0092874 for bugs@FreeBSD.org; Mon, 31 Jul 2023 15:34:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272780] genet: General question of DMA alignment requirement for tx/rx_buf Date: Mon, 31 Jul 2023 15:34:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272780 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |karels@freebsd.org, | |markj@FreeBSD.org Status|New |Open --- Comment #1 from Mark Johnston --- CC'ing Mike Karels, who imported the driver. I suspect that genet does this so that the IP header is 4-byte aligned, sin= ce that could make accesses to header fields more efficient. But indeed, it's rather strange that rx_buf_tag is defined with an alignment of 4. I'd expe= ct that to result in extra copying. --=20 You are receiving this mail because: You are the assignee for the bug.=