[ovs-git] [openvswitch/ovs] dda918: dpif-netlink: Allow offloading of flows with dl_ty...

Ilya Maximets noreply at github.com
Wed Jul 31 13:57:52 UTC 2019


  Branch: refs/heads/branch-2.12
  Home:   https://github.com/openvswitch/ovs
  Commit: dda91839a2b78f5934ba551b0bec46f8ad351e58
      https://github.com/openvswitch/ovs/commit/dda91839a2b78f5934ba551b0bec46f8ad351e58
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-07-31 (Wed, 31 Jul 2019)

  Changed paths:
    M lib/dpif-netlink.c

  Log Message:
  -----------
  dpif-netlink: Allow offloading of flows with dl_type 0x1234.

'dpif_probe_feature()' always has DPIF_FP_PROBE flag set. Other probing
code uses dpif_execute() with DPIF_OP_EXECUTE, hence never calls
parse_flow_put().
Thus, this 'if' statement is wrong and should be removed as it only
forbids offloading of the real legitimate flows with dl_type 0x1234.
Dummy flows never reach this code.

CC: Paul Blakey <paulb at mellanox.com>
Fixes: 8b668ee3f0cc ("dpif-netlink: Use netdev flow put api to insert a flow")
Reported-by: Eli Britstein <elibr at mellanox.com>
Acked-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>




More information about the git mailing list