From nobody Mon Aug 29 06:35:43 2022 X-Original-To: dev-commits-src-all@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 4MGLKq2RYvz4bQQb; Mon, 29 Aug 2022 06:35:43 +0000 (UTC) (envelope-from git@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 4MGLKq1t46z3Zdj; Mon, 29 Aug 2022 06:35:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661754943; 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; bh=Fu+VNKiELZqFqT0GW6sIIQIJz2r2wKlC1gW0baWuUBE=; b=JNEdyKbCvg7b35emEDS8DF+dG4v9pakgn2Nmz0V+y1Wx7Mu1Xvoz6xa1j6cySlmfPPJujk uGcgGtFNGDUItBINYtx84bO1WqMK7kNlm6Wf7y+Ows4RUL1eb/YSrJllRcBb7opGISuk07 H5zBz6p7CLqd5uq2aR5CxuyC7UYHZDDbpp+F28S1odTVhXF3Ksn1CEIwmWWG0ymO2fvR60 6vzpyTSq6bbMMlYC1mDDQHRNpFmb3sdsj/vrFwigK4Pm6gPDh4X17KcExGLO4FjsEuEWmU 9MGAWX2qItMmkhoGOAmafBPiHCwMfe/LM4GpLYVlSdK7fvcLKiYUH+TUKTcPSw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4MGLKq0vGpzLS9; Mon, 29 Aug 2022 06:35:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27T6ZhEt028341; Mon, 29 Aug 2022 06:35:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27T6Zheu028340; Mon, 29 Aug 2022 06:35:43 GMT (envelope-from git) Date: Mon, 29 Aug 2022 06:35:43 GMT Message-Id: <202208290635.27T6Zheu028340@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Wei Hu Subject: git: 9e772f203ff2 - main - mana: Fix a couple i386 build errors List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: whu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9e772f203ff2bd296d8ef234681b6db5d43c7582 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661754943; 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; bh=Fu+VNKiELZqFqT0GW6sIIQIJz2r2wKlC1gW0baWuUBE=; b=Cpy1G4dAntHfCv/20nebzFiq7zhMIWvsgJNRWapYNBLMGUGAzbrACGOe0xHMZFDB2NaUo9 AM0UB6A5Og/MUQgOj+YMApRTkZb0qooF5t6Xt+VaWhRYuOJ63whqpz++ZSzVtQMXfYp7Bn HvJC/YG7UrxtNV8mBYhhJC2RIdXkNc/IgutHXGn6QhdKmh+ORo1P9iFrAdYvibStx37rg0 4i6fh3vJWGQ8ANVGSKwNj82loXHmLhdEerY2GjKlkCnTQ5jB+Sa5gRuG6DDR+JooJbkhlf VVTCMV2QPIV2EWyZ1+sUyYuBbeT3azl3Pj8dCDpoJXaqmEMJPL4bKFc1LVwjpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661754943; a=rsa-sha256; cv=none; b=O7ZCIj8wFMwcpsYOKMgyVc5ITQv4KmsJWT53ZSsskZcbT5A/b0HxXb6vVzfD9Qxgxenc7L hsERNdY28PPQBPJpKxC/XK7Ra1GOwSNZ6j4hja0kCRzGTB/9+E6rQO1LbnpslwIptcbUcr 9Yhc80ixn9AbXfIOB7v3QLo9u04WznDzAYAMpJPWeDL53OnLmtTscuAAsMCkoPVM8R+OoC pim6yc0lXhgjYyLg1D1YCXSUxTsTZq6g+NmIvO+7GfOi824mxia9t/oiKdmhsdX0mIjvZo A4mO04L0SAVdLa7rH5OaEuA6rQA1vMLQurJndboGmCHuuhBxcx5mhppbGkfrNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by whu: URL: https://cgit.FreeBSD.org/src/commit/?id=9e772f203ff2bd296d8ef234681b6db5d43c7582 commit 9e772f203ff2bd296d8ef234681b6db5d43c7582 Author: Wei Hu AuthorDate: 2022-08-29 06:30:49 +0000 Commit: Wei Hu CommitDate: 2022-08-29 06:35:02 +0000 mana: Fix a couple i386 build errors Fix a couple i386 build errors Fixes: b685df314f138 Sponsored by: Microsoft --- sys/dev/mana/mana_en.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/dev/mana/mana_en.c b/sys/dev/mana/mana_en.c index e504df1c8a8d..5e5e3939753f 100644 --- a/sys/dev/mana/mana_en.c +++ b/sys/dev/mana/mana_en.c @@ -1054,8 +1054,11 @@ mana_cfg_vport(struct mana_port_context *apc, uint32_t protection_dom_id, apc->tx_shortform_allowed = resp.short_form_allowed; apc->tx_vp_offset = resp.tx_vport_offset; +#if defined(__amd64__) if_printf(apc->ndev, "Configured vPort %lu PD %u DB %u\n", apc->port_handle, protection_dom_id, doorbell_pg_id); +#endif + out: if (err) mana_uncfg_vport(apc); @@ -1124,8 +1127,11 @@ mana_cfg_vport_steering(struct mana_port_context *apc, err = EPROTO; } +#if defined(__amd64__) if_printf(ndev, "Configured steering vPort %lu entries %u\n", apc->port_handle, num_entries); +#endif + out: free(req, M_DEVBUF); return err;