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 erroneous skb received on the error queue
> appropriately.
> DPAA2 devices do not support controlling the action of independent
> parser error traps, thus the .trap_action_set() callback just returns an
> EOPNOTSUPP while .trap_group_action_set() actually notifies the hardware
> what it should do with a frame marked as having a header error.
> 
> Signed-off-by: Ioana Ciornei <ioana.cior...@nxp.com>

On a 32bit build:

drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c: In function 
‘setup_rx_err_flow’:
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:3422:19: warning: cast from 
pointer to integer of different size [-Wpointer-to-int-cast]
 3422 |  q.user_context = (u64)fq;
      |                   ^
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:3422:31: warning: non 
size-preserving pointer to integer cast

Reply via email to