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

2020-10-01 Thread Ioana Ciornei
On Wed, Sep 30, 2020 at 10:44:07PM +0300, Ido Schimmel wrote: > 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, > > +

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

2020-09-30 Thread Jakub Kicinski
On Wed, 30 Sep 2020 22:16:45 +0300 Ioana Ciornei wrote: > Add support for the new group of devlink traps - PARSER_ERROR_DROPS. > This consists of registering the array of parser error drops supported, > controlling their action through the .trap_group_action_set() callback > and reporting an errone

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

2020-09-30 Thread Ido Schimmel
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, > +

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

2020-09-30 Thread Ioana Ciornei
Add support for the new group of devlink traps - PARSER_ERROR_DROPS. This consists of registering the array of parser error drops supported, controlling their action through the .trap_group_action_set() callback and reporting an erroneous skb received on the error queue appropriately. DPAA2 devices