From 7cef1de9209d2d65330d24c4540cd75e7a612d51 Mon Sep 17 00:00:00 2001 From: Hyong Youb Kim Date: Thu, 2 Jul 2020 19:23:51 -0700 Subject: [PATCH] net/enic: add more flow manager actions to dump 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 Reviewed-by: John Daley --- drivers/net/enic/enic_fm_flow.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/enic/enic_fm_flow.c b/drivers/net/enic/enic_fm_flow.c index 10e5bb3d29..cb08a9317f 100644 --- a/drivers/net/enic/enic_fm_flow.c +++ b/drivers/net/enic/enic_fm_flow.c @@ -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; -- 2.20.1