]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r366686:
authorRavi Pokala <rpokala@FreeBSD.org>
Sun, 25 Oct 2020 23:25:53 +0000 (23:25 +0000)
committerRavi Pokala <rpokala@FreeBSD.org>
Sun, 25 Oct 2020 23:25:53 +0000 (23:25 +0000)
commit7f8c7eabdd6197b1d83970cfc169edca434a6696
tree8e7b44d36ae0baf12de4c36c3a2a79a3cf6161b9
parentf95681d1f97272b26c1198df756436f446bc1f49
MFC r366686:

Allow IP over IB to work with multiple FIBs.

Call M_SETFIB() to make sure the IPoIB packet is directed to the correct
interface-specific FIB.

This was sufficient to allow general-purpose routing using the default FIB,
and a separate FIB for routing between IPoIB on ib0 and IPoEthernet on mce0.

Reviewed by: hselasky
Obtained from: Anmol Kumar <anmolk at panasas dot com>
Sponsored by: Panasas
Differential Revision: https://reviews.freebsd.org/D26733
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c