dpaa2-switch: mark skbs with offload_fwd_mark
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 22 Mar 2021 20:58:59 +0000 (22:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2021 23:37:45 +0000 (16:37 -0700)
commitb175dfd7e691ba264d190f23197cc29d0ba8bc67
tree80267388883bef8c9d698c308855026d053eebaf
parent6253d5e39ce2bba13c601274768c481846526a80
dpaa2-switch: mark skbs with offload_fwd_mark

If a switch port is under a bridge, the offload_fwd_mark should be setup
before sending the skb towards the stack so that the bridge does not try
to flood the packet on the other switch ports.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c