-----Original Message-----
From: <owner-src-committ...@freebsd.org> on behalf of Ravi Pokala 
<rpok...@freebsd.org>
Date: 2020-10-13, Tuesday at 13:41
To: <src-committ...@freebsd.org>, <svn-src-all@freebsd.org>, 
<svn-src-h...@freebsd.org>
Subject: svn commit: r366686 - head/sys/ofed/drivers/infiniband/ulp/ipoib

    Author: rpokala
    Date: Tue Oct 13 20:41:51 2020
    New Revision: 366686
    URL: https://svnweb.freebsd.org/changeset/base/366686

    Log:
      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

That's actually https://reviews.freebsd.org/D26733

-Ravi (rpokala@)

    Modified:
      head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c

    Modified: head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
    
==============================================================================
    --- head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Tue Oct 13 
20:40:09 2020        (r366685)
    +++ head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Tue Oct 13 
20:41:51 2020        (r366686)
    @@ -1617,6 +1617,8 @@ ipoib_demux(struct ifnet *ifp, struct mbuf *m, u_short
                m_freem(m);
                return;
        }
    +   /* Direct packet to correct FIB based on interface config */
    +   M_SETFIB(m, ifp->if_fib);
        /*
         * Dispatch frame to upper layer.
         */


_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to