From owner-soc-status@freebsd.org Mon Jul 23 11:50:46 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B4571048911 for ; Mon, 23 Jul 2018 11:50:46 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 D06A378554; Mon, 23 Jul 2018 11:50:45 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-ed1-f43.google.com with SMTP id t2-v6so694274edr.5; Mon, 23 Jul 2018 04:50:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=nATXk+nYeCciuBP3O7Gj7eWHlgvVKOkByHIQ2f6y2Ts=; b=sLZaMjPKQrBkgG2XdZedTVZWEDZZldgZx0nve3m/m9kT3Ha3QtavPn7tJiuJjHWmMj B0XLF3oFaU/byu+kGXcjYxroES90w2Anryge2mRPwuuxEAVFO8pcWdynwrFTKEEGS0p4 HA6YkYYYLSpv743aHnV8TOHYOfz+4VrLos4txgrQxfWWYEbT128rOTSj7XuwUCIAI8nL tzu3Lmatb3OlCW16c3Ab/nls92jDC0OwlN8ztJ72mSf3AIoh+W5I/Wwk6SWe973lrhkw 6+joW+sl7yC6Ph+5/Ve5089hUtN9VqfSosx3FmmQDjodFQzk9rHNNr1fjR40xWcb2Kuc F3tg== X-Gm-Message-State: AOUpUlFXNJcug/UUxOVowJLw6Fujx5k0Zq9qSA/q8wN7acJxQo1yyCqW qZGcuAgaTGd4N9uJ8aKbtLV390qhFbg= X-Google-Smtp-Source: AAOMgpcsBZftIN0QHNg1dvWnVJjBCLnAmCbH5xht3wt4LV07xhqVsnm0wc7P+99/LZyinJE4sounsg== X-Received: by 2002:aa7:da9a:: with SMTP id q26-v6mr13377648eds.115.1532342352534; Mon, 23 Jul 2018 03:39:12 -0700 (PDT) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com. [209.85.208.45]) by smtp.gmail.com with ESMTPSA id 8-v6sm3937284edv.77.2018.07.23.03.39.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jul 2018 03:39:12 -0700 (PDT) Received: by mail-ed1-f45.google.com with SMTP id e6-v6so521568edr.2; Mon, 23 Jul 2018 03:39:12 -0700 (PDT) X-Received: by 2002:a50:b399:: with SMTP id s25-v6mr14194286edd.217.1532342352292; Mon, 23 Jul 2018 03:39:12 -0700 (PDT) MIME-Version: 1.0 From: Pratyush Yadav Date: Mon, 23 Jul 2018 16:08:35 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [Week 10] Import the Xen grant-table bus_dma(9) handlers from OpenBSD To: soc-status@freebsd.org Cc: Edward Napierala , Akshay Jaggi Content-Type: text/plain; charset="UTF-8" X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 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, 23 Jul 2018 11:50:46 -0000 Hi, This last week I spent in tracking the fixing the bug that was causing the read/writes operations to sometimes fail. It was because of an incorrect memory address passed to memcpy(). Check the fix here [0]. After that, I spent more time testing the blkfront driver under various conditions like simultaneous I/O to multiple disks, running with low memory, copying a file multiple times and making sure the file is the same at every stage. There is one more area I would like to test: working under a scarcity of grant references. I am in the process of figuring out how to produce a scarcity of grant references. My college starts today. I will not have as much time on my hands from now onward, but I'll still try my best to complete as much work as I can before the official GSoC deadline. Of course, if any work is left after that, I will see it to the end. You can check the code here [1]. I maintain a blog on Blogger where I publish my progress every few days. Check it out if you want more details on what I'm doing [2]. [0] https://github.com/prati0100/freebsd/commit/d522b994ad27c6edfa77fce8fdfbe2277132db25 [1] https://github.com/prati0100/freebsd/tree/busdma_xen_clean [2] https://pratyushgsoc.blogspot.com/ -- Regards, Pratyush Yadav From owner-soc-status@freebsd.org Tue Jul 24 10:33:34 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5956B10479F5 for ; Tue, 24 Jul 2018 10:33:34 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: from mail-oi0-f67.google.com (mail-oi0-f67.google.com [209.85.218.67]) (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 DA1EA8993E for ; Tue, 24 Jul 2018 10:33:33 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: by mail-oi0-f67.google.com with SMTP id y207-v6so6566232oie.13 for ; Tue, 24 Jul 2018 03:33:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fDzMUuM6fb38G5fmGi4nU7WMbkhjgVqXtc4wTvSrg2A=; b=KU4bag7q7emNDrpHnOus0rOFw3KVejr0U02CZ9m6zRfGf6tXl0XU3eUd8KxkwXsALw kcgJOSsRUr4hB7J+yzQHJ+lpXtROht+40pd1AOqLhkA7k8xaUfVNqpIny76FXVyCPo+i ENI1gYxxpv8Z7wLnBQEfeXlT1KCO3BsVvIr+ZSY1nazOzd5bmToadyCCCMsTNn7ymYRF 4BYLcUisodtEwp4hUPnEhxtW+zRT43ELhmQUXsDNTa1+ZBzWduJZ/04Q8IhO8z+47w12 JI4W0Ah4/QgpeAmD4F3jlmmB6iMkTt+elwHG/AQ0y+jV938vIMadBW5sZ6ZVIjiJDZdy shxQ== X-Gm-Message-State: AOUpUlFwQgDSmmQD7aa5e7ABqxfh6XNwBTVvDaa7Ys5dCJ9bBeHre3HN Nb2uR5lNqaFoVUmmBCk9Z6puGLF0MzM= X-Google-Smtp-Source: AAOMgpfY3vWuTSdkYnSmmWpbvmAS2GvW6bIqrGcXbgmFbk0c4Q5FJ5n+5EmjSttQXpTwR8u3+RzRIQ== X-Received: by 2002:aca:fc8e:: with SMTP id a136-v6mr2629221oii.123.1532427921691; Tue, 24 Jul 2018 03:25:21 -0700 (PDT) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com. [209.85.218.44]) by smtp.gmail.com with ESMTPSA id u144-v6sm9731082oie.14.2018.07.24.03.25.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 03:25:21 -0700 (PDT) Received: by mail-oi0-f44.google.com with SMTP id k81-v6so6541100oib.4 for ; Tue, 24 Jul 2018 03:25:21 -0700 (PDT) X-Received: by 2002:aca:438a:: with SMTP id q132-v6mr2302699oia.331.1532427921197; Tue, 24 Jul 2018 03:25:21 -0700 (PDT) MIME-Version: 1.0 From: Lakhan Shiva Kamireddy Date: Tue, 24 Jul 2018 15:55:09 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSOC-18] Convert PCI drivers to be table driven - Week 10 To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 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, 24 Jul 2018 10:33:34 -0000 Hi All, As you are aware, my project is to convert PCI drivers to be table driven. This week, I've worked on some of the PCI drivers which need some modification. As we decided to create a new macro - PCI_MATCH, i was working on consolidating my work using this macro. Firstly as per the earlier strategy I pushed the code to the intermediate fork. Then from there I began the conversion process to consolidate the PCI drivers to conform to our new strategy [1] [2]. Furthermore, I've been working on the following new drivers as well: le, lio, mpr, mvs, my, mly, mps, mskc, etc. [3] [4]. Phabricator reviews are here - [5], [6], [7], [8]. We need to convert the drivers in a certain way so that kldxref can find it and record it in linker hints. I am also learning the internals of the kernel, this will help our goal ultimately - Automatic module loading. [9] Please find my updated project homepage here. [10] Thank you, Lakhan [1] https://github.com/bsdimp/freebsd/pull/8 [2] https://github.com/bsdimp/freebsd/pull/9 [3] https://github.com/bsdimp/freebsd/pull/10 [4] https://github.com/bsdimp/freebsd/pull/11 [5] https://reviews.freebsd.org/D16233 [6] https://reviews.freebsd.org/D16253 [7] https://reviews.freebsd.org/D16324 [8] https://reviews.freebsd.org/D16363 [9] http://bsdimp.blogspot.in/2016/01/details-on-coming-automatic-module.html [10] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables From owner-soc-status@freebsd.org Tue Jul 24 17:44:45 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 305A81051D2F for ; Tue, 24 Jul 2018 17:44:45 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (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 B596378F57 for ; Tue, 24 Jul 2018 17:44:44 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: by mail-it0-x230.google.com with SMTP id h23-v6so4885527ita.5 for ; Tue, 24 Jul 2018 10:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=s3IK4ef2lcP5b6Nf/zTCS77Bd2WijGxeFI8ijEdbJOQ=; b=bAn+uYYRa+G26D6KNHuGuhYzzCTyaMp+Vt9ExEdbp423eHOb7aDlxxYjKgFktzxmJ8 sZQwtzGzBgb/I3m/nk2OuwezYwrdxeVOLN5wBVeoZG1QsSNrDheRyQvtfBW+8j0VyRJ7 I9Jo+a5u0ILqDV8mpzcrl7Ptlztd1Mwps8+DdlkylvDmBrDAK1QCoW8RAR53hnnolvHb Kt6r7/S3o1QtXbnKNw4rTfh5RMKxrpJPve0vEk98SUbNgm5OOcIKu6XFxx5PTOdO+Ol0 s+EYfQJf7mp3ZkIPT5Bg47kcWRubvoNNNXj9FyTIEXVI2LQ9J3jX1vJ6BLByioO+4jnK Lk6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=s3IK4ef2lcP5b6Nf/zTCS77Bd2WijGxeFI8ijEdbJOQ=; b=mURA2e0BISw9ZlPsakK5EyGNKQE6b6KZ6Vr23/8kGZ7frDiac5DbxuNKYH3N/h5tqu 6R9OBSjl927gLA2eAEDu9HO2gO5jvtn3gyUYQ2VEBTLKXkS8I7MyhGRrq8C2f+TF4TNS pIR3eFqMmZY4xIsae2wzjU+VKiQkgzmrTQUgfhyXw+lQo5u+9BWyIQ4VfbkWNDO33Cjr f5ac6E0jteklshFJJsHS1mkhfcyypZSVNoSDM2zC4bnHKQGqLif14UUA/VYPtTIw3Icm kif1dUi0lwxI2ERfMLyWydTyltIVNd2ld2HXq/rJSVQ3m+ydVrzsKKjBSLhu7k7zQji3 KXHA== X-Gm-Message-State: AOUpUlECizRJ24iDpuTBIwrVZppTmbEBsi7q2iSGlRqtxeyX31IJcO/f wMbRgXPbI6D8nf+J/sy22ylooYb2bVh9Hou62hEcizyQAKA= X-Google-Smtp-Source: AAOMgpfVuk0yrjkoP0OltWXQTnY20j2CRf1lm4phcEEDwwZkH4EA70fYHqN2NI1hkvy9ndQDuyUeMfEAYCxbcI/q7UE= X-Received: by 2002:a24:3507:: with SMTP id k7-v6mr3498644ita.13.1532454283821; Tue, 24 Jul 2018 10:44:43 -0700 (PDT) MIME-Version: 1.0 From: Stefano Duo Date: Tue, 24 Jul 2018 19:44:32 +0200 Message-ID: Subject: Extensions to the netmap framework - Week 10 To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 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, 24 Jul 2018 17:44:45 -0000 Hi, during this past week i modified VALE vlan so that it is aware of buffer offsets. The lookup function now checks if the new `struct nm_bdg_fwd` field `ft_head_space` is longer that the space needed for the vlan tag; if it is that space is used to store the tag, otherwise the packet is moved forward. I also improved the per-ring fixed buffer documentation. Project wiki: https://wiki.freebsd.org/SummerOfCode2018Projects/ExtensionsToNetmap SVN repository: https://svnweb.freebsd.org/socsvn/soc2018/sduo/ Stefano.