]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-switch: reorganize dpaa2_switch_cls_matchall_replace
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 29 Jul 2021 17:18:56 +0000 (20:18 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 20:34:45 +0000 (21:34 +0100)
commit03ae7f39afc06b50d0505f62e0bf5442b2d61139
tree3fdf4cab9428ed346ed7ad0afc017400f8ede232
parent489040cd6a241dfd0a6053e0efc28313d47bd81e
dpaa2-switch: reorganize dpaa2_switch_cls_matchall_replace

Extract the necessary steps to offload a filter by using the ACL table
in a separate function - dpaa2_switch_cls_matchall_replace_acl().

This is intended to help with the code readability when the mirroring
support is added.

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-flower.c