Bug 223669

Summary: vnic: implement IPv6
Product: Base System Reporter: Ed Maste <emaste>
Component: kernAssignee: Bjoern A. Zeeb <bz>
Status: Closed FIXED    
Severity: Affects Some People Flags: emaste: mfc-stable11+
emaste: mfc-stable10-
emaste: mfc-stable9-
Priority: ---    
Version: CURRENT   
Hardware: arm64   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223573
Bug Depends on:    
Bug Blocks: 203349    

Description Ed Maste freebsd_committer 2017-11-14 16:25:38 UTC
Packet.net folks tested a FreeBSD/arm64 image and found that IPv6 is broken.

Issue 1: Multicast ARM64TODO
Report:
> in6_ifattach: vnic0 is not multicast capable, IPv6 not enabled
https://svnweb.freebsd.org/base/head/sys/dev/vnic/nicvf_main.c?view=markup#l498

Issue 2: IPv6 ARM64TODO
https://svnweb.freebsd.org/base/head/sys/dev/vnic/nicvf_queues.c?revision=325683&view=markup#l1780
Comment 1 commit-hook freebsd_committer 2017-11-14 16:48:11 UTC
A commit references this bug:

Author: bz
Date: Tue Nov 14 16:47:06 UTC 2017
New revision: 325813
URL: https://svnweb.freebsd.org/changeset/base/325813

Log:
  Unbreak IPv6.

  No longer return ENXIO when trying to send an IPv6 packet in
  nicvf_sq_add_hdr_subdesc().
  Restructure the code so that the upper layer protocol parts are
  agnostic of the L3 protocol (and no longer specific to IPv4).
  With this basic IPv6 packets go through.  We are still seeing
  weird behaviour which needs further diagnosis.

  PR:			223669
  In collaboration with:	emaste
  MFC after:		3 days

Changes:
  head/sys/dev/vnic/nicvf_queues.c
Comment 2 commit-hook freebsd_committer 2017-11-21 15:35:12 UTC
A commit references this bug:

Author: emaste
Date: Tue Nov 21 15:34:26 UTC 2017
New revision: 326062
URL: https://svnweb.freebsd.org/changeset/base/326062

Log:
  MFC r325813 (bz): Unbreak IPv6.

  No longer return ENXIO when trying to send an IPv6 packet in
  nicvf_sq_add_hdr_subdesc().
  Restructure the code so that the upper layer protocol parts are
  agnostic of the L3 protocol (and no longer specific to IPv4).
  With this basic IPv6 packets go through.  We are still seeing
  weird behaviour which needs further diagnosis.

  PR:		223669

Changes:
_U  stable/11/
  stable/11/sys/dev/vnic/nicvf_queues.c