opnsense-src/sys/dev/cxgbe
Zhenlei Huang 62e1a437f3 routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549).
Implement kernel support for RFC 5549/8950.

* Relax control plane restrictions and allow specifying IPv6 gateways
 for IPv4 routes. This behavior is controlled by the
 net.route.rib_route_ipv6_nexthop sysctl (on by default).

* Always pass final destination in ro->ro_dst in ip_forward().

* Use ro->ro_dst to exract packet family inside if_output() routines.
 Consistently use RO_GET_FAMILY() macro to handle ro=NULL case.

* Pass extracted family to nd6_resolve() to get the LLE with proper encap.
 It leverages recent lltable changes committed in c541bd368f.

Presence of the functionality can be checked using ipv4_rfc5549_support feature(3).
Example usage:
  route add -net 192.0.0.0/24 -inet6 fe80::5054:ff:fe14:e319%vtnet0

Differential Revision: https://reviews.freebsd.org/D30398
MFC after:	2 weeks
2021-08-22 22:56:08 +00:00
..
common cxgbe(4): Skip a few more T5/T6 registers during a regdump. 2021-07-13 17:36:40 -07:00
crypto crypto: Constify all transform descriptors 2021-07-26 16:41:05 -04:00
cudbg
cxgbei iscsi: Teach the iSCSI stack about "large" received PDUs. 2021-08-18 10:56:28 -07:00
firmware cxgbe(4): Update firmwares to 1.26.0.0. 2021-07-12 21:25:36 -07:00
iw_cxgbe ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
tom routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-08-22 22:56:08 +00:00
adapter.h cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07:00
if_cc.c
if_ccv.c
if_cxl.c
if_cxlv.c
offload.h cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07:00
osdep.h
t4_clip.c cxgbe(4): Empty the clib_db before trying to destroy it. 2021-06-04 12:01:14 -07:00
t4_clip.h
t4_filter.c
t4_if.m
t4_ioctl.h
t4_iov.c
t4_l2t.c
t4_l2t.h
t4_main.c cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07:00
t4_mp_ring.c
t4_mp_ring.h
t4_netmap.c
t4_sched.c cxgbe(4): Do not configure traffic classes automatically on attach. 2021-06-25 16:04:09 -07:00
t4_sge.c cxgbei: Support for ISO (iSCSI segmentation offload). 2021-08-06 14:21:37 -07:00
t4_smt.c
t4_smt.h
t4_tracer.c
t4_vf.c