From owner-soc-status@freebsd.org Mon May 21 20:09:13 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 0EF7FEFD266 for ; Mon, 21 May 2018 20:09:13 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 9804B6E1D2 for ; Mon, 21 May 2018 20:09:12 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id q72-v6so22630842itc.0 for ; Mon, 21 May 2018 13:09:12 -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=4BThApu51bYSY8eNACEWHPPh7jew8FUiDMGvytmqKio=; b=FtSjRxygnDDD3JHRj+AinODqXVr1NwkClfXwhKudPqQ1QtXhV4slW92mjqSgTLbPJJ Uds6/3yw0speuoAWoYLEqX9HytxJXwg+UacFWenwx/7HNPHOzXexDtViXumuf9XUW91+ ffEbcxhjitedMRsOQowb5B5ZQJdGyNA26DxOvBDW3DHAyN8Zt6xzzU1doraRUVMhIKbR KqRdQ1QpDQZaA1OQYvGPewdWnxQVCn71iNKRe5DrZTNxh/KoQwtswzDc5K2IRnWbDBWC ISd/76Pim7Wd5MeycXvBw+DRXt5styxe59k9VFwD6OB8msqNJHfwnp8F9swoSEpE0DMs y7bg== 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=4BThApu51bYSY8eNACEWHPPh7jew8FUiDMGvytmqKio=; b=PXc8/2wsNvUKkZ6K/1nNE0EibYNIckSWV/6K3dpErKL6EYBa0FqpIWBfvX0fGzaJ9N 2XBMiPPRWQ7OnT05+UdYrdVtN8wXHXXMX7JIEhUkFTy0U4JuLoUlv+VI6jVer2Dwk2Yu KWi9NH3pjVmabFIMuzRGk2Vo0wcgEE8nsEcIZsLF+iwLnUghZNybTENdU8eRkYG78dZG sf+Kl+4Hg1WDfmZwPr00QkjZJa5j0oDEsVFe9bZH2HX2tC/HsD2bv9QBHdzxddKwyVXe 8W0QJ3B6GFdiGE9b6R6RH7VxHm2fKTyhTX25g+BE/MQoJrb3A2wV+9yOdICcuxr+91Da JsbA== X-Gm-Message-State: ALKqPwdJtsftzyqIbK92uclzeJDk2QOSijdzjHX8nHy+/08RPkYF3xbk 35hqkxDxJyanHXQ3HLmg7z7neP349fKb9K9/NKox+Dvs X-Google-Smtp-Source: AB8JxZqm52k0zn/gS5n6XsiStXajjAqnQQ2g4SG+d9e7C9mucmp7v32iFpdWCYRs+xph3MUKbiwGEBE+axWXdRgr8vI= X-Received: by 2002:a24:8987:: with SMTP id s129-v6mr236748itd.129.1526933351481; Mon, 21 May 2018 13:09:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:985b:0:0:0:0:0 with HTTP; Mon, 21 May 2018 13:09:11 -0700 (PDT) From: Stefano Duo Date: Mon, 21 May 2018 22:09:11 +0200 Message-ID: Subject: Extension to the netmap framework - Week 1 To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 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, 21 May 2018 20:09:13 -0000 Hi, during the first week i developed a kernel module which creates an hardcoded vlan configuration. The configuration is created after receiving a write call on the device /dev/vale_vlan. Instead if a read call is received, the module tries to delete the hardcoded configuration. For each configuration, the module creates: a non modified VALE switch for every vlan, and a switch with a modified lookup function. The modified lookup function acts differently depending on the receiving port: - if it's an access port, the frame is tagged and forwarded to the trunk port. - if it's the trunk port, it reads the vlan id, untags the frame, and forwards it to the corresponding vlan switch. Furthermore, i created a new kernel configuration and modified sys/conf/files, so that the vale_vlan module can be compiled with the kernel. Project wiki: https://wiki.freebsd.org/SummerOfCode2018Projects/ExtensionsToNetmap SVN repository: https://svnweb.freebsd.org/socsvn/soc2018/sduo/ Stefano.