[Differential] D19422: if_vxlan(4) Allow set MTU more than 1500 bytes.

aleksandr.fedorov_itglobal.com (Aleksandr Fedorov) phabric-noreply at FreeBSD.org
Fri Jul 12 10:14:17 UTC 2019


aleksandr.fedorov_itglobal.com updated this revision to Diff 59684.
aleksandr.fedorov_itglobal.com edited the test plan for this revision.
aleksandr.fedorov_itglobal.com added reviewers: krion, jhb.
aleksandr.fedorov_itglobal.com added a comment.
This revision now requires review to proceed.


  I think that mtu handling in ether_ioctl () requires more work and must be done very carefully, because it is used by many other drivers. Some drivers set the IFCAP_JUMBO_MTU flag, but limit the maximum MTU size to less than 9000 bytes. Therefore, it is not so easy to handle the various requirements for drivers in ether_ioctl (), and failback to the standard MTU (1500) size may be reasonable.
  
  Revision changes:
  
  - Increase maximum allowed MTU to 65K - 100 bytes

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D19422?vs=54585&id=59684

CHANGES SINCE LAST ACTION
  https://reviews.freebsd.org/D19422/new/

REVISION DETAIL
  https://reviews.freebsd.org/D19422

AFFECTED FILES
  sys/net/if_vxlan.c

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: aleksandr.fedorov_itglobal.com, bryanv, hrs, #network, rgrimes, krion, jhb
Cc: evgueni.gavrilov_itglobal.com, olevole_olevole.ru, ae, freebsd-net-list, krzysztof.galazka_intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19422.59684.patch
Type: text/x-patch
Size: 1325 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20190712/bb8b14a5/attachment.bin>


More information about the freebsd-net mailing list