[ovs-git] [openvswitch/ovs] ecadc3: netdev-offload-tc: Use single 'once' variable for ...

Roi Dayan noreply at github.com
Mon Nov 16 10:02:11 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: ecadc3a30b4b9e1682017456444dc1c3488f9998
      https://github.com/openvswitch/ovs/commit/ecadc3a30b4b9e1682017456444dc1c3488f9998
  Author: Roi Dayan <roid at nvidia.com>
  Date:   2020-11-11 (Wed, 11 Nov 2020)

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

  Log Message:
  -----------
  netdev-offload-tc: Use single 'once' variable for probing tc features

There is no need for a 'once' variable per probe.

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




More information about the git mailing list