implementation of IEEE 802.1Qbg in lldpad

2010-11-08 Thread Jens Osterkamp
Hi, this set of patches contains the initial implementation of the IEEE 802.1Qbg standard: code for the exchange of EVB TLVs in LLDP frames to negotiate VSI capabalities as well as VDP VSI TLVs between a host with virtual machines and an adjacent switch. It supports setting the parameters of the

[PATCH 1/9] consolidation of MIN and MAX macros in common.h

2010-11-08 Thread Jens Osterkamp
This patch consolidates a modified version of the already existing MIN macro in lldpad to include/common.h and add a MAX macro. Signed-off-by: Jens Osterkamp --- include/common.h | 14 ++ include/dcb_protocol.h |4 2 files changed, 14 insertions(+), 4 deletions(-) d

[PATCH 6/9] add libnl dependency to configure.ac

2010-11-08 Thread Jens Osterkamp
Signed-off-by: Jens Osterkamp --- configure.ac |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 619c6c4..8b9d08a 100644 --- a/configure.ac +++ b/configure.ac @@ -12,6 +12,11 @@ PKG_CHECK_MODULES(LIBCONFIG, libconfig, AC_SUBST(LIBCONFI

[PATCH 3/9] BUGFIX: check for existence of ifup

2010-11-08 Thread Jens Osterkamp
added an additional check for existence of the ifup operation. If it does not exist, just skip it. Signed-off-by: Jens Osterkamp --- config.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.c b/config.c index 5cfac83..26afe3b 100644 --- a/config.c +++ b/confi

[PATCH 5/9] VDP commandline interface

2010-11-08 Thread Jens Osterkamp
This patch implements the command line interface to control the VDP module. In station role, it allows to register a new VSI (guest interface) profile and query its state. In bridge role, it allows to query the state of all registered profiles. With lldptool it is possible to set the role from defa

[PATCH 9/9] do not use macv[tap/lan] interfaces as ports

2010-11-08 Thread Jens Osterkamp
At startup lldpad walks through all network interfaces in the system and creates internal data structures for them. Some interfaces as e.g. vlan and wlan are skipped in the walkthrough, some have to be treated special (e.g. bond devices). This patch adds macvtap and macvlan interfaces to the list o

[PATCH 7/9] use connect instead of bind

2010-11-08 Thread Jens Osterkamp
modifies the setup of the netlink socket in drv_cfg.c to use pid 0 instead of the processes pid. Also replaces bind with connect to allow the reception of netlink messages from libvirt. Preparation patch for communication between libvirt and lldpad. Signed-off-by: Gerhard Stenzel --- drv_cfg.c |

Re: [PATCH 36/49] drivers/video: Use vzalloc

2010-11-08 Thread Konrad Rzeszutek Wilk
On Thu, Nov 04, 2010 at 08:08:00PM -0700, Joe Perches wrote: > Signed-off-by: Joe Perches Looks good on xen-fb. > --- > drivers/video/arcfb.c|5 ++--- > drivers/video/broadsheetfb.c |4 +--- > drivers/video/hecubafb.c |5 ++--- > drivers/video/metronomefb.c |4 +---

[PATCH 8/9] lldpad support for libvirt netlink message

2010-11-08 Thread Jens Osterkamp
This code receives a IEEE 802.1Qbg virtual station instance from libvirt in a SETLINK message. The parsed VSI is then handed over to VDP for processing. The VDP state machine processes the VSI while libvirt polls the result using GETLINK. Requires at least Linux kernel 2.6.35-rc1. Signed-off-by:

[PATCH 08/10] staging: hv: Convert camel cased struct fields in ring_buffer.h to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased struct fields in ring_buffer.h to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/channel.c | 10 +++--- drivers/staging/hv/ring_buffer.c | 58 - drive

[PATCH 09/10] staging: hv: Convert camel cased local variables in ring_buffer.c to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased local variables in ring_buffer.c to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/channel.c |4 +- drivers/staging/hv/ring_buffer.c | 337 +++--- driver

[PATCH 06/10] staging: hv: Convert camel cased local variables in osd.c to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased local variables in osd.c to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/osd.c | 40 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a

[PATCH 04/10] staging: hv: Convert camel cased local variables in hv.c to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased local variables in hv.c to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/hv.c | 172 +++--- 1 files changed, 86 insertions(+), 86 deletions(-) diff --g

[PATCH 05/10] staging: hv: Convert camel cased functions in hv.c to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased functions in hv.c to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/connection.c |4 +- drivers/staging/hv/hv.c | 47 -- drivers/staging/hv/hv.h

[PATCH 10/10] staging: hv: Convert camel cased functions in ring_buffer.c to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased functions in ring_buffer.c to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/channel.c | 40 ++-- drivers/staging/hv/ring_buffer.c | 123 +++-- dri

[PATCH 03/10] staging: hv: Convert camel cased struct fields in hv.h to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased struct fields in hv.h to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/hv.c| 95 +++- drivers/staging/hv/hv.h| 20 +- drivers/staging

[PATCH 02/10] staging: hv: Convert camel cased struct fields in hv_api.h to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased struct fields in hv_api.h to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/channel.c | 32 ++-- drivers/staging/hv/channel_mgmt.c |6 +- drivers/staging/hv/connection.c |4 +-

[PATCH 07/10] staging: hv: Convert camel cased functions in osd.c to lower cases

2010-11-08 Thread Haiyang Zhang
From: Haiyang Zhang staging: hv: Convert camel cased functions in osd.c to lower cases Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/channel.c | 20 +- drivers/staging/hv/channel_mgmt.c | 12 +- drivers/staging/hv/connection.

[PATCH 2/9] implementation of IEEE 802.1Qbg in lldpad, part 1

2010-11-08 Thread Jens Osterkamp
This patch contains the first part of an initial implementation of the IEEE 802.1Qbg standard: it implements code for the exchange of EVB capabilities between a host with virtual machines and an adjacent switch. For this it adds a new EVB TLV to LLDP. Exchange of EVB TLV may be enabled or disabled