[ovs-git] [openvswitch/ovs] 0a8bd4: compat: Add ct_state flags definitions

Simon Horman noreply at github.com
Mon Mar 15 18:39:11 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0a8bd432ae0cf750b5560312343ddaa05af8c876
      https://github.com/openvswitch/ovs/commit/0a8bd432ae0cf750b5560312343ddaa05af8c876
  Author: Paul Blakey <paulb at nvidia.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M acinclude.m4
    M include/linux/pkt_cls.h

  Log Message:
  -----------
  compat: Add ct_state flags definitions

Add TCA_FLOWER_KEY_CT_FLAGS_REPLY, and TCA_FLOWER_KEY_CT_FLAGS_INVALID.

Signed-off-by: Paul Blakey <paulb at nvidia.com>
Acked-by: Roi Dayan <roid at nvidia.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner at gmail.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


  Commit: 1e4aa061ac8b71196c0b0c8ab23d1627cd2e4a27
      https://github.com/openvswitch/ovs/commit/1e4aa061ac8b71196c0b0c8ab23d1627cd2e4a27
  Author: Paul Blakey <paulb at nvidia.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

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

  Log Message:
  -----------
  netdev-offload-tc: Probe for support for any of the ct_state flags

Upstream kernel now rejects unsupported ct_state flags.
Earlier kernels, ignored it but still echoed back the requested ct_state,
if ct_state was supported. ct_state initial support had trk, new, est,
and rel flags.

If kernel echos back ct_state, assume support for trk, new, est, and
rel. If kernel rejects a specific unsupported flag, continue and
use reject mechanisim to probe for flags rep and inv.

Disallow inserting rules with unnsupported ct_state flags.

Signed-off-by: Paul Blakey <paulb at nvidia.com>
Acked-by: Roi Dayan <roid at nvidia.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner at gmail.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


  Commit: edcfd7176f8b46b18d3501377f7a2c7ac4d72908
      https://github.com/openvswitch/ovs/commit/edcfd7176f8b46b18d3501377f7a2c7ac4d72908
  Author: Paul Blakey <paulb at nvidia.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

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

  Log Message:
  -----------
  netdev-offload-tc: Add support for ct_state flags inv and rpl

Signed-off-by: Paul Blakey <paulb at nvidia.com>
Acked-by: Roi Dayan <roid at nvidia.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner at gmail.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>


Compare: https://github.com/openvswitch/ovs/compare/64b8c1d9ade2...edcfd7176f8b


More information about the git mailing list