netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] bonding: simple macro cleanup
@ 2014-05-14 12:54 Veaceslav Falico
  2014-05-14 12:54 ` [PATCH net-next 1/5] bonding: use macro instead of bond_is_lb() Veaceslav Falico
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Veaceslav Falico @ 2014-05-14 12:54 UTC (permalink / raw)
  To: netdev; +Cc: Jay Vosburgh, Andy Gospodarek, Veaceslav Falico

Hi,

That's a trivial patchset that tries to unify the macro usage of bonding
modes. I've split it into two approaches - either BOND_*, which takes
bonding struct as a param, or MODE_*, which takes the mode itself. Also,
introduce BOND_MODE(bond) instead of ugly bond->params.mode.


CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: netdev@vger.kernel.org
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>

---
 drivers/net/bonding/bond_alb.c         |   4 +-
 drivers/net/bonding/bond_debugfs.c     |   2 +-
 drivers/net/bonding/bond_main.c        | 114 ++++++++++++++++-----------------
 drivers/net/bonding/bond_netlink.c     |   6 +-
 drivers/net/bonding/bond_options.c     |   6 +-
 drivers/net/bonding/bond_procfs.c      |  14 ++--
 drivers/net/bonding/bond_sysfs.c       |  14 ++--
 drivers/net/bonding/bond_sysfs_slave.c |   2 +-
 drivers/net/bonding/bonding.h          |  24 +++----
 9 files changed, 91 insertions(+), 95 deletions(-)

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

end of thread, other threads:[~2014-05-15  9:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 12:54 [PATCH net-next 0/5] bonding: simple macro cleanup Veaceslav Falico
2014-05-14 12:54 ` [PATCH net-next 1/5] bonding: use macro instead of bond_is_lb() Veaceslav Falico
2014-05-14 12:54 ` [PATCH net-next 2/5] bonding: rename {,BOND}_TX_QUEUE_OVERRIDE and make it accept bond struct Veaceslav Falico
2014-05-14 12:54 ` [PATCH net-next 3/5] bonding: rename {BOND_NO,MODE_NOT}_USES_ARP to better reflect its meaning Veaceslav Falico
2014-05-14 12:54 ` [PATCH net-next 4/5] bonding: rename {,MODE_}USES_PRIMARY " Veaceslav Falico
2014-05-14 12:54 ` [PATCH net-next 5/5] bonding: create a macro for bond mode and use it Veaceslav Falico
2014-05-14 13:08 ` [PATCH net-next 0/5] bonding: simple macro cleanup David Laight
2014-05-14 13:29   ` Veaceslav Falico
2014-05-14 16:10     ` Alexei Starovoitov
2014-05-14 16:29       ` Joe Perches
2014-05-14 21:52         ` Alexei Starovoitov
2014-05-14 22:03           ` Joe Perches
2014-05-14 23:37             ` Alexei Starovoitov
2014-05-15  0:04               ` [PATCH] tg3: Use static inlines not macros Joe Perches
2014-05-15  5:24                 ` Alexei Starovoitov
2014-05-15  9:04         ` [PATCH net-next 0/5] bonding: simple macro cleanup David Laight
2014-05-15  6:34       ` Veaceslav Falico

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).