From owner-freebsd-net@FreeBSD.ORG Tue Jul 2 15:56:51 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 324E5D24 for ; Tue, 2 Jul 2013 15:56:51 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 0926A1702 for ; Tue, 2 Jul 2013 15:56:50 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id 4so3731697pdd.34 for ; Tue, 02 Jul 2013 08:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokukino.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Jk9Nor0FTRvjBCYtUAkkvzmjmLL7RR2gLC0T44Nn4aw=; b=GTAncEtu2MUwn0BqpS2aWK660l9fHSdSyICFyvfNjYgUi1wSusBr3w5FbP1HABMYpJ S3rp4972PhcBRuwDqKbHSbNxAZLT8jJcfhE6JBOX2pzed/koyB7P/crqii90zBTA+SKl deRml/+GguJ8B1NElZ/ANd2FqnDxr/GPA2B4Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=Jk9Nor0FTRvjBCYtUAkkvzmjmLL7RR2gLC0T44Nn4aw=; b=mrf88mhJ31Id1UdxWElXbfPD+sUa4OmmnWEo+d4UTsMkNTA3bkdBs4RtQjrDX9xDXr 1uK6bad6XTZV7vmS8rPninCsMeQ/IGGK3E0u2wZNGkFZyI+zzKATWU7zA4w2eYuwej1l nMUAvHAyqRrI2r1aH0uc8uNBj0tcNX+kaZwIgJVk1OYcXRn2bozi7sHRHp8lL1JvERFG hfh4ZFdLA8PkHYP5+e2w13wfjdLmE0eyXmaDr+BjQ15dJnRlgnGsg8QyYo2OCdHYeTDf 8nscui9lwvSoeKBvpnldKgwKz9w8gg1lPQ9U4HNh9AEX9bU32ivmDO0qaZEmPw2CEjkj WOtQ== X-Received: by 10.66.2.101 with SMTP id 5mr20341863pat.82.1372780610563; Tue, 02 Jul 2013 08:56:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.222.34 with HTTP; Tue, 2 Jul 2013 08:56:10 -0700 (PDT) In-Reply-To: References: From: Takuya ASADA Date: Wed, 3 Jul 2013 00:56:10 +0900 Message-ID: Subject: Re: Multiqueue support for bpf To: Luigi Rizzo Content-Type: multipart/mixed; boundary=bcaec518248ea5c9a804e089646d X-Gm-Message-State: ALoCoQlPyI5JWg3UveZC9jhNhvdYC4QPTloV52qsy9rRzTDW1JTIya2uA6vxcx2H7SN899hK75Kw X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2013 15:56:51 -0000 --bcaec518248ea5c9a804e089646d Content-Type: text/plain; charset=UTF-8 Hi, Do you have an updated URL for the diffs ? The link below from your > original message > seems not working now (NXDOMAIN) > > http://www.dokukino.com/mq_bpf_20110813.diff > Changes with recent head is on my repository: http://svnweb.freebsd.org/base/user/syuu/mq_bpf/ And I attached a diff file on this mail. --bcaec518248ea5c9a804e089646d Content-Type: application/octet-stream; name="mq_bpf_20130703.diff" Content-Disposition: attachment; filename="mq_bpf_20130703.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hin9onwa0 SW5kZXg6IGlmbmV0LjkKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gaWZuZXQuOQkoLi4uL2hlYWQvc2hhcm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MyX3QpOworCiBwY2FwX3QJKnBjYXBfb3Blbl9saXZlKGNvbnN0IGNoYXIgKiwg aW50LCBpbnQsIGludCwgY2hhciAqKTsKIHBjYXBfdAkqcGNhcF9vcGVuX2RlYWQoaW50LCBpbnQp OwogcGNhcF90CSpwY2FwX29wZW5fb2ZmbGluZShjb25zdCBjaGFyICosIGNoYXIgKik7CkluZGV4 OiBwY2FwLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PQotLS0gcGNhcC5jCSguLi4vaGVhZC9jb250cmliL2xpYnBjYXAv cGNhcC5jKQkocmV2aXNpb24gMjUyNTA5KQorKysgcGNhcC5jCSguLi4vdXNlci9zeXV1L21xX2Jw Zi9jb250cmliL2xpYnBjYXAvcGNhcC5jKQkocmV2aXNpb24gMjUyNTA5KQpAQCAtNTA1LDYgKzUw NSw5IEBACiAJcC0+b3B0LnByb21pc2MgPSAwOwogCXAtPm9wdC5idWZmZXJfc2l6ZSA9IDA7CiAJ cC0+b3B0LnRzdGFtcF90eXBlID0gLTE7CS8qIGRlZmF1bHQgdG8gbm90IHNldHRpbmcgdGltZSBz dGFtcCB0eXBlICovCisgCXAtPnJ4cV9udW0gPSAodWludDMyX3QpLTE7CisgCXAtPnR4cV9udW0g PSAodWludDMyX3QpLTE7CisgCXAtPm90aGVyX21hc2sgPSAodWludDMyX3QpLTE7CiAJcmV0dXJu IChwKTsKIH0KIApAQCAtNjM3LDYgKzY0MCwzMyBAQAogCXJldHVybiAoc3RhdHVzKTsKIH0KIAor aW50CitwY2FwX3NldF9yeHFfbWFzayhwY2FwX3QgKnAsIHVpbnQzMl90IG51bSkKK3sKKwlpZiAo cGNhcF9jaGVja19hY3RpdmF0ZWQocCkpCisJCXJldHVybiBQQ0FQX0VSUk9SX0FDVElWQVRFRDsK KwlwLT5yeHFfbnVtID0gbnVtOworCXJldHVybiAwOworfQorCitpbnQKK3BjYXBfc2V0X3R4cV9t Y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