mbox series

[net-next,0/4] net/vlan: prepare for removal of VLAN_TAG_PRESENT

Message ID cover.1541610138.git.mirq-linux@rere.qmqm.pl
Headers show
Series net/vlan: prepare for removal of VLAN_TAG_PRESENT | expand

Message

Michał Mirosław Nov. 7, 2018, 5:07 p.m. UTC
This is a preparatory patchset before removing the use of VLAN_TAG_PRESENT
bit in skb->vlan_tci as indication of VLAN offload. This set includes
only cleanups that allow abstracting of code testing VLAN tag presence
in drivers and networking code.

Michał Mirosław (4):
  net/vlan: introduce __vlan_hwaccel_clear_tag() helper
  net/vlan: introduce __vlan_hwaccel_copy_tag() helper
  net/vlan: include the shift in skb_vlan_tag_get_prio()
  net/vlan: remove unused #define HAVE_VLAN_GET_TAG

 include/linux/if_vlan.h   | 30 ++++++++++++++++++++++++++----
 net/core/flow_dissector.c |  3 +--
 2 files changed, 27 insertions(+), 6 deletions(-)

Comments

David Miller Nov. 8, 2018, 6:41 a.m. UTC | #1
From: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Date: Wed, 07 Nov 2018 18:07:02 +0100

> This is a preparatory patchset before removing the use of VLAN_TAG_PRESENT
> bit in skb->vlan_tci as indication of VLAN offload. This set includes
> only cleanups that allow abstracting of code testing VLAN tag presence
> in drivers and networking code.

Series applied.