[ovs-git] [openvswitch/ovs] 61e865: tc: Add VLAN tpid for push action

GitHub noreply at github.com
Wed Jul 25 16:17:05 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 61e8655cfc7a633c25480f2d14fd4bf7e299157f
      https://github.com/openvswitch/ovs/commit/61e8655cfc7a633c25480f2d14fd4bf7e299157f
  Author: Jianbo Liu <jianbol at mellanox.com>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M lib/netdev-tc-offloads.c
    M lib/tc.c
    M lib/tc.h

  Log Message:
  -----------
  tc: Add VLAN tpid for push action

Currently we only support 802.1q, so we can offload push action without
specifying any vlan type. Kernel will push 802.1q ethertype by default.

But to support QinQ, we need to tell what ethertype is in push action as
it could be 802.1ad.

Signed-off-by: Jianbo Liu <jianbol at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


  Commit: b5ad40a9b84bf509248a451e9f4222fc37afeeb7
      https://github.com/openvswitch/ovs/commit/b5ad40a9b84bf509248a451e9f4222fc37afeeb7
  Author: Jianbo Liu <jianbol at mellanox.com>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M lib/netdev-tc-offloads.c
    M lib/tc.c

  Log Message:
  -----------
  netdev-tc-offloads: Add support to match on 802.1AD ethertype

Currently, we assume VLAN ethtertype is 0x8100, but it could
be 0x88a8 if QinQ is supported.

Signed-off-by: Jianbo Liu <jianbol at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


  Commit: 2f9366beb4f6c1bac690d7665008c1f85c16d253
      https://github.com/openvswitch/ovs/commit/2f9366beb4f6c1bac690d7665008c1f85c16d253
  Author: Jianbo Liu <jianbol at mellanox.com>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M include/openvswitch/match.h
    M lib/flow.c
    M lib/flow.h
    M lib/match.c
    M lib/meta-flow.c
    M lib/netdev-tc-offloads.c
    M ovn/controller/physical.c

  Log Message:
  -----------
  flow: Refactor some of VLAN helper functions

By default, these function are to change the first vlan vid and pcp
in the flow. Add a parameter as index for vlans if we want to handle
the second ones.

Signed-off-by: Jianbo Liu <jianbol at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


  Commit: f9885dc594c1ac93f4f1c1b4cc215c1f20d587ec
      https://github.com/openvswitch/ovs/commit/f9885dc594c1ac93f4f1c1b4cc215c1f20d587ec
  Author: Jianbo Liu <jianbol at mellanox.com>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M acinclude.m4
    M include/linux/pkt_cls.h
    M lib/dpif-netlink.c
    M lib/netdev-tc-offloads.c
    M lib/tc.c
    M lib/tc.h

  Log Message:
  -----------
  Add support to offload QinQ double VLAN headers match

Currently the inner VLAN header is ignored when using the TC data-path.
As TC flower supports QinQ, now we can offload the rules to match on both
outer and inner VLAN headers.

Signed-off-by: Jianbo Liu <jianbol at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


  Commit: ab15e70eb5878b46f8f84da940ffc915b6d74cad
      https://github.com/openvswitch/ovs/commit/ab15e70eb5878b46f8f84da940ffc915b6d74cad
  Author: Gavi Teitz <gavi at mellanox.com>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M lib/dpctl.c
    M lib/dpctl.man
    M lib/dpif-netlink.c
    M lib/dpif-provider.h
    M lib/dpif.c
    M lib/dpif.h

  Log Message:
  -----------
  dpctl: Expand the flow dump type filter

Added new types to the flow dump filter, and allowed multiple filter
types to be passed at once, as a comma separated list. The new types
added are:
 * tc - specifies flows handled by the tc dp
 * non-offloaded - specifies flows not offloaded to the HW
 * all - specifies flows of all types

The type list is now fully parsed by the dpctl, and a new struct was
added to dpif which enables dpctl to define which types of dumps to
provide, rather than passing the type string and having dpif parse it.

Signed-off-by: Gavi Teitz <gavi at mellanox.com>
Acked-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


Compare: https://github.com/openvswitch/ovs/compare/024810cf4bc3...ab15e70eb587
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list