net/enic: add more flow manager actions to dump
authorHyong Youb Kim <hyonkim@cisco.com>
Fri, 3 Jul 2020 02:23:51 +0000 (19:23 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
The following commit introduced several new actions. Make the dump
function to print those actions.

commit 6faf81f1d2c3 ("net/enic: update flow manager API")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_fm_flow.c

index 10e5bb3..cb08a93 100644 (file)
@@ -1421,6 +1421,13 @@ enic_fm_dump_tcam_actions(const struct fm_action *fm_action)
                [FMOP_ENCAP] = "encap",
                [FMOP_SET_OVLAN] = "set_ovlan",
                [FMOP_DECAP_NOSTRIP] = "decap_nostrip",
+               [FMOP_DECAP_STRIP] = "decap_strip",
+               [FMOP_POP_VLAN] = "pop_vlan",
+               [FMOP_SET_EGPORT] = "set_egport",
+               [FMOP_RQ_STEER_ONLY] = "rq_steer_only",
+               [FMOP_SET_ENCAP_VLAN] = "set_encap_vlan",
+               [FMOP_EMIT] = "emit",
+               [FMOP_MODIFY] = "modify",
        };
        const struct fm_action_op *op = &fm_action->fma_action_ops[0];
        char buf[128], *bp = buf;