Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Dec 2015 04:42:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205050] VLAN_MTU required by smsc driver
Message-ID:  <bug-205050-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205050

            Bug ID: 205050
           Summary: VLAN_MTU required by smsc driver
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: rpp@ci.com.au

Created attachment 163881
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163881&action=edit
patch to sys/dev/usb/net/if_smsc.c

When setting up VLANs on a Raspberry Pi ethernet port, the MTU drops from 1500
to 1496 bytes. The MTU should remain at 1500, extending the frame size as per
IEEE 802.3.  Adding IFCAP_VLAN_MTU to the if_capabilities field in the smsc
driver solves the problem.  The datasheet for the LAN9512 chip, section 3.2.3
states that the chip supports the extended frame.  Trivial patch attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205050-8>