Thread (10 messages) 10 messages, 3 authors, 2020-10-01

Re: [PATCH net-next v2 4/4] dpaa2-eth: add support for devlink parser error drop traps

From: Ido Schimmel <hidden>
Date: 2020-09-30 19:44:14

On Wed, Sep 30, 2020 at 10:16:45PM +0300, Ioana Ciornei wrote:
+static int dpaa2_eth_dl_trap_action_set(struct devlink *devlink,
+					const struct devlink_trap *trap,
+					enum devlink_trap_action action,
+					struct netlink_ext_ack *extack)
+{
+	/* No support for changing the action of an independent packet trap,
+	 * only per trap group - parser error drops
+	 */
+	return -EOPNOTSUPP;
Please also add an error message via extack
+}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help