From nobody Mon Oct 03 15:28:52 2022 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 4Mh4Vr5fYkz4d15J; Mon, 3 Oct 2022 15:28:52 +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 4Mh4Vr54G2z49Yq; Mon, 3 Oct 2022 15:28:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664810932; 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=6FNus0m5SBR7iuNA+aBfFKbjjIHwwqyVJuNoGNsFtCg=; b=DIpey9AlFoC/vGTO2iX5cI/gN/97At13CJmvQ0cp1YFGUoHBOjfmipu+Hp7+rPizBywO8b YEgKS85XyFekGy/sN2v/1lp/FvosAiS5ZlZ/fq3AijeEab+m8KV0V794lzf9WLoYYkJEkV Q+HHxFrtF4jyWyB9YL2wPxE5gAicQPptFwGXrJwFFZKKekl0cfPLXBNt15yUDRdkkxMlLJ cu/aOn64nwzSN2jCnfQZrFtl1x1UIxwE5kklwTYvW3ZjHD1fRAQHOg/UNNq8E0qdF/VH1/ Oa4QKCZA7wCFIokISWI83EnLSimMOkqrnvtHuEbnnWRaZ1Mt9x1mjpBSAl8owA== 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 4Mh4Vr46ZHzFpd; Mon, 3 Oct 2022 15:28:52 +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 293FSqvw071500; Mon, 3 Oct 2022 15:28:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 293FSqtc071498; Mon, 3 Oct 2022 15:28:52 GMT (envelope-from git) Date: Mon, 3 Oct 2022 15:28:52 GMT Message-Id: <202210031528.293FSqtc071498@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 8a299958c1b5 - main - if_epair: fix build with RSS 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a299958c1b5889fd13623ed4017916ffb30a7e1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664810932; 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=6FNus0m5SBR7iuNA+aBfFKbjjIHwwqyVJuNoGNsFtCg=; b=nRhm3p2EDzlHgWMHoxNBU/o+7k1QBHJuj0fW0h/ooepQFi3gm6zIwsLFFt4gCFEmJRpNp2 ELgQUpDM27YRVHL7JPrJeECt4Anfetm37HezyOosV2mpSMY4++T69bu09/rEeqonYwztMc 679+xCGbXy1v+FYOI7f9N+04gXunEVRPVxgFRPNJ5of4tWdRJFoDlxY9UgBLqucV5YFV7n AcYmjSw+gaECK3zSQ3UrFi+086MI07zt5dPOlywbJipRZVRo2PqEky1IR5ntKsXlxZhJas vjCVSE9nbC6weKfL4pfmKC7zXcydNDKW8L0Oc4iVYOBv8TLfdODZG58UGHAFpw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664810932; a=rsa-sha256; cv=none; b=lpy+TrNhYJjutFt37sJBg4SvKMRW7R0oSDZhcwZPIwUAi6dPiwKHE8VJuUNuFR+D3cJALj QOhYM/dYJwTlZ1pvkPlUsCbHHwOm//sKD9RX0sRNz8Gr9Bz5aeqoD24mVmsITzjbRlOc5o pjZOsNt918aVA5TIPViCVPINXw/UiOXWNrDquS4s4nJhqnCFYOT4N1+gUSAG2rZRX/t/JH 29/WKcKB7Et69RsVHxnFpqPDcTd6B26yn9SLXz5zCmdoBdGlNcs/zVjlOT9fLW3xpmwQho HprKw+Z/EexUcsE2R6VEw4OBWcl2w8Gt8bWx46l+NIsB1hanXix2p1UQgHtFlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=8a299958c1b5889fd13623ed4017916ffb30a7e1 commit 8a299958c1b5889fd13623ed4017916ffb30a7e1 Author: Kristof Provost AuthorDate: 2022-10-03 15:02:55 +0000 Commit: Kristof Provost CommitDate: 2022-10-03 15:02:55 +0000 if_epair: fix build with RSS Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/net/if_epair.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c index 04b96ea49ec7..cbe75de52c0f 100644 --- a/sys/net/if_epair.c +++ b/sys/net/if_epair.c @@ -185,11 +185,12 @@ epair_tx_start_deferred(void *arg, int pending) } static struct epair_queue * -epair_select_queue(struct epair_softc *sc, const struct mbuf *m) +epair_select_queue(struct epair_softc *sc, struct mbuf *m) { uint32_t bucket; #ifdef RSS struct ether_header *eh; + int ret; ret = rss_m2bucket(m, &bucket); if (ret) {