From owner-freebsd-mips@freebsd.org Fri Oct 21 01:37:53 2016 Return-Path: Delivered-To: freebsd-mips@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 64F4CC1AD2A for ; Fri, 21 Oct 2016 01:37:53 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh603-vm0.bullet.mail.ssk.yahoo.co.jp (nh603-vm0.bullet.mail.ssk.yahoo.co.jp [182.22.90.41]) by mx1.freebsd.org (Postfix) with SMTP id EAAE6DB2 for ; Fri, 21 Oct 2016 01:37:52 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.106] by nh603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 21 Oct 2016 01:34:58 -0000 Received: from [182.22.91.133] by t604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 21 Oct 2016 01:34:58 -0000 Received: from [127.0.0.1] by omp606.mail.ssk.yahoo.co.jp with NNFMP; 21 Oct 2016 01:34:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 99694.23941.bm@omp606.mail.ssk.yahoo.co.jp Received: (qmail 22829 invoked by uid 60001); 21 Oct 2016 01:34:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1477013697; bh=t7/DWjlkYdTci0iHASoyBrpmTBC1YF1dYj47SLznXK4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fqOMSeSzqHfrritpZ0B3DoWE3oWKKqs67VMVFD5/C6XsvYog1noGrJMIbyRQpIuyrwH81yVFlPTOPEbKU8ti4JqocM/xVlhHDlb2XkkZ9S8G+wN6VRPuuZpB/2PgxDVlH+PwTfHaUQN625387Zb+QQgtFDfOcRa/jfLkaZqkOMc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=N+bVsTPgROKpNp56VASlJXazmcX4j8qarW4rFqea7ka4Ir8zD2XaIWkBBd6zKX4v03NYtcX1oypD22zY4R0q6DX4YCNilj1b45BDj/1EG4FFFCELMkyCLwmAQVniYGDajRwdHHx1juHwGApFQntA3Ov7mpaIAy30c/NBYXegCu0=; Message-ID: <964169.22253.qm@web101710.mail.ssk.yahoo.co.jp> X-YMail-OSG: H_26XZAVM1ksunV044vOqkdno1LXLyIWZlCnOKU9tahUl5cIOHgT8dxh.koogjpIpRx96n5G7RtrFd1gCiATaeHWJLTzwtntuW1lLrlWnA1ZrFOFpzNtMgDAMG5ndxoMNlbkuctDU0Ba8zJ3OiKqdxIBmedQ81BQnCh9I5_sf1DGW2024vxP.9QQFZXaKlg4bwAvTwB8Cd9JVd.LUrk5DZt.jD0qxoiMTunQ2juIi4SjWZaFiq6VWg54p93qdOjjvtOb9UoUyItnegTM6oJgv.LoyDfZtxuOfsdMI7iPCnrHNAwHcYMJVRO842Vfj.Zye.K67GZp9rWqrj68drI9HRNW98XdTwd569uAVgPH2QqUCsTM2tF0M4k34KOklU0MZk1SOSi4u1RowRGw4wamtgw5R3X6Ec_QbJV968c_aVCOutshEYCKDCU2MUVfT8Mm0VUsOKE84Y88X0QuGsBB1UmYq7soi3qto2mwKo3_oisc448x8RqpwAbc2l4o3ubCHVu59_UHmWVyCZG3vSnJ0kOUwBGp0v.H9QimKTicEEbopKj3JVuI Received: from [110.134.192.208] by web101710.mail.ssk.yahoo.co.jp via HTTP; Fri, 21 Oct 2016 10:34:57 JST X-Mailer: YahooMailWebService/0.8.111_69 X-YMail-JAS: q_oVHzIVM1nSCC4q.WqH34O_s_8lRQjGh596uIDbnoY41majZiFRo4WQg6V8EKhYKpnYZzWuCIxPKHwG267jpZpz44TuqmX9bBr81pmwxGcM1Bt9QeC0pnwk_KePnS4jUaHt Date: Fri, 21 Oct 2016 10:34:57 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: marvell 88e6060 support on etherswitch To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 01:37:53 -0000 Hi.=0A=0AI make prototype marvell 88e6060 support on etherswitch dev.=0A=0A= =0Ahttps://github.com/yamori813/freebsd/blob/zrouter/sys/dev/etherswitch/e6= 000sw/e6060sw.c=0A=0A=0A=0A88e6060 support port base vlan. But this is marv= ell original=0AIngress and Egress Trailer in ether frame.=0A=0AHow support = this type switch chip on etherswitch dev ?=0A=0ARegards=0A=0AHiroki Mori From owner-freebsd-mips@freebsd.org Fri Oct 21 05:05:10 2016 Return-Path: Delivered-To: freebsd-mips@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 CC1EBC1B391 for ; Fri, 21 Oct 2016 05:05:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::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 86CAFE0 for ; Fri, 21 Oct 2016 05:05:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x234.google.com with SMTP id 66so136339910itl.1 for ; Thu, 20 Oct 2016 22:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=C10Xhobny/QsE0FKJ6yDV3N5Q5jDnlBwJYP1GGUCycQ=; b=SBWOuVaU4jsOMXan3PvkVKhwh2V3Q8JKj3z5aluEOy5QR/YE0zGaT/+R/0Dg3kTVXe vic1mQCFEB6R7W+kVEvuUyakPIV7hujlbuys4q5rotP/hHs3KeD5qPpj1L0ktWII3tgR VDrjrexl3xhuhOmrAdz5s/e3QoIofK6UlWjuiHG6blZB8VfE7AwVX/SO3KC7teDTZSs7 o+g1ysf5mYRg9IE/r0s5H2r0AHZilBilZzUF7iTyqYAoPP3rsioHYLZZ98pD4jKqZHgh z+Ogs865/fikUe74abLLRTmIoIuntIZQAXayy83sz3Fp1JF+Vi6PJoKlpSMgCz6+4PmH GUwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=C10Xhobny/QsE0FKJ6yDV3N5Q5jDnlBwJYP1GGUCycQ=; b=dPrsm/zLE4XFTUpHVnaovQVec+OCbIdTfjh+h/kucOZMOIbpwflJE9CbLI2FamqpHc Ks1xmJN1aYb287oMFukcwvul4D7pkhMsTZVg57F6ONSxEUul2kvRjWwE4KMNUDKAH5pa bQcEa8KdvUDl5C0B/g9G4kdIw39hB8ga7VDX0FHD8udmeTkupHoYvX08GOAXdkQjy9ZV 9+3wjy+bnJoq9goSAbCde6mOf1z0GGvc0Y2ssBppzTq+VAsT1d19Os8tt3RV0+0QQeG7 TyIzSFmjxnbeL+X5bV6uiNHUNsoe+uXqCD4GgwDIpo91gfTa8zfZw4FU02dkyN72IZu7 Rtgw== X-Gm-Message-State: AA6/9RlFqAf7flIqPn2pjLxeXL+4RbgNjfG0Qi/LdvBkp79E7LU5aS8CfeOlNzzFD5ObbIMrovPCPF+IOSwT2Q== X-Received: by 10.107.174.229 with SMTP id n98mr4309088ioo.177.1477026309575; Thu, 20 Oct 2016 22:05:09 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Thu, 20 Oct 2016 22:05:08 -0700 (PDT) In-Reply-To: <964169.22253.qm@web101710.mail.ssk.yahoo.co.jp> References: <964169.22253.qm@web101710.mail.ssk.yahoo.co.jp> From: Adrian Chadd Date: Thu, 20 Oct 2016 22:05:08 -0700 X-Google-Sender-Auth: 61-qkSSzhLN56v_8tN8HPsP3TW4 Message-ID: Subject: Re: marvell 88e6060 support on etherswitch To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 05:05:10 -0000 What about the current API is making it difficult to work on etherswitch? How can we extend the API to cover it? Just the ingress/egress trailer? We could craft up an intermediary netif or something to expose, much like vlan? -a On 20 October 2016 at 18:34, Mori Hiroki wrote: > Hi. > > I make prototype marvell 88e6060 support on etherswitch dev. > > > https://github.com/yamori813/freebsd/blob/zrouter/sys/dev/etherswitch/e6000sw/e6060sw.c > > > > 88e6060 support port base vlan. But this is marvell original > Ingress and Egress Trailer in ether frame. > > How support this type switch chip on etherswitch dev ? > > Regards > > Hiroki Mori > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"