]> 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)
commitb245bca2524f7a50a67a437f748fcbb65ef45fa6
treea224ffa6e2d06a30964d082519701678166d8e82
parent70fb4e08bce4bbbc5e6c6acc18c91a390f7fa2f0
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