[2/2] net/enic: add new flow manager actions to the dump function
diff mbox series

Message ID 20200703022351.17172-3-hyonkim@cisco.com
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series
  • net/enic: minor flow manager changes
Related show

Checks

Context Check Description
ci/Intel-compilation fail apply issues
ci/checkpatch success coding style OK

Commit Message

Hyong Youb Kim (hyonkim) July 3, 2020, 2:23 a.m. UTC
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 | 7 +++++++
 1 file changed, 7 insertions(+)

Patch
diff mbox series

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;