]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow IP over IB to work with multiple FIBs.
authorRavi Pokala <rpokala@FreeBSD.org>
Tue, 13 Oct 2020 20:41:51 +0000 (20:41 +0000)
committerRavi Pokala <rpokala@FreeBSD.org>
Tue, 13 Oct 2020 20:41:51 +0000 (20:41 +0000)
commit9f6f4168b433c7e44308e7a8cfd3d7c8c6c5fc9b
tree2b9cf49a8d70cb78ac99faa7fd24d3394bd36222
parentc3f8f86efd5fdbf5701d41c47a7fc4cd3ccdc802
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>
MFC after: 1 week
Sponsored by: Panasas
Differential Revision: https://reviews.freebsd.org/D25239
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c