From owner-soc-status@freebsd.org Sun Jun 12 06:14:33 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 DB80FAF0780 for ; Sun, 12 Jun 2016 06:14:33 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from BAY004-OMC4S11.hotmail.com (bay004-omc4s11.hotmail.com [65.54.190.213]) (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 B503E2AE4 for ; Sun, 12 Jun 2016 06:14:33 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from NAM03-BY2-obe.outbound.protection.outlook.com ([65.54.190.199]) by BAY004-OMC4S11.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 11 Jun 2016 23:13:28 -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=kAbsjc4G6jTlQSnD5gWoAplc3/iTniLHW0Lf5kVO104=; b=jNi1Dh7h4+QZCUk/ygUaBWiiZ3molVQdtcgxh33qJ77SR6O0+louXygO5xznQX61NcNZD5GsqdmQWltwOa4G6Q21doJEBT4rfAppT8qCuK+nYVZ8NmgZU3rAglSbGR7kupyQG9XnrFyPQQ/k9tcOwkSLtygIjlFLdS9qGpA1Z0E8MsWBIg9LdTQ2uBQidasMmoBRgVNoHsF+ml04csLscNSLkOEGnM8MM5xm/yTRIZ6Za8Yo8Ny0HZekk2+IEfjeanjjawy8m0qeZe5vUaDA3uRxcWkQeC8V2sBpZ+cK8N5o8+8N/9RT86EFBfwosBCXVfZGz9qg7Tjc+9fpWLgCPw== Received: from DM3NAM03FT054.eop-NAM03.prod.protection.outlook.com (10.152.82.52) by DM3NAM03HT033.eop-NAM03.prod.protection.outlook.com (10.152.83.201) with Microsoft SMTP Server (TLS) id 15.1.511.7; Sun, 12 Jun 2016 06:13:27 +0000 Received: from SN1PR11MB0782.namprd11.prod.outlook.com (10.152.82.59) by DM3NAM03FT054.mail.protection.outlook.com (10.152.83.223) with Microsoft SMTP Server (TLS) id 15.1.517.7 via Frontend Transport; Sun, 12 Jun 2016 06:13:27 +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.0517.009; Sun, 12 Jun 2016 06:13:27 +0000 From: suraj ponugoti To: "soc-status@FreeBSD.org" Subject: Adding SCSI Passthrough to CTL Thread-Topic: Adding SCSI Passthrough to CTL Thread-Index: AQHRvav815GxMm76Q0+QqDqRN2o8xp/lXrOu Date: Sun, 12 Jun 2016 06:13:26 +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 25.152.82.59) 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 25.152.82.59 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [7RB2s1TIJuTdY6K8fx22LrfOnPgzuMzi] x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:25.152.82.59; IPV:NLI; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM3NAM03HT033; H:SN1PR11MB0782.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 54bc2cbe-47bc-42fa-322e-08d39288aaea x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1601125047); SRVR:DM3NAM03HT033; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:DM3NAM03HT033; BCL:0; PCL:0; RULEID:; SRVR:DM3NAM03HT033; x-forefront-prvs: 0971922F40 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2016 06:13:26.9429 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT033 X-OriginalArrivalTime: 12 Jun 2016 06:13:28.0463 (UTC) FILETIME=[895199F0:01D1C471] 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, 12 Jun 2016 06:14:34 -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: I was able to create new peripheral device(passthrough) for= all the scsi devices. I made few changes to ctl code, so all the ccb of l= untypes passthrough are send to passthrough driver. In passthrough driver all the ccb of ctl are converted to cam ccb and then = they are passed to incoming queue. Once they are processed they are passed = to done_queue. From done_queue I will be passing those back to ctl done_que= ue. Thanks Suraj From owner-soc-status@freebsd.org Sun Jun 12 11:13:19 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 A098EAF07EB for ; Sun, 12 Jun 2016 11:13:19 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (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 6A5122F81 for ; Sun, 12 Jun 2016 11:13:19 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: by mail-oi0-x234.google.com with SMTP id d132so68239737oig.1 for ; Sun, 12 Jun 2016 04:13:19 -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=8Jp5BmkD1ZEBvP4tXqIIzUSriY+EiVymQ+ENmPV/Mr4=; b=nx8adI9NiDrEf8wBpeJ5BO3IRIaPAZlNWCm5U8tdsBqxGqqn8tBe78qY/lCLNEsxMN klUDrfnv0B12sLEFQ7b+ojbQ8fa6eFMhSF+sarwcpiAyLtd6Z56nOHWsVdoekYw6KAUU aYXFBkF8oo+kC7lZbMBpEmJus/BV97VLN0Yykd+85xgULX8l71fVXawhmXkdf3Y+DMR0 bkWmO2+KUYi0kfS+bcsqs9tB0MzymOJyaUc/dyIILvqNCYI6IF0/xEtRAwLPTRXJDb4z n35V/3SnMFvGFR24Mn9d28yyk1L3wB7L9o0EvLn7rFxnig2bF11mBjl2BwzyzHNbiKl5 NWPQ== 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=8Jp5BmkD1ZEBvP4tXqIIzUSriY+EiVymQ+ENmPV/Mr4=; b=lMcigTiOQxyxQvIDD5Lqj99HqebTbXx8ksskFAlKmamTXnfQp7uWi5dYaVpALOytLM /OWQFlqpY4wEn4K/yrIDHP+m60AEa9u04vHZB3lphzSZtJDGWElT5dHBMGYnI1yqvRTz 4H5+qbTUl/Xo+drFldkvzWggJlZnEmTk8qtz+pybjppch0odFZFvCqxC0VTnIgPvpVWl SbvcwbOQyiF+innPt5Wx3e30y/PfDXHOTjdOH0MJJMKA6jceCcWk7jDgOmwaRP6UsttW YGZUtMlNO3nDA6tHu/wTfLEUvKsafORtWlmcSLjhd+b95ySsPPU81clvwp8BElH4FVIs CQAw== X-Gm-Message-State: ALyK8tJ+rxw0QZYJOEK+DA85vR9jtVpjbF2NxpjCJajE/RMw0k82cZSZMZkY4xzWHwaEPTXZAP6bmifcVpXjMA== X-Received: by 10.202.76.7 with SMTP id z7mr4500164oia.165.1465729998524; Sun, 12 Jun 2016 04:13:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.170.146 with HTTP; Sun, 12 Jun 2016 04:12:39 -0700 (PDT) From: Bhimanshu Kumar Date: Sun, 12 Jun 2016 16:42:39 +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, 12 Jun 2016 11:13:19 -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: 1. code has been added in ctld (kernel.c) which will convert the address of device (provided in modified ctl.conf) to the actual device (for eg "/dev/da0") and pass on the lun to CTL via ioctl next week plan : 1. Test the above thing, if it works with the code added in ctld 2. If did not work then , will add that device address conversion code to CTL From owner-soc-status@freebsd.org Mon Jun 13 08:21:42 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 225B3AF1A5A for ; Mon, 13 Jun 2016 08:21:42 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::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 E2E022014 for ; Mon, 13 Jun 2016 08:21:41 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x22c.google.com with SMTP id p204so196821800oih.3 for ; Mon, 13 Jun 2016 01:21:41 -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=t3PcXnTRmIiGIjQgpO12dYzBdecpM3sMIBU++gXeEjk=; b=LLuYAEHtY34e5F+oPDD9/hGundVtYSXQj4cM3j9cBsLwX4RTfKfdfM1HfpJ8Z601nG ZIB/AMG4giu7jma6qX20ECRaBdwuyZDJCy/c4XyWfGtv5+6QKMXirdXZqFZrEuLzIFnA Rg2XerneQN34ti5QqlWLqYcB5vIXcdPJOZbvpfuRFo+enlbyNPDnGUR+VB7mwNbQz7yC Y59wzqMtdSeBps1j7b8lUqRiW1DiJ6CPapAzas+oe0H5KYDUz0UKx03p9OYbAUR4+v/Q mkssZiicpxMaFszYIJR1un4GK8ZLRrulSibnBH9aScsjPpbtjEBez84D0wDmemg8RkFB B2TA== 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=t3PcXnTRmIiGIjQgpO12dYzBdecpM3sMIBU++gXeEjk=; b=R67Q9yDSsDbCzkoGVyXhoUH4mhC9p3ey83nrgKeHhE6GD/iWpZMe5H+CTtImwBGSRM 1b2Nd0fwGmKmk4iutuGJ1JZriTGtDyDq2dwkROXZ9lnvhuuL3+nIiHioILYGRjoBqGnM Nz+EnlaH5FP+4dlmXsY1PUi08Hv9kGPl84wo7+gEoZYVX+cySCniBB2nzQbg2gUA1TZp X05xROBRKOxbjwv2rv9VVJRbVbnpkVic0J/EO8SUkn14acQPc/k/ehDrxf1lS6/tRrPP vdGabfGCJXiAtjgqSSpUzNUBuU1mSA/g7LrlbzrGeKQc+WwLHiBEeLrrGmWtde2BiuQm +u9A== X-Gm-Message-State: ALyK8tISYb+aDDJIjJa9B8uxVn/TLfVR9boGhgLS3QCXBK9Y88dNXSxFqLewYN0mgH/HDKx0TxhMZKVa3j04Fg== X-Received: by 10.202.232.199 with SMTP id f190mr2365144oih.168.1465806101297; Mon, 13 Jun 2016 01:21:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.29.105 with HTTP; Mon, 13 Jun 2016 01:21:40 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 13 Jun 2016 10:21:40 +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, 13 Jun 2016 08:21:42 -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 3 =================== I've completed the implementation of the netmap support for the ptnet driver, done testing and bug-fixing. The current driver version integrates with netmap to support applications running in netmap mode over the ptnet device. The performance is good as expected: 25-30 Mpps throughput at minimum packet rate between a FreeBSD guest and the host, over a VALE switch. 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 Jun 13 17:18:02 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 6D8CDAF2229 for ; Mon, 13 Jun 2016 17:18:02 +0000 (UTC) (envelope-from starak.adam@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 EC0C929D5 for ; Mon, 13 Jun 2016 17:18:01 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: by mail-lf0-x233.google.com with SMTP id q132so50957389lfe.3 for ; Mon, 13 Jun 2016 10:18:01 -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=H6VSMmLFDo1vAAP9hwyUHlz8PHISqqsbtHKHVibRSfQ=; b=ax505tOvgAJZFvt4gpZSW3fjVXnNLcGFfxnJ1gWi6n3n6iFsFAAamSrGY/FcrSZkg3 XRh3I2PUSNuUpPRK/KlYYtK2rBUsFurz3ruLxPYlNA6F1h2wj7RPwZPDjMsq2qRWe5D5 xJMmDbljrgcpXoF23fMuyyznqO8HFj61Rho5Uzlc0Bx6hlLWspfBpA/bwipPI0jAczYF x3qwkgvCyHjuq6dYB5BiPxFEG96BZpPu23m0ttNLRmmzLZNXzKMXCfAXdcD7JKGqb9DL MX2OJhSMLHdR+z3AmU3PnpCn3PI++WGI4wSvgH6McWGWnI2rCcQ5QlzkYlFqcRYrsA1s mAYA== 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=H6VSMmLFDo1vAAP9hwyUHlz8PHISqqsbtHKHVibRSfQ=; b=IjIZtZ7nFaJR4IIKIuQku6jYHbhvv3WB02LeJlDAWi7MO2WJvAGNzh/PAX3zYFxxSr YwidXXHtse4ewy8goyQ7o6VQADhAAs5SYDye98q4OGA6qAnIZHX/FvXUgheTRakfbBU0 v1LAfCxc0meZmoDvUf5UlWV6KpSS/ByJb/iFuG+0f84lWP8Z85tHv6xj+CgAhdbds+gJ ZZKsAp1tzWpF6LON1fV76qTnxCdc8fPSLA5CyDxMF1yMDRubMVaThXouKWYydWObZvs1 dr59ld2Onw6yQbd5txQf4/ZU1z14eEZbApRBGdlP7ErtvHFIAlrHD9/Vy9sa/KVljXsJ kkEQ== X-Gm-Message-State: ALyK8tJDitoLMxZv7ogVj4bd7HupuuRYE3Rg2a5g5Fu3DJ+bG5furL/yE6iG9uES3BkF7wfGlnS3ldux0GT8FQ== X-Received: by 10.25.201.72 with SMTP id z69mr645484lff.158.1465838280246; Mon, 13 Jun 2016 10:18:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.35.194 with HTTP; Mon, 13 Jun 2016 10:17:59 -0700 (PDT) From: Adam Starak Date: Mon, 13 Jun 2016 19:17:59 +0200 Message-ID: Subject: libnv improvements 3 week 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, 13 Jun 2016 17:18:02 -0000 Hello!! I strongly do apologise for the delay, but I'm 1 week away from my finals and in order to be able to write them I need to focus on my university projects. I talked to my mentor and we set the 15th June as a deadline for the cnv API milestone. This week I also hope to finish JSON conversion as it's not so hard to implement. Kind regards, Adam Starak From owner-soc-status@freebsd.org Tue Jun 14 02:02:33 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 CBFF9AF26AC for ; Tue, 14 Jun 2016 02:02:33 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) (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 629912264 for ; Tue, 14 Jun 2016 02:02:33 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f52.google.com with SMTP id j7so71344083lfg.1 for ; Mon, 13 Jun 2016 19:02:33 -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 :message-id:date:to:mime-version; bh=1m2y5/bYvNQoadc/UY5XQUCLaEdKW0Uh7+xU1/dtqqg=; b=WpVCh2mxmp6XpQq2Rier4wcK2k1bIgmUpJOj8G4qgdseKY7YhRpaAk6ywWs48hIDla St5fW5qTL8TfZWmCnkfnOsY2hDOSleT8e2pq12yKUSCeOBl8ASls++rZjYWBrMNFFNhn Az3CL3ERQS1IVSf2RQLcKKXBuAW9++6lrhF581ITYy6io2aXo60WPCA3MwWpkQ1e1kgB dbY/mzOa0gPgW0Lkm7Oszih/5FzFlFTCKNjGrU89W8KXwjXTBZnBGLjcXBsXkUbTE3k0 x65kUN7YtVhus4guoeZ9lOXdqJvdcPYxjMU9ytBinqCSz8Qc+KED4dR39Dv16rT545BB b+Iw== X-Gm-Message-State: ALyK8tKM28MW7inCOGlnnLGM1Dzl4O/pSVxbl1aUNa11jy37er2xPpoCH9XRtSY73OP3xA== X-Received: by 10.46.1.148 with SMTP id f20mr2753628lji.52.1465869750902; Mon, 13 Jun 2016 19:02:30 -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 a4sm684923lbx.35.2016.06.13.19.02.29 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2016 19:02:30 -0700 (PDT) From: Mateusz Piotrowski <0mp@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Week 3 / Non-BSM to BSM Conversion Tools Message-Id: <902E1B07-958C-4321-92CB-9BAEA8676F04@FreeBSD.org> Date: Tue, 14 Jun 2016 04:02:29 +0200 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: Tue, 14 Jun 2016 02:02:33 -0000 Hello, Due to the exam time I made no significant progress. I have to change my = plans in terms of the work which I thought I=E2=80=99d be able to do = before the midterm evaluation. I'll talk with my mentor about it once he = is available. I am determined to catch up with my GSoC project after my exams. Cheers, -Mateusz= From owner-soc-status@freebsd.org Tue Jun 14 07:20:20 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 40008AF242A for ; Tue, 14 Jun 2016 07:20:20 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 D059920C5 for ; Tue, 14 Jun 2016 07:20:19 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id n184so107795626wmn.1 for ; Tue, 14 Jun 2016 00:20:19 -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=wQL9ReJz5yKiOuOq90+EsVIReCVg97SSmVZizh2t8+0=; b=wN7lK/KG4NJDMz1nIu4YOkGrFdKP5In56dD0CFGBKUuGS7umhE7hJksJxiULkZecW8 Rc/5GSO/lN/jadVaHevFtYMDaMCqwugtNK6HbvfxXOgm7HHAWQF5b3meNfS2SZgUuOFd ydj+9DFr8KKNgg0mj0to/AXSj2Lt1E1hJ4CEovFtY5fAFC0BfplVbooZjBL9rC0W5KfJ 3nOxsP4eNhdJafSC34ujJLSZRRoqX8DZ667gtv/vFiUGlYshhQzjsOiHyjYJHal1/TRF vUjmdNGs9zCIPvG2LQop6rLrLTOGD9+m3ctNo59JwsHbp6R3DlP4JnS9F/Zy8hwKLb8b kVJA== 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=wQL9ReJz5yKiOuOq90+EsVIReCVg97SSmVZizh2t8+0=; b=m+oUaJgcGZO/YI2NIecyEEEsIhZHkVMvNiyju6tqCde1ZyY4RrSnCCUc/YZXWsWevX 9wb99gRn6fhQQUNbUgU1ifsw7/1oxFl9lCc/CVdbr6NmNxS1huR2UbY3cowJ+4NwlEq/ GkRKb9AnfBBLE5FlvdwbPDrpc5O17Kfeq8s4cyL84H8+efWml4GW5WaC2zkO/58EyWdM D86JTmGTccsBNV88c7nY24+Yah1ZfnVr7yXaOkjx7+H6cOrPIdxy+2CjbEsR/1D95lMc SGroU5SEkxsc3kcS+R6o+DXKm1qJtkPOKctZSt59u4E3Td8afdo6bMPqmvwzt0fcQW2G LULQ== X-Gm-Message-State: ALyK8tIGvyh0RNrNX0epj2lS/Wqgukd3GmTdHq6vSq0hP2EqQYeGxtw875bJEbAuM989A/IPFBtlHOQ6kXpoMg== X-Received: by 10.194.5.7 with SMTP id o7mr4522857wjo.145.1465888818056; Tue, 14 Jun 2016 00:20:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.212.136 with HTTP; Tue, 14 Jun 2016 00:20:17 -0700 (PDT) From: Yuri Iozzelli Date: Tue, 14 Jun 2016 09:20:17 +0200 Message-ID: Subject: High Performance P4 Software Switch - Week 3 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: Tue, 14 Jun 2016 07:20:20 -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 2 ========================= I identified the main bottlenecks in the memory management, and wrote custom new and delete operator for the most allocated classes. I ran several performance tests and optimized the allocation strategy for the application. The new bottleneck seems to be the queuing mechanism, that is currently impemented with locks. I am investigating the use of a lockless queue. 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 Fri Jun 17 18:52:32 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 B7A10A78DEB for ; Fri, 17 Jun 2016 18:52:32 +0000 (UTC) (envelope-from ionutalex.teaca@gmail.com) Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (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 7C2632D14 for ; Fri, 17 Jun 2016 18:52:32 +0000 (UTC) (envelope-from ionutalex.teaca@gmail.com) Received: by mail-oi0-x243.google.com with SMTP id d132so15299570oig.3 for ; Fri, 17 Jun 2016 11:52:32 -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=V2hHmKuEkyMfnihxMVrnqnC3PsHzIItv1LYuG/fcXgo=; b=ubbaV+UVncEVRaPtmABx608aIJgfnPylndk1fFGrWoxMYNpi34w4+RbzhePkKYQ2qy suRoASQ7RP8CyP9R7NtitWYYcvJwJ9aNCXvfSuUfpCIx634bpygbaFzYHqDPFP2lDGhX rupF9XFydZgL7Ts//ju5YUpBA9enL6C8Wx91eYKWJmN32zPHAqh2SMKbyL6AtzcLaB+U JliU30n/Xtz0y4pcxFZ3LNXK5QVZZaeY6JlrjwoVHQ2vGWkIcaONvl2KG1gekBh+pLWQ N5KS6ie7ZnlPT78S8Cvcf4Tl9HLPMH3dWqqbxch1xuJ8g9NTBxhZumoNrJygf2ZKliDo 3xPg== 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=V2hHmKuEkyMfnihxMVrnqnC3PsHzIItv1LYuG/fcXgo=; b=ir3ScTMyct2o8dUGzO0L3xIMgLFsxzq0WKTWi9P/lMryKruFKQM+mctgcq7IjerZRS ylSbXmos7FBcp+OErxZsQfcP7DiPLG7+WqgvIYcrwJc5DOC4e22NRBM8292acNCycZnq rV/5bmGz5prP5nsPKxZaRgfRKqnGfAvaNpeiMYJkx25xwPmvsJTPEHCLguun8BYz/aqN ECgWqcHjPNz1JP+7Mj0+xToCrlMF7ZKoDt8/bbMObhuTrEmE3Tm036wMthJT03a1Q8pO aeBOtmOrG/tafblLLDfew3q0t1vvAK8hjxmwUlTTwFlEYIUQmqJAkv3TCXwhX73cV28G H7gQ== X-Gm-Message-State: ALyK8tLqWjoMO0jFpqWYDQ5vGuU0tawE7EiS+yua8u7GiFr8tqVI/QDSmER1SiGC3La6Znas+xWpWbaB2awkbA== X-Received: by 10.157.61.195 with SMTP id l61mr2727762otc.31.1466189551850; Fri, 17 Jun 2016 11:52:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.16.166 with HTTP; Fri, 17 Jun 2016 11:52:31 -0700 (PDT) In-Reply-To: References: From: Alex Teaca Date: Fri, 17 Jun 2016 21:52:31 +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: Fri, 17 Jun 2016 18:52:32 -0000 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 > >