[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1377002752-4622-1-git-send-email-f.fainelli@gmail.com>
Date: Tue, 20 Aug 2013 13:45:49 +0100
From: "Florian Fainelli" <f.fainelli@...il.com>
To: netdev@...r.kernel.org
cc: amwang@...hat.com, jiri@...nulli.us, stephen@...workplumber.org,
kaber@...sh.net, davem@...emloft.net, vyasevic@...hat.com,
johannes@...solutions.net, eric.dumazet@...il.com,
"Florian Fainelli" <f.fainelli@...il.com>
Subject: [PATCH 0/3] net: propagate dynamic needed_headroom/tailroom
changes
Hi all,
This patchset aims at allowing dynamically changing a given device
needed_headroom/tailroom space and propagating such events to stacked
devices such as bridges and vlans.
Unless callers use the new helpers (dev_set_headroom/dev_set_tailroom)
there is no functional change introduced.
I tested this with an out of tree Ethernet driver with both VLANs and
bridges and the need for a 64-byte headroom to insert a transmit
status descriptor in front of a SKB.
Since I am not familiar with all subsystems/drivers changing the
needed_headroom/tailroom requirements, I would leave that to them.
Florian Fainelli (3):
net: add a new NETDEV_CHANGEROOM event type
net: vlan: handle NETDEV_CHANGEROOM events
net: bridge: handle NETDEV_CHANGEROOM event
include/linux/netdevice.h | 3 +++
net/8021q/vlan.c | 7 +++++++
net/bridge/br_if.c | 32 ++++++++++++++++++++++++++++++++
net/bridge/br_notify.c | 5 +++++
net/bridge/br_private.h | 2 ++
net/core/dev.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 95 insertions(+)
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists