From nobody Sat Oct 26 23:45:30 2024 X-Original-To: dev-commits-src-main@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 4Xbbqv0gJGz5bK6r; Sat, 26 Oct 2024 23:45:31 +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 4Xbbqv08c0z4dgJ; Sat, 26 Oct 2024 23:45:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729986331; 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=u5161lM8xXjHC8bu3aGQsW+EVqxjUo5Zyy5DqBj6Xv0=; b=vOQezOPb+DOugNWvTuSA8bJOKBcP95Qm9Jq56NqA84gwjeUR26YXv1lQ0izOxHRBTnrq5r aotpCJaMkjmkDO8THsafyOv6qWe5E85FxXc/PFT32FSvH61wqXdmdUf7s/F1MBfTjEmI5M zDfhXPsukJC/10Nk51CvbTC4MSEaXlKndLRS91iJ11mMao3iunRNk7IVzcwzlyixuKoyZH xQ6zx2F+m97GnUtxibTk9RsUPISv0uhjzR5prnp0I1Ck81wYj/US1MHzjiQNNUDlIQ7nqt f57/HbmoNHKcyXK3KTYZEh4JQpohftyvQj6bo7FuKJ0Pv5fPGCwMivCanrju6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729986331; 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=u5161lM8xXjHC8bu3aGQsW+EVqxjUo5Zyy5DqBj6Xv0=; b=NxlkDZFll6+nB6u/zZrNj9O+hU6rhVgMCBYWnoaUl2olEaGqtt6djTMoWBl+S29iHFlLfD Htez3Nqz1Z8MUsF1bEDePDW1Y/rHDV5F01Xvct7Vxj/oSHEO+XgtX+CJLwBkHdkwqpqlVD yShG7VuM1c7ZBVV7LS3JsSKbaJfFUXD8P0+OKeh623iDlWO7mnrIKnBT24AYd2hoZytNYd wvu/Ha5i+2K1otcOO3s37Np49PSub9mDFXFQMs/4XkUAlqhpvm6ZOe0MhJIvTzm27kT5i9 9w/mNZAYcA++DPAWUycZuHfYa7p4osS/zbX+AdrzgQw5aLjqjjapZM0n6CKyBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729986331; a=rsa-sha256; cv=none; b=CBek5WlCZ8kZZN9LDVtAnZp0eSBhVY+mXWb1kMDMKEzQezhozTyK3ocyFPYjY3uQndrqDN zpmPV/Lzjecv1F+vTV1skve2wWDgoOFIb0XmJ/wcSQzmYIfPM6Xntm4teLjdOzwO0DibH1 2A/GS48E92uigvN9bQOpHzJ0MNkEbuV0zY6bnKL+CMiK4qgS4gq6cSEwe/A9XI9NVgFeMX i8tT4EVSPri/qTebvCdGCUITVXc4tIdVekzGb6LgdNdH6UoFt54NRXaKE39/OvlnXVw9VG ExovM+fQ9H7K4RFRLQ6Mts2AuH1VvVDwNT5cBYnCKQlY84Oj1BQrxUWjO4Qrdw== 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 4Xbbqt6kdWzX7d; Sat, 26 Oct 2024 23:45:30 +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 49QNjUrS067585; Sat, 26 Oct 2024 23:45:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49QNjUfc067582; Sat, 26 Oct 2024 23:45:30 GMT (envelope-from git) Date: Sat, 26 Oct 2024 23:45:30 GMT Message-Id: <202410262345.49QNjUfc067582@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: b0993e3bcaec - main - if_ixv: fix build without NETMAP List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b0993e3bcaec60701f3ae56df255433eb4bcd091 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b0993e3bcaec60701f3ae56df255433eb4bcd091 commit b0993e3bcaec60701f3ae56df255433eb4bcd091 Author: Konstantin Belousov AuthorDate: 2024-10-26 23:37:09 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-26 23:42:48 +0000 if_ixv: fix build without NETMAP Sponsored by: The FreeBSD Foundation --- 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 d5fe1a5c6b30..467a56e7269f 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 if_t ifp = iflib_get_ifp(ctx); +#endif struct ix_rx_queue *que = sc->rx_queues; u32 bufsz, psrtype;