netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] dcbnl: Major simplifications
@ 2012-06-13 12:54 Thomas Graf
  2012-06-13 12:54 ` [PATCH 1/8] dcbnl: Prepare framework to shorten handling functions Thomas Graf
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Thomas Graf @ 2012-06-13 12:54 UTC (permalink / raw)
  To: davem; +Cc: netdev, lucy.liu, john.r.fastabend, alexander.h.duyck

The dcbnl code is overly complicated when constructing the reply
message. This series of patches simplifies the process and
introduces consistent error codes allowing user space to figure
out what went wrong.

Patches have been tested with ixgbe in a FCoE setup.

Thomas Graf (8):
  dcbnl: Prepare framework to shorten handling functions
  dcbnl: Shorten all command handling functions
  dcbnl: Remove now unused dcbnl_reply()
  dcbnl: Use dcbnl_newmsg() where possible
  dcbnl: Return consistent error codes
  dcbnl: Move dcb app lookup code into dcb_app_lookup()
  dcbnl: Move dcb app allocation into dcb_app_add()
  dcbnl: Use type safe nlmsg_data()

 net/dcb/dcbnl.c | 1169 +++++++++++++++++++------------------------------------
 1 files changed, 401 insertions(+), 768 deletions(-)

-- 
1.7.7.6

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

end of thread, other threads:[~2012-06-21  6:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-13 12:54 [PATCH 0/8] dcbnl: Major simplifications Thomas Graf
2012-06-13 12:54 ` [PATCH 1/8] dcbnl: Prepare framework to shorten handling functions Thomas Graf
2012-06-13 12:54 ` [PATCH 2/8] dcbnl: Shorten all command " Thomas Graf
2012-06-21  6:04   ` John Fastabend
2012-06-13 12:54 ` [PATCH 3/8] dcbnl: Remove now unused dcbnl_reply() Thomas Graf
2012-06-13 12:54 ` [PATCH 4/8] dcbnl: Use dcbnl_newmsg() where possible Thomas Graf
2012-06-13 12:54 ` [PATCH 5/8] dcbnl: Return consistent error codes Thomas Graf
2012-06-13 12:54 ` [PATCH 6/8] dcbnl: Move dcb app lookup code into dcb_app_lookup() Thomas Graf
2012-06-13 12:55 ` [PATCH 7/8] dcbnl: Move dcb app allocation into dcb_app_add() Thomas Graf
2012-06-13 12:55 ` [PATCH 8/8] dcbnl: Use type safe nlmsg_data() Thomas Graf
2012-06-13 22:55 ` [PATCH 0/8] dcbnl: Major simplifications David Miller
2012-06-14  7:54   ` Thomas Graf
2012-06-14 16:06     ` John Fastabend
2012-06-15  7:26       ` Thomas Graf
2012-06-16  3:53         ` John Fastabend
2012-06-14  8:40   ` [PATCH] dcbnl: Use BUG_ON() instead of BUG() Thomas Graf
2012-06-14  8:46     ` David Miller

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