[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171011074110.2800-1-jiri@resnulli.us>
Date: Wed, 11 Oct 2017 09:41:06 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jhs@...atatu.com, xiyou.wangcong@...il.com,
saeedm@...lanox.com, matanb@...lanox.com, leonro@...lanox.com,
mlxsw@...lanox.com, David.Laight@...LAB.COM, gerlitz.or@...il.com
Subject: [patch net-next v2 0/4] net: sched: get rid of cls_flower->egress_dev
From: Jiri Pirko <jiri@...lanox.com>
Introduction of cls_flower->egress_dev was a workaround. Turned out
to be a bit ugly hack. So replace it with more generic and reusable
infrastructure.
This is a dependency of shared block introduction that will be send as
a follow-up patchsets group.
---
v1->v2:
- patch2:
- take rtnl for register/unregister
Jiri Pirko (4):
net: sched: make tc_action_ops->get_dev return dev and avoid passing
net
net: sched: introduce per-egress action device callbacks
net: sched: convert cls_flower->egress_dev users to tc_setup_cb_egdev
infra
net: sched: remove unused tcf_exts_get_dev helper and
cls_flower->egress_dev
drivers/net/ethernet/mellanox/mlx5/core/en.h | 3 +
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 4 +-
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 31 ++-
include/net/act_api.h | 37 +++-
include/net/pkt_cls.h | 6 +-
include/net/tc_act/tc_mirred.h | 1 +
net/sched/act_api.c | 220 ++++++++++++++++++++++
net/sched/act_mirred.c | 13 +-
net/sched/cls_api.c | 35 ++--
net/sched/cls_flower.c | 63 ++++---
10 files changed, 348 insertions(+), 65 deletions(-)
--
2.9.5
Powered by blists - more mailing lists