[ovs-git] [openvswitch/ovs] 79d0df: netdev-tc-offloads: Fix probing multi mask per pri...

GitHub noreply at github.com
Mon Jul 2 14:16:14 UTC 2018

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 79d0dfa4e99ae61198ca559060bcd5b437a50894
  Author: Roi Dayan <roid at mellanox.com>
  Date:   2018-07-02 (Mon, 02 Jul 2018)

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

  Log Message:
  netdev-tc-offloads: Fix probing multi mask per prio

When adding TC rules we save the prio so can reuse same prio
for same mask since different mask will have to use different prio.
The multi mask per prio probe broke this by using a prio but
get_prio_for_tc_flower() didn't know about it.
Also multi mask per prio support changes the hash calculation.
It's best the probe will add and del the ingress qdisc to have a clean start
after it.

Signed-off-by: Roi Dayan <roid at mellanox.com>
Acked-by: Paul Blakey <paulb at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>

      **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