From owner-soc-status@freebsd.org Sun Jul 24 12:51:15 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21FAFBA2207 for ; Sun, 24 Jul 2016 12:51:15 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com [IPv6:2607:f8b0:4003:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD3BB14EF for ; Sun, 24 Jul 2016 12:51:14 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: by mail-oi0-x242.google.com with SMTP id w143so14384649oiw.2 for ; Sun, 24 Jul 2016 05:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=90jM7OsKmWXTXYJtCwtq0A4ffFvwe9egv/sGsgZ46os=; b=KvbODZS1KvLfeyBecWaiI1Itrv32Yb5+ZBlvtSNXNKsticDWnBCSptFTQ1tFwXyMac HMtemcVJTfKYqu80oT032yTlYQpQC/7O9F4GG+mtoHHn+1d6a9RWmyXomPAziRzwFW2M 6P+3RrJ08V+V4Q28oyJmtWpfhXhe9qfjnylzCUVMIfGGI2T0nCJ0JsWqYlDCCpItnt+3 7BwRCHrcLG5WP5AAjFsMfXxSq4rG9HxLjkoi2gxWY3iyxx1O9bQ9D25oZ2eMBZ5J0Lgt xRGBO9yI/Eh9e1fVskn9+KVcVghjog35QcXnuy1LoNnvMTBrM2n54q4IrDJa7V1AzdcW 1GhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=90jM7OsKmWXTXYJtCwtq0A4ffFvwe9egv/sGsgZ46os=; b=i20OFn19WX9GZuJapjJTbard1fXm/HAMtwY5rFiEWRhpTdnqqNgMlmtIcp0mmdgF9s ZU9K0dFzilaV33MCuwPv50ImWuDc9wqJOYA4HaB9eigVHMHPdQXhI6QB7zWPz5VNuH/P MCqlr+R2y2XH8Tv1thFpyzWPkxf2XygMPgGCahZCpvbUCHMaZmyyGABgPVSebyV/uvV1 4na0F0a4v1FqMocd1qryYDukrv0YpoMXlKTKWK+ENrSZgvY5/NHcTZfMYs/q9ceE+MrQ +dxQA6p7ZgQRVo5F+q7pqRr3cLLpPb1jHT1+q8Sj7fuZMjcCzGlbHpsaLWVAu/BZ9LU3 dUAw== X-Gm-Message-State: AEkooutkB3I0phoLecl+rJ7cJA8Srw6VtJB1ZNqji7OBJZ9i1epnSA3pNBf4wvZoDoKqLt4zt7vrK475XRuOYg== X-Received: by 10.157.18.246 with SMTP id g109mr7553190otg.180.1469364673816; Sun, 24 Jul 2016 05:51:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.95.195 with HTTP; Sun, 24 Jul 2016 05:50:34 -0700 (PDT) From: Bhimanshu Kumar Date: Sun, 24 Jul 2016 18:20:34 +0530 Message-ID: Subject: Add SCSI passthrough to CTL To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2016 12:51:15 -0000 *Introduction : *CTL is the FreeBSD SCSI target layer. There are various SCSI commands, but it's usually used for block-level access. This projects focuses on making CTL capable of providing physical optical drive as a whole to the initiator machine Link : https://github.com/bhimanshu1997/freebsd Report for last week (17th July) 1. ctld(8) kernel.c code updated for passthrough-device and address luns. 2. code added to distinguish device or address type of passthrough , to create appropriate request to create lun 3. checks added for size and path with passthrough. No size and path should be set if it is passthrough. 4. conf_apply of ctld.c updated to check new and old lun on the basis of passthrough and passthrough, lun and passthrough , passthrough and lun. keeping the older functionality (lun and lun) intact. Report for this week(24th july): 1. XML parse coded added in CTL (ctl.c) and at ctladm side also. now ctladm devlist -vx will give passthrough details also in XML format. From owner-soc-status@freebsd.org Sun Jul 24 14:00:50 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E35ACBA32CD for ; Sun, 24 Jul 2016 14:00:50 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from BLU004-OMC4S4.hotmail.com (blu004-omc4s4.hotmail.com [65.55.111.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 817CD1398 for ; Sun, 24 Jul 2016 14:00:50 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from NAM01-SN1-obe.outbound.protection.outlook.com ([65.55.111.137]) by BLU004-OMC4S4.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 24 Jul 2016 06:59:43 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LTHXTxX8Hid//0zoYo0n11FM7soa5je+9T0vEXATME8=; b=UsFoWP1Q9sMZHVm8lmMIejxIZADQ6m4FitmSyQekLFerD00+EOkfS3nmreBGLEmOr67snfq6WNCs93rw0gKYQ0GmAbA6rluzNrZ25j+KQ28eMgd2KdgkZNpJUFohl8a08QIOr+QPY/Obq4EcDJ/PFh2F6D58ikGwtiw0m+lujsi4wbKZf2HbrII57hc+sruhOSLu0tLXKIh0YP7rjHbWObbmr7n4rErmMjFuk3TlIlsk4d7JQJAhtaMSXsU0i06nxDfypOL21xj/M6ML8d2BuW22M/ufOF2o7thVtaSyOXzQOPb+iDUu8oM0aIeF5v4hXAGcc+Wc59JghzQVcre6Rw== Received: from SN1NAM01FT044.eop-nam01.prod.protection.outlook.com (10.152.64.52) by SN1NAM01HT024.eop-nam01.prod.protection.outlook.com (10.152.64.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.5; Sun, 24 Jul 2016 13:59:42 +0000 Received: from SN1PR11MB0782.namprd11.prod.outlook.com (10.152.64.57) by SN1NAM01FT044.mail.protection.outlook.com (10.152.65.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.5 via Frontend Transport; Sun, 24 Jul 2016 13:59:41 +0000 Received: from SN1PR11MB0782.namprd11.prod.outlook.com ([10.163.207.24]) by SN1PR11MB0782.namprd11.prod.outlook.com ([10.163.207.24]) with mapi id 15.01.0544.019; Sun, 24 Jul 2016 13:59:40 +0000 From: suraj ponugoti To: "soc-status@FreeBSD.org" Subject: Fw: Adding SCSI Passthrough to CTL Thread-Topic: Adding SCSI Passthrough to CTL Thread-Index: AQHRvav815GxMm76Q0+QqDqRN2o8xp/lXrOugAu0So6ACrp7t4ALEe2egAwwxbWACYadQ4ALVJho Date: Sun, 24 Jul 2016 13:59:40 +0000 Message-ID: References: , , , , , , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 10.152.64.57) smtp.mailfrom=outlook.com; FreeBSD.org; dkim=none (message not signed) header.d=none;FreeBSD.org; dmarc=fail action=none header.from=outlook.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning outlook.com discourages use of 10.152.64.57 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [1qxo3VcuC35DsJHItN6wklZPtp2RslA1] x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:10.152.64.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1NAM01HT024; H:SN1PR11MB0782.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; x-microsoft-exchange-diagnostics: 1; SN1NAM01HT024; 6:lWh03aXPM+loxqWNPdVFlzi44jmHDLGHE/ZcUl4SpqkE11K/6Hlsgd7XOYo/SXcoKf+ajLZ5Bpfc5lafN/kcen1/kt3uIpVjwVjsed+TrEZ6K2F7Ns/4d4txQsRHsjrU6DtQ0/yuGqSr+vR6+sYm4wjAnTIpC1XkxPrK9Ip+sqct0RPKeR3h6F/EgjYn3rL63HPbtuRYuao4wvEqFi40AvPnTeGPnsdACW1F+BEEhvk+s3qlWduEp44NIH8Eq+JerJG1KHx/R6BSdLWpEKIEM3ngmEVvFkFqmQd0qaWpvNpPfU/JcTlnPflh6+G0uBva; 5:sngvy9NmrNtjpBdY4i2XO2LIF+ONCil82t8Zrnk9IpiNmsqvhCNYt4N20B+stAMkudYhxoj9WBekeYWTe21UQdG8Sb6JnxQjIGDo32bLHlTtAFKI3t3o2VG0FYmg+Dhd/vfvFmRv5zeLFnuebS2nWQ==; 24:mane5mPCo3lrti15Q0M8nSuNnAuwIkL913CsRfHAtCq2AILmltgzZ9IYE6lk8/y5+l1dEUy8a8AYSudHCLx7AQGy05rhOEUorjfad1TnPHg=; 7:7r9A/TPiKaOQ0JEAQ1UMNDpL9cW6gh2nDyGl94ADD9BmFlgESc0rMLTvtSAa7VROd6mtaisFbJ5RW7/pMM11vuH4TNNk0T/T/xSgkKrRDzE05QMen7XtFuYcKw/qG7sV3yydijYfmyO6retHf3CImupubIU6mUa5eYQe6V+VBBtnMLaJ82obd2UrkeL4gLJHNbuVoGPus2pKkNJBEosiiBW2dYnHQ2c+fn4U79G4BVQk9IG+xdLhh1WKwj5DlH4u x-ms-office365-filtering-correlation-id: 6f4e2382-ed84-4bf5-5d4d-08d3b3cac205 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1601125047); SRVR:SN1NAM01HT024; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:SN1NAM01HT024; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM01HT024; x-forefront-prvs: 0013079544 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2016 13:59:40.7497 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM01HT024 X-OriginalArrivalTime: 24 Jul 2016 13:59:43.0073 (UTC) FILETIME=[A0D5D510:01D1E5B3] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2016 14:00:51 -0000 Hi, This project is about exporting physical SCSI devices over iSCSI through CT= L as an actual SCSI target. Wiki Page: https://wiki.freebsd.org/SurajPonugoti Git Repo: https://github.com/suraj5/freebsd Weekly updates: ctladm read,write, synccache and modesense commads are working. Thanks Suraj From owner-soc-status@freebsd.org Mon Jul 25 07:53:08 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C9F6BA3824 for ; Mon, 25 Jul 2016 07:53:08 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C860C1378 for ; Mon, 25 Jul 2016 07:53:07 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x231.google.com with SMTP id w18so241308570oiw.3 for ; Mon, 25 Jul 2016 00:53:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=bDEpHz3vgtczbdWL13JZGYTWpa/nEDsIhBNx71UOvnY=; b=vnyitnt9YuJsmpVQUj5vbcRVjmpTeHd77tlVrQuTr2kaKk1XPegDP2Gk7qFmGxvExH o5GOAgU6231gnwdEazOrIvM8YRxkgqktmerp58hwGyTXUEpwT804H20lnnUfWVEossu8 1uchwsS5HF+F5YlC3qOOclx3KJbL5f2PFM1sauUiKTITayaEVeckcnqBSKgDgEa2x0+6 rGxlvyh3L2Hmc8lGw8+TLkJqgyt+zGrVwY7uyTg6w1aqShrqkJSc7Dar9Q/ZaZfqpSyR wBvkCOGLFrUEAIBJdsu4N8d5thbkPzGTFZY81lGp/Uxq8GsHoN4qxyMc06jsa4VND9dG 5StQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bDEpHz3vgtczbdWL13JZGYTWpa/nEDsIhBNx71UOvnY=; b=aFijUNKS9YDSeqvFervkeZrNw2RnPGZMz5GufAKj98p6SrivsXbF9Hqn1PVjnkZiR4 a/pNVnvK8DvkRy2FP9MnYeiH/IAFmpUFvWJTD2cNwQFkIoyXNcmf3JruU9MJYLxzWPmO NSZythU3a0KiBMc6drI36+UCVO/qxzUgXVUYu6MJOkIeC2IevVRCO13dM2jRj8adUdSY o48gr7JUn6qfIBlPBBcCAYioMkjLdYhD/XLvrRUU+/GdzPfpA0TTj7NYc6Y5sO6oIj6O KBwFJtNzSTVosYtjOhyjN7ptxP6Oi/KRXY0c/jtp3lGDni5pWqmNJugS4IE+k7BEX8V1 Ji/A== X-Gm-Message-State: AEkoousqZBAYyW+U/RghFL6T9NADVnEUaOtPoisB+A/M4KXi35uF0c80ENt/bTUD3fSIGXIbsF8TxVcqKd+GHQ== X-Received: by 10.157.39.130 with SMTP id c2mr8065075otb.181.1469433186930; Mon, 25 Jul 2016 00:53:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.20.6 with HTTP; Mon, 25 Jul 2016 00:53:06 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 25 Jul 2016 09:53:06 +0200 Message-ID: Subject: High-performance TCP/IP networking for bhyve VMs using netmap passthrough To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2016 07:53:08 -0000 Hello Project summary ================= ptnet is a new multi-queue paravirtualized device that builds on ptnetmap to allow VMs to exchange TCP traffic at 20 Gbps, while still offering the same ptnetmap performance (10-100 Mpps) to native netmap applications. The purpose of this SOC project is to write a ptnet driver for FreeBSD and a corresponding device model for the bhyve hypervisor. Status update for week 9 =================== In week 9 I did some code cleanup, sharing more code with the linux driver. I tested the performance of the FreeBSD ptnet driver over QEMU-kvm, which give ~20Gbps TCP_STREAM and 40Ktts TCP_RR tests, which is aligned to the performance of the linux driver over the same hypervisor. I also started to take a look at bhyve and libvmm, to familiarize with the code, build system, and fix/extend the netmap support. This week (10) I will keep working on bhyve, trying to come up with a first skeleton of the ptnet model implementation. Links: Project wiki page: https://wiki.freebsd.org/SummerOfCode2016/PtnetDriverAndDeviceModel Code: https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c?view=markup -- Vincenzo Maffione From owner-soc-status@freebsd.org Mon Jul 25 08:42:18 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF69FBA438B for ; Mon, 25 Jul 2016 08:42:18 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3677918B8 for ; Mon, 25 Jul 2016 08:42:18 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: by mail-lf0-x233.google.com with SMTP id b199so123637034lfe.0 for ; Mon, 25 Jul 2016 01:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=GFAt2k/ctAht4Z+ltlbCc4nXFdr/7UgVKqOSqaYK4A8=; b=FDtakReYjLNbrin5F91ZZ+EfdMcYb6LqtzsK6X7Jou7i942d96ag/nY1rl/eVmxW8W QF8gfIU0iMLNys8AbPEDE0eEULzeguKoCUvA9Inv4gyGnoyciEd/M96R7skTgwOadVyL C4fhYduyN4oQEBlPSQbZYjI+77sjrsxZ31eeQfukVZ/fXE3S0ky9ktewn4rvqEREWzyM QA28tm3dU/HDqSJqXfQnUQcnE6in1XMn2mYgz/fkXQsLu2LsHrgZ9QHSGt3JqPPhokKl r/xVESE+c00f5oHo7Fu654E5EZpiU7Y84ETs3V5YkkbthtcCyJdS5iHNxQMnxJ/u2WIR R1Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GFAt2k/ctAht4Z+ltlbCc4nXFdr/7UgVKqOSqaYK4A8=; b=NsQFDjBIdbRW7/tY3um8SV64nUsyoVBsw5OgItmYlHstVawn0FcJK+V7vq4RoDzfay MmOWOF9zqhhMEJe1iwcNPUQtp8lSPBTLRQWHmYPTr9RE6YNOgKh/35GW+N6ZRVbvXN1p AEyZca5DOLogUHzOiPtjNN8Jm+I3QPvueu5KHy9TvnxZXTWwLBUQwPNUcJTxBN5txvy3 90Ox9j5JGDEKfE1lBS/UxheTSc9DTHMyen5y7LHvvV1+wMBk39M5rpak2Y9HJhcScXKB 94BPwpI8nzhdmuCfRdex8wjb7xv5vXZoud4krdaz+SNF42EAp2ZlsvYW0BKvjkopW6K+ il8g== X-Gm-Message-State: AEkooutnpGseRCt/Q7iNFNIA82iErztrOffh5PRV6f4ayj/jBUUlnj014YYbv4Q30uioQMYw2tdt6EUMd1bOCw== X-Received: by 10.25.212.212 with SMTP id l203mr323463lfg.2.1469436136049; Mon, 25 Jul 2016 01:42:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.29.16 with HTTP; Mon, 25 Jul 2016 01:42:15 -0700 (PDT) From: Yuri Iozzelli Date: Mon, 25 Jul 2016 10:42:15 +0200 Message-ID: Subject: High Performance P4 Software Switch - Week 9 To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2016 08:42:18 -0000 Hi Project summary ======================== In this project I would like to implement a modified version of the reference p4 (http://p4.org) switch on FreeBSD, which uses netmap for faster packet I/O: the goal would be reaching the 1 Mpps order-of-magnitude speed (current reference implementation is limited to 150 Kpps for a simple l2 switch with 2 hosts). Week 8 ========================= trying to improve the packet replication engine. multicast performance still not good. Cleaned some code. Links: Wiki page: https://wiki.freebsd.org/SummerOfCode2016/HighPerformanceP4SoftwareSwitch#preview Code (gsoc-* branches): https://github.com/zarghul/behavioral-model Regards, Yuri Iozzelli From owner-soc-status@freebsd.org Mon Jul 25 09:36:09 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A844FBA394F for ; Mon, 25 Jul 2016 09:36:09 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E6A61A26 for ; Mon, 25 Jul 2016 09:36:09 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: by mail-lf0-x22c.google.com with SMTP id g62so124334975lfe.3 for ; Mon, 25 Jul 2016 02:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=fKWugVEtGOATL1Z2Kf681L0eaaXWdD5Fnlf+24/x5KQ=; b=b8RsivAXx0idJGj+noY84Pd0uQDV5P9Pu0ccdamX967eMdyuhFsJrexGIQMl6W4vJC B49o3nUYmd0pfsLyVLmBhbyRCzcZOATgmmV45yJJdGjvjG8BIcsnFLSMqLqINRGB86r9 7Vu1N0083HxPKb4pL3OkrB6ajB/TrViZ5QazIfCLVcEBdJfN7HXj3aPSXckQImuondqe hdiL5s2UalH8onMc8xoSqfIcRwMeFhWhFxWOJgJTDCF7VMFUOtRqqqgV33UN6A52o5tr 3oh+0nCYcVeAT7+FQuOACqX9VwRnl/mOUV25csQvkbkeb8yR7WgRKkJm2fGODTa7LKyL moEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fKWugVEtGOATL1Z2Kf681L0eaaXWdD5Fnlf+24/x5KQ=; b=ELvSMCFU8PGp6ffTc+PcI36L+KbB3VhzIqPSqVZq9Ktoc7X8G+SYTZxy0kisk+M7xM Wh1Pq+zTnc3Eb1wmaqOBwpyIwv/LIUaXa4XchVSNg8y89glYQntnX+sn1IksIelW9BOb uPyITOZy1r6MUhBSItdN9QZjm6LbLfEpnTnzQNli/4QNOLOAKTjq2uxPo23SENE8mlm1 SDpgNCIoe+MtjOPNurVfzIzt8SI+Mcxiy0Y0hebYUIBV91quCC2Dts5REK415Cwj2vYs wOjJN3Vj19MuMuQO+8aj3QFdyuoTEltSBBGdBJx2TDLK7BikzJ780azkoupikInRVQ1M apXA== X-Gm-Message-State: AEkoouu3pdKdX7cu+m5jMsnjruH44eaFDcfB6abQOJtD94KXrlz90uJsXV2QFEUUVo3MILPeIUGLQbWfKuGNew== X-Received: by 10.25.21.32 with SMTP id l32mr7318676lfi.158.1469439367237; Mon, 25 Jul 2016 02:36:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.29.193 with HTTP; Mon, 25 Jul 2016 02:36:06 -0700 (PDT) From: Adam Starak Date: Mon, 25 Jul 2016 11:36:06 +0200 Message-ID: Subject: libnv improvements week 9 To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2016 09:36:09 -0000 Hello! This week, I was working on red-black tree for find mainly. You can see the results at https://github.com/Dashhh/freebsd/wiki/Nvlist-find-update . Also I updated cnv manpage and wrote a dnv manpage. Best regards, Adam Starak From owner-soc-status@freebsd.org Mon Jul 25 13:58:13 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29005BA4534 for ; Mon, 25 Jul 2016 13:58:13 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9BD31284; Mon, 25 Jul 2016 13:58:12 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f68.google.com with SMTP id 33so11203526lfw.3; Mon, 25 Jul 2016 06:58:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject:date :message-id:cc:to:mime-version; bh=oiooexZC5kLGnBxf/j5YOnQ/A7bS6HIT6uNu5SS82XY=; b=AaTjiQ12ibF1+ZrJAoqXy3Rwg48i3ElUav5HjtqrJOCUv6dIyfk8l3CN5VKXXqGth0 JxcEPDW19Pq7gznEM3t+MEqInM4udty4vbv+gMiLgDM+5rKQ9Or92IDGuIOPFsfuxio6 r6lSFyxx7DWCJA1Lph8DBefLeZSyVB09SNocw7pj3h34fdDh8tNkVSlBLFTJQfBCsvaW xB8Y/jPvzi52HTTGzW3F/XMuqS/isOUOGfLeCg8wEjauPgqGjmp6nI2t3n862HDrlol9 W4x7DFrpLGQwhQoJJha2NDHp1gVkHC4AweAcA9VWn6nztBFanfBDERrP4/jNJjbYki7q aFVg== X-Gm-Message-State: AEkooutCD9K/RebuV7O2Z/Ly5y/BkXH5awEJv6X0X/KkTeC2wWLj6eTRDqSo/2cUMkehmw== X-Received: by 10.25.216.222 with SMTP id r91mr6673499lfi.33.1469454248218; Mon, 25 Jul 2016 06:44:08 -0700 (PDT) Received: from [192.168.0.15] (87-207-152-10.dynamic.chello.pl. [87.207.152.10]) by smtp.gmail.com with ESMTPSA id c125sm5569468lfe.10.2016.07.25.06.44.07 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Jul 2016 06:44:07 -0700 (PDT) From: Mateusz Piotrowski <0mp@FreeBSD.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Week 9 / Non-BSM to BSM Conversion Tools Date: Mon, 25 Jul 2016 15:44:08 +0200 Message-Id: <9870C723-0A57-4399-BA73-04AD7B9B8C55@FreeBSD.org> To: soc-status@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2016 13:58:13 -0000 Hello, this week I focused on the conversion form the Linux Audit format to the = BSM format. The conversion code was refactored a couple of times this week. However = this time it looks like we've finally designed an easy to understand and = maintainable framework together with def@.=20 As for now there is a bug in my program. It doesn't work on my mentor's = machine. There might be an issue with a Makefile or something like the = bitness of our systems - I develop my software on a 32-bit machine. I = don't know yet. If you'd like to know more about the current state of the project, drop = me a line. I'm going to publish a larger set of notes later anyway. Cheers, -m [Current branch]: https://github.com/0mp/freebsd/pull/45 [Wiki]: = https://wiki.freebsd.org/SummerOfCode2016/NonBSMtoBSMConversionTools= From owner-soc-status@freebsd.org Sat Jul 30 07:56:41 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CDE0BA85B4 for ; Sat, 30 Jul 2016 07:56:41 +0000 (UTC) (envelope-from ionutalex.teaca@gmail.com) Received: from mail-oi0-x241.google.com (mail-oi0-x241.google.com [IPv6:2607:f8b0:4003:c06::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB0271E6B for ; Sat, 30 Jul 2016 07:56:40 +0000 (UTC) (envelope-from ionutalex.teaca@gmail.com) Received: by mail-oi0-x241.google.com with SMTP id w143so9626236oiw.2 for ; Sat, 30 Jul 2016 00:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0MqQhU2kbHrC7xZe6zHbb4Atha6owwdD9QedptwkTlM=; b=YkC3++kWV3WEkK7VGD/V3G48gbv5vYs4TJrdBUK3nuYkzx6JX62UY0u1/ZiHeLxIRx 2oVj6fQa2YdAFm3D4MqlUcwsEY0qSg2i2EopvEDK9W2yrJ3UfagbBB6KpEY8YujMSw4K I2czhv+fJw7pL68KyGIi38ZYCFrZXzVE+wqSa3+kMremDSqW/haDdyS5D7XKFn+SYPSm b+Tm++ShM4nMhBc7gxapOnYk6BDEY/w+LRR9q6RHHLqbZdT2bnorFmvvMxpN3TBuUsSw mPFeIldhVuLEN0hMbgn3b4F+Ra+pJLpSGcy3kdQLCOvnq/f/xXRcqZO9wEhxY+ZQefna gCdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0MqQhU2kbHrC7xZe6zHbb4Atha6owwdD9QedptwkTlM=; b=DWs+Ow/vcVdb1hfifyuJ1B9LQNMdhdwegcY2rfJKTY145G3wGwbNQPKQFFkwu6Nk2P hXAOfRU9ddGL6di2lkgkUQ8w/NXZoH+B/uhx/onwgpPpA0QAM/a6tsrkEybdkbsa1DPj TehvvkgcM3bDfoe7lh2MV9iogqMDyqxybKWVzgQZobDq7tZF6GRKuunswY+O4EdYXBc3 DxhFCfeJHIfTPJqPqtJssFJaLX6mJOKt6YSSfl5syL8+ZAsZ/OL3/72NJUfMunm0dCJx Pca4n1iUphIG2Wc7b7FBEieD6e1VSsMJ6gFjMgTrvXVszh+tHqBJzcme3Y4OJxotcTgv dyGA== X-Gm-Message-State: AEkoouu+FjaDIXRpjl11L9OLaWfclbtvS9WmgRA+wPGv6/dLqmBtpyPUKtb4bCU9TKhXtxUwkbUsv20VqK6Urw== X-Received: by 10.202.75.215 with SMTP id y206mr24557145oia.195.1469865399395; Sat, 30 Jul 2016 00:56:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.18.130 with HTTP; Sat, 30 Jul 2016 00:56:38 -0700 (PDT) In-Reply-To: References: From: Alex Teaca Date: Sat, 30 Jul 2016 10:56:38 +0300 Message-ID: Subject: Re: [GSOC 2016] HD Audio Emulation For Bhyve Status To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2016 07:56:41 -0000 Hi, Meanwhile I have added some small functionalities in order to make it work with Linux and Windows virtual machines. The difficult part was rather to find the right setup to run Windows properly. Now, it works playing audio on FreeBSD, Linux (ubuntu 14.04 server) and Windows 2k8 server guests. One limitation I still have is the necessity to use hw.snd.latency=0 when play with Windows. I am working at the input features in order to capture audio. Thanks, Alex On Sun, Jun 26, 2016 at 8:49 PM, Alex Teaca wrote: > Hi, > > Short update. > > - implement the stream management operations (stream_start, stream_stop, > hda stream interrupts, hda_transfer) in the hda and hda codec > - create one thread per stream in the initialization of the codec which > runs as long as the stream is started and waits on a conditional variable > when the stream is stopped. > - implement the Audio Player used to play samples to the sound device > (/dev/dsp) (3 functions: audio_init, audio_set_params and audio_playback) > > Results: manage to play music in a bhyve virtual machine :) > > Thanks, > Alex > > > On Fri, Jun 17, 2016 at 9:52 PM, Alex Teaca > wrote: > >> Hi, >> >> I added a pin widget (Line-out) and now the Audio Output Widget is >> enabled. The codec is installed as pcm0: >> root@vm_hda:~ # cat /dev/sndstat >> Installed devices: >> pcm0: (play) default >> >> The next step is to implement the stream management operations such as >> start_stream and stop_stream. I have taken a look on the Stream management >> chapter from the HDA specification in order to get familiar with these >> operations and study the driver implementation (hdaa_audio_setup, >> hdac_stream_start, hdac_stream_stop) to see what registers are programmed >> and what commands are sent to the codec. >> >> Together with Peter and Alexander we chose the design of the interaction >> between the HDA controller, codecs and Audio player regarding the stream >> management. >> >> Thanks, >> Alex >> >> >> On Mon, Jun 6, 2016 at 10:01 PM, Alex Teaca >> wrote: >> >>> Hi, >>> >>> Here is the status with the features I have implemented so far. >>> >>> - set up the HDA controller as a PCI device in bhyve >>> - design the layout of registers and implement the read and write >>> access to the registers >>> - implement the CORB and RIRB mechanisms in order to get commands from >>> driver and respond back >>> - add the hdac_codec module and implement the interface of >>> communication between the hda controller and codec >>> - describe the hda codec parameters for each node (ROOT, FG and AUDIO >>> OUTPUT) >>> - handle the GET_PARAMETER verb >>> >>> At the moment there is only one widget: the Autio Output Widget and the >>> hda driver has disabled it because it does not find any Pin widget. >>> >>> The plan is to add the Pin output widget and to continue with the >>> streams data in order to play some samples. >>> >>> Thanks, >>> Alex >>> >>> >> >