[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150922165348.GD2253@nanopsycho.orion>
Date: Tue, 22 Sep 2015 18:53:48 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Scott Feldman <sfeldma@...il.com>
Cc: Netdev <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Ido Schimmel <idosch@...lanox.com>, eladr@...lanox.com,
Florian Fainelli <f.fainelli@...il.com>,
Guenter Roeck <linux@...ck-us.net>,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
"Rosen, Rami" <rami.rosen@...el.com>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
Premkumar Jonnala <pjonnala@...adcom.com>,
"andrew@...n.ch" <andrew@...n.ch>,
Andy Gospodarek <gospo@...ulusnetworks.com>
Subject: Re: [patch net-next 00/10] switchdev: transaction item queue and
cleanup
Tue, Sep 22, 2015 at 06:22:23PM CEST, sfeldma@...il.com wrote:
>On Tue, Sep 22, 2015 at 6:53 AM, Jiri Pirko <jiri@...nulli.us> wrote:
>> From: Jiri Pirko <jiri@...lanox.com>
>>
>> Jiri Pirko (10):
>> switchdev: rename "trans" to "trans_ph".
>> switchdev: introduce transaction item queue for attr_set and obj_add
>> switchdev: move transaction phase enum under transaction structure
>> switchdev: add switchdev_trans_ph_prepare/commit helpers
>> rocker: push struct switchdev_trans down through rocker code
>> rocker: use switchdev transaction queue for allocated memory
>> switchdev: remove "NONE" transaction phase
>> switchdev: remove "ABORT" transaction phase
>> dsa: use prepare/commit switchdev transaction helpers
>> switchdev: reduce transaction phase enum down to a boolean
>>
>> drivers/net/ethernet/rocker/rocker.c | 311 +++++++++++++++--------------------
>> include/net/switchdev.h | 40 +++--
>> net/dsa/slave.c | 31 ++--
>> net/switchdev/switchdev.c | 99 ++++++++---
>> 4 files changed, 252 insertions(+), 229 deletions(-)
>
>I like this version much better! Thank you for making the
>adjustments. My main concern about easily opting-out of prepare phase
>is gone. And I appreciate that you moved trans * as arg to attr_set
>and obj_add.
>
>Would you add a write-up in switchdev.txt about prepare-commit model
>and how to use the transaction object? Add it to this patchset, if
>you can.
Okay.
>
>What testing have you done? I'll do testing today on my bench and
>report back, but I kind of want to know what to expect.
I did basic smoke tests with bridged rocker ports.
>
>Give a day or two for testing and review.
Thanks!
--
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