Re: [PATCH net-next v3 0/4] dpaa2-eth: add devlink parser error drop trap support

From
David Miller <davem@davemloft.net>
Date
2020-10-02 23:32:21
Reply to
Ioana Ciornei, 2020-10-01
From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: Thu,  1 Oct 2020 18:11:44 +0300
This patch set adds support in the dpaa2-eth driver for a new group of
devlink drop traps - PARSER_ERROR_DROPS.

The first patch adds a new generic trap group and associated traps,
their definitions in devlink and their corresponding entries in the
Documentation.

Because there might be more devices (besides DPAA2) which do not support
changing the action independently on each trap, a nre devlink callback
is introduced - .trap_group_action_set(). If this callback is populated,
it will take precedence over .trap_action_set() when the user requests
changing the action on all the traps in a group.

The next patches add basic linkage with devlink for the dpaa2-eth driver
and support for the newly added PARSER_ERROR_DROPS. Nothing special
here, just setting up the Rx error queue, interpreting the parse result,
and then reporting any frame received on that queue to devlink.
 ...

Series applied, thanks.
Thread (6 messages) 6 messages, 2 authors, last reply 2020-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help