From nobody Tue Oct 29 05:05:50 2024 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 4Xcyrb23Y0z5ZlQ2; Tue, 29 Oct 2024 05:05:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xcyrb0CHVz4S9f; Tue, 29 Oct 2024 05:05:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730178351; 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=Iu7bpERoIrSaCOJJxErLYEiO+dvA2pc5ql7TmMrX8oM=; b=tIlqorQHpuLNnOhH5+koYusRcUIahFZD6pRErMOL2qxvAJT0AsJDyj3ascoR9xMeH9u/ey qlqNLv/m0+nCGKNbsghzroGY/+zyr0vJrQ28Yg2mqfUBPahOvKjR62VdIIs76t4MfcEFRa IwYH0W+yUYc59MpNnf6P8ZteqU87wediAXqVtb1dsF0S/dzmkuJT7MOMzASgtqYrCG20lV JKAn/3U+eWeHlXHDrjGWQ3hcDJtrSB/ln56nSon0GICYg+sXEthGpFQqYb4qgMEgy5ix6u eKiG3/ksl44kLN63cEZIpQbcjAdMbYJqFway6RzIf96gEuRNrloduIkUXRzXRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730178351; 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=Iu7bpERoIrSaCOJJxErLYEiO+dvA2pc5ql7TmMrX8oM=; b=AZtdggnFgs6BrbQ2pw0x5SWYeZNZ4lMhHJAAlyhFRmdTGhWy/2erSVH74GNOL0KVlmsTo4 YPYQKTSrM9THZEfx/5y5MsKfLMuQt4t+yYs5eYUtQ/w3+ZHSmkf9MpnVKBPShukK05tzzx NaDk8vkxMc+/CiZulZy5ZgA3KFr6Dbq0eus4aocRX2HAtoWByyFMBynxq1+Jb4z/4P0sJq coX3i6zKSOiZv5sVGcOwl4LYLMkUlPicXPP+apswdXuRWEmRH05QNv5kmXcyGCyd5LuCY8 XJjMecCkoDUhoE5C31OYyryAtsWgUdD792+BqJfcDR4xUefW8SEIPvYATBymuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730178351; a=rsa-sha256; cv=none; b=gR6wiumgr0+8I9H1c3Isb/MwdIfEaiKnDGan7jcR450/TqgVyrn00mUO6UeCNQ2FBOokTX blKaEjIq4DhIHA0v6+O52ItJQM1vZwPBY9qk4nG0bg55pXtYh5y7BG48Mwx2/EDj010Oc2 g/UpwslSRWCQ8niBYD+5l0GODTvN7rE6XQpgJB1/8RuM3ClesPGLUcDAwWVFLlM0m8v5a5 QwoohU6queWiLXUbPZMiH5KKM97YyYLIHT5L8y5sHiHpG5uhQw9rZv0xEBWKVVMSnOQnwK uImheq7v9514eQqOE1lKjx2Qc4v/QHGnLo+2IwuOHKNxpfWGTYntmDHbgKriOA== 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 4XcyrZ6pKqz18bN; Tue, 29 Oct 2024 05:05:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49T55oYv091361; Tue, 29 Oct 2024 05:05:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49T55o1M091358; Tue, 29 Oct 2024 05:05:50 GMT (envelope-from git) Date: Tue, 29 Oct 2024 05:05:50 GMT Message-Id: <202410290505.49T55o1M091358@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: bbe4a6a3f2b9 - stable/13 - if_ixv: fix build without NETMAP 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: bbe4a6a3f2b9d418ca6833cf9f628096d22bcd85 Auto-Submitted: auto-generated The branch stable/13 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=bbe4a6a3f2b9d418ca6833cf9f628096d22bcd85 commit bbe4a6a3f2b9d418ca6833cf9f628096d22bcd85 Author: Konstantin Belousov AuthorDate: 2024-10-26 23:37:09 +0000 Commit: Kevin Bowling CommitDate: 2024-10-29 05:04:40 +0000 if_ixv: fix build without NETMAP Sponsored by: The FreeBSD Foundation (cherry picked from commit b0993e3bcaec60701f3ae56df255433eb4bcd091) --- sys/dev/ixgbe/if_ixv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c index 7535d8c15204..91ed47df429d 100644 --- a/sys/dev/ixgbe/if_ixv.c +++ b/sys/dev/ixgbe/if_ixv.c @@ -1373,7 +1373,9 @@ ixv_initialize_receive_units(if_ctx_t ctx) struct ixgbe_softc *sc = iflib_get_softc(ctx); if_softc_ctx_t scctx; struct ixgbe_hw *hw = &sc->hw; +#ifdef DEV_NETMAP struct ifnet *ifp = iflib_get_ifp(ctx); +#endif struct ix_rx_queue *que = sc->rx_queues; u32 bufsz, psrtype;