[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101115.180225.189678628.davem@davemloft.net>
Date: Mon, 15 Nov 2010 18:02:25 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: tgraf@...radead.org
Cc: jeff@...zik.org, bhutchings@...arflare.com, shemminger@...tta.com,
netdev@...r.kernel.org
Subject: Re: the future of ethtool
From: Thomas Graf <tgraf@...radead.org>
Date: Mon, 15 Nov 2010 18:33:35 -0500
> I tried to solve this by splitting the validate/change operation and
> thus be able to validate all requests before starting to commit
> them. This would mean changing all drivers though which I wasn't
> willing to do.
It isn't sufficient. You can still get into unwindable failures.
Earlier operations can consume fixed resources like TCAM filter
slots or rx/tx queues, making a subsequent operation in the
sequence fail.
A validate/commit scheme cannot detect this effectively.
--
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