All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH next 0/5] bonding: winter cleanup
@ 2017-03-08 18:55 Mahesh Bandewar
  2017-03-08 23:24 ` Jay Vosburgh
  2017-03-10  1:33 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Mahesh Bandewar @ 2017-03-08 18:55 UTC (permalink / raw)
  To: Jay Vosburgh, Andy Gospodarek, Veaceslav Falico,
	Nikolay Aleksandrov, David Miller, Eric Dumazet
  Cc: netdev, Mahesh Bandewar, Mahesh Bandewar

From: Mahesh Bandewar <maheshb@google.com>

Few cleanup patches that I have accumulated over some time now.

(a) First two patches are basically to move the work-queue initialization
    from every ndo_open / bond_open operation to once at the beginning while
    port creation. Work-queue initialization is an unnecessary operation
    for every 'ifup' operation. However we have some mode-specific work-queues
    and mode can change anytime after port creation. So the second patch is
    to ensure the correct work-handler is called based on the mode.

(b) Third patch is simple and straightforward that removes hard-coded value
    that was added into the initial commit and replaces it with the default
    value configured.

(c) The final patch in the series removes the unimplemented "port-moved" state
    from the LACP state machine. This state is defined but never set so
    removing from the state machine logic makes code little cleaner.

(d) Reduce scope of some global variables to local.

Note: None of these patches are making any functional changes.

Mahesh Bandewar (5):
  bonding: restructure arp-monitor
  bonding: initialize work-queues during creation of bond
  bonding: remove hardcoded value
  bonding: remove "port-moved" state that was never implemented
  bonding: reduce scope of some global variables

 drivers/net/bonding/bond_3ad.c  | 11 +++------
 drivers/net/bonding/bond_main.c | 53 ++++++++++++++++++++++++++---------------
 2 files changed, 37 insertions(+), 27 deletions(-)

-- 
2.12.0.246.ga2ecc84866-goog

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH next 0/5] bonding: winter cleanup
  2017-03-08 18:55 [PATCH next 0/5] bonding: winter cleanup Mahesh Bandewar
@ 2017-03-08 23:24 ` Jay Vosburgh
  2017-03-10  1:33 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Jay Vosburgh @ 2017-03-08 23:24 UTC (permalink / raw)
  To: Mahesh Bandewar
  Cc: Andy Gospodarek, Veaceslav Falico, Nikolay Aleksandrov,
	David Miller, Eric Dumazet, netdev, Mahesh Bandewar

Mahesh Bandewar <mahesh@bandewar.net> wrote:

>From: Mahesh Bandewar <maheshb@google.com>
>
>Few cleanup patches that I have accumulated over some time now.
>
>(a) First two patches are basically to move the work-queue initialization
>    from every ndo_open / bond_open operation to once at the beginning while
>    port creation. Work-queue initialization is an unnecessary operation
>    for every 'ifup' operation. However we have some mode-specific work-queues
>    and mode can change anytime after port creation. So the second patch is
>    to ensure the correct work-handler is called based on the mode.
>
>(b) Third patch is simple and straightforward that removes hard-coded value
>    that was added into the initial commit and replaces it with the default
>    value configured.
>
>(c) The final patch in the series removes the unimplemented "port-moved" state
>    from the LACP state machine. This state is defined but never set so
>    removing from the state machine logic makes code little cleaner.
>
>(d) Reduce scope of some global variables to local.

	For all patches in the series:

Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com>

>Note: None of these patches are making any functional changes.
>
>Mahesh Bandewar (5):
>  bonding: restructure arp-monitor
>  bonding: initialize work-queues during creation of bond
>  bonding: remove hardcoded value
>  bonding: remove "port-moved" state that was never implemented
>  bonding: reduce scope of some global variables
>
> drivers/net/bonding/bond_3ad.c  | 11 +++------
> drivers/net/bonding/bond_main.c | 53 ++++++++++++++++++++++++++---------------
> 2 files changed, 37 insertions(+), 27 deletions(-)
>
>-- 
>2.12.0.246.ga2ecc84866-goog

---
	-Jay Vosburgh, jay.vosburgh@canonical.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH next 0/5] bonding: winter cleanup
  2017-03-08 18:55 [PATCH next 0/5] bonding: winter cleanup Mahesh Bandewar
  2017-03-08 23:24 ` Jay Vosburgh
@ 2017-03-10  1:33 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2017-03-10  1:33 UTC (permalink / raw)
  To: mahesh; +Cc: j.vosburgh, andy, vfalico, nikolay, edumazet, netdev, maheshb

From: Mahesh Bandewar <mahesh@bandewar.net>
Date: Wed,  8 Mar 2017 10:55:45 -0800

> Few cleanup patches that I have accumulated over some time now.
> 
> (a) First two patches are basically to move the work-queue initialization
>     from every ndo_open / bond_open operation to once at the beginning while
>     port creation. Work-queue initialization is an unnecessary operation
>     for every 'ifup' operation. However we have some mode-specific work-queues
>     and mode can change anytime after port creation. So the second patch is
>     to ensure the correct work-handler is called based on the mode.
> 
> (b) Third patch is simple and straightforward that removes hard-coded value
>     that was added into the initial commit and replaces it with the default
>     value configured.
> 
> (c) The final patch in the series removes the unimplemented "port-moved" state
>     from the LACP state machine. This state is defined but never set so
>     removing from the state machine logic makes code little cleaner.
> 
> (d) Reduce scope of some global variables to local.
> 
> Note: None of these patches are making any functional changes.

This series looks fine to me, applied to net-next, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-10  1:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-08 18:55 [PATCH next 0/5] bonding: winter cleanup Mahesh Bandewar
2017-03-08 23:24 ` Jay Vosburgh
2017-03-10  1:33 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.