[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150305.000717.479876439702052068.davem@davemloft.net>
Date: Thu, 05 Mar 2015 00:07:17 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sfeldma@...il.com
Cc: netdev@...r.kernel.org, jiri@...nulli.us, roopa@...ulusnetworks.com
Subject: Re: [PATCH net-next v3 0/7] switchdev: add IPv4 routing offload
From: Scott Feldman <sfeldma@...il.com>
Date: Wed, 4 Mar 2015 20:50:28 -0800
> I don't know what to do for v4. Bummer, we got pretty close. My only
> ideas right now involve more code to handling unwinding some routes
> from hw when related route fails to install to hw.
Scott:
1) route ADD
driver has NULL ndo_op, do nothing, install sw route
ndo_op SUCCESS, return 0, all is good and the caller sets the
external bit
ndo_op FAILURE, returns any error code, any and all external
routes are removed with DEL ndo_op, all external bits are
cleared
2) route DEL
driver has NULL ndo_op, do nothing
ndo_op SUCCESS, return 0, clear external bit
ndo_op FAILURE, pass failure up the delete call stack
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists