]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: push cls_flower and cls_matchall setup_tc processing into separate...
authorJiri Pirko <jiri@mellanox.com>
Mon, 7 Aug 2017 08:15:24 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 16:42:36 +0000 (09:42 -0700)
commit98eecbb0f6f1708ec4d087733fcce60dd3c78dff
treea224ffa6e2d06a30964d082519701678166d8e82
parent2da7780725bf0070b50a63b5ebbff7ea89784178
mlxsw: spectrum: push cls_flower and cls_matchall setup_tc processing into separate functions

Let mlxsw_sp_setup_tc be a splitter for specific setup_tc types and push
out cls_flower and cls_matchall specific codes into separate functions.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c