From nobody Sat May 3 15:22:34 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1622792289; cv=none; d=zohomail.com; s=zohoarc; b=SmFQqaiuuY1MNUs8tVa8bRfdrqEPqRHd6VeN0vDPl9GAIf2ENPx3TRiVnIuSsUa0dBuYzjOQbwKjYOl+KKUA2R9EBvd8M51272jYs0fB/sD2Cahc6/d98F3Au6x3pGmivgb3PU7c8ndJDzqGQ9VedxK0PR9QTckKbAAm3HTPXJA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622792289; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=raig29GrIon/2iMwX6+zqb4Odzi24ZdrKDJpidCsAcw=; b=WF80jydQlkMTa/WNWa3R5kjTD6U8FilFvjnemqza+nxYcM1tQOwfmzbxMWRrsCrMM3WSqiiS9NIko6aAOjdG7ko9zLiEFfLgq+nC2JQsSyoAgKi6qpRw528MRCBPQslrCXaZuk0jUwa9QyKqBM7hUa7dO2Jsat5GfaKVSTSLJDY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from=<jasowang@redhat.com> (p=none dis=none) header.from=<jasowang@redhat.com> Return-Path: <qemu-devel-bounces+importer=patchew.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 162279228975950.70683827865639; Fri, 4 Jun 2021 00:38:09 -0700 (PDT) Received: from localhost ([::1]:55434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+importer=patchew.org@nongnu.org>) id 1lp4PA-0007KR-D6 for importer@patchew.org; Fri, 04 Jun 2021 03:38:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jasowang@redhat.com>) id 1lp4Na-0004b8-8G for qemu-devel@nongnu.org; Fri, 04 Jun 2021 03:36:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:23827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jasowang@redhat.com>) id 1lp4NY-0001RK-II for qemu-devel@nongnu.org; Fri, 04 Jun 2021 03:36:29 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-516-HXaPYZH7M2Oae2h5XGwhfA-1; Fri, 04 Jun 2021 03:36:24 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 24DAA8042B4; Fri, 4 Jun 2021 07:36:23 +0000 (UTC) Received: from localhost.localdomain (ovpn-12-212.pek2.redhat.com [10.72.12.212]) by smtp.corp.redhat.com (Postfix) with ESMTP id 867A461008; Fri, 4 Jun 2021 07:36:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622792187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=raig29GrIon/2iMwX6+zqb4Odzi24ZdrKDJpidCsAcw=; b=ck5rhNynoFn70ECcqIge7ffiGSI6tkTrCi4UeBxPJGBM+R49FhquXr5eJ295I4h6CtTVMJ LlY8UJyEmt2W/ZyMSlU7cAHLt3dvSZDVXWQTZqutRXhnfBtoAaefYrNlzuPlB7Y72cizrX Ukv4iJJhCB3TBO+28c0rlKCFfpibWqw= X-MC-Unique: HXaPYZH7M2Oae2h5XGwhfA-1 From: Jason Wang <jasowang@redhat.com> To: qemu-devel@nongnu.org, peter.maydell@linaro.org Subject: [PULL 1/7] net/tap: Added TUNSETSTEERINGEBPF code. Date: Fri, 4 Jun 2021 15:36:11 +0800 Message-Id: <20210604073617.69622-2-jasowang@redhat.com> In-Reply-To: <20210604073617.69622-1-jasowang@redhat.com> References: <20210604073617.69622-1-jasowang@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jasowang@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=jasowang@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.37, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Andrew Melnychenko <andrew@daynix.com>, Jason Wang <jasowang@redhat.com> Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+importer=patchew.org@nongnu.org> X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" From: Andrew Melnychenko <andrew@daynix.com> Additional code that will be used for eBPF setting steering routine. Signed-off-by: Andrew Melnychenko <andrew@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com> --- net/tap-linux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/net/tap-linux.h b/net/tap-linux.h index 2f36d10..1d06fe0 100644 --- a/net/tap-linux.h +++ b/net/tap-linux.h @@ -31,6 +31,7 @@ #define TUNSETQUEUE _IOW('T', 217, int) #define TUNSETVNETLE _IOW('T', 220, int) #define TUNSETVNETBE _IOW('T', 222, int) +#define TUNSETSTEERINGEBPF _IOR('T', 224, int) =20 #endif =20 --=20 2.7.4