netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH next 0/4] bonding: winter cleanup
@ 2017-02-22  1:08 Mahesh Bandewar
  2017-02-22  3:29 ` David Miller
  2017-02-22  7:58 ` Jiri Pirko
  0 siblings, 2 replies; 8+ messages in thread
From: Mahesh Bandewar @ 2017-02-22  1:08 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.

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

Mahesh Bandewar (4):
  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

 drivers/net/bonding/bond_3ad.c  | 11 +++--------
 drivers/net/bonding/bond_main.c | 42 ++++++++++++++++++++++++++++-------------
 2 files changed, 32 insertions(+), 21 deletions(-)

-- 
2.11.0.483.g087da7b7c-goog

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

end of thread, other threads:[~2017-02-22 20:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22  1:08 [PATCH next 0/4] bonding: winter cleanup Mahesh Bandewar
2017-02-22  3:29 ` David Miller
2017-02-22  4:36   ` Or Gerlitz
2017-02-22 19:17     ` Mahesh Bandewar (महेश बंडेवार)
2017-02-22 19:21       ` Andy Gospodarek
2017-02-22  7:58 ` Jiri Pirko
2017-02-22 19:23   ` Mahesh Bandewar (महेश बंडेवार)
2017-02-22 20:26     ` Jiri Pirko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).