Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2017 03:06:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220698] [iflib][em] some interface options flags can not change
Message-ID:  <bug-220698-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 220698
           Summary: [iflib][em] some interface options flags can not
                    change
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: kaho@elam.kais.kyoto-u.ac.jp

Created attachment 184318
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D184318&action=
=3Dedit
iflib.c cleanup

The options flags VLAN_HWCSUM on if_em driver can not be changed by using
ifconfig command.
See https://lists.freebsd.org/pipermail/freebsd-net/2017-May/048008.html
The WOL_UCAST flags can't also be changed.

The attached patch makes these flags changeable. And it contains others lis=
ting
below.

1. WOL related flags can be changed without re-initialize.

2. Because of the function if_vlancap() refers the parent device flags,
I think, if_togglecapenable() is first, then if_vlancap() is next.

3. Don't check immediate number but defined value.
I don't have any problems now and it is not related to options flags,
but I think it is incorrect.

--=20
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-220698-8>