@tc_indr_block_dev_get funcion,
static struct tc_indr_block_dev *tc_indr_block_dev_get(struct net_device *dev)
{
struct tc_indr_block_dev *indr_dev;
indr_dev = tc_indr_block_dev_lookup(dev);
if (indr_dev)
goto inc_ref;
indr_dev = kzalloc(sizeof(*indr_dev), GFP_KERNEL);
we...@ucloud.cn wrote:
> From: wenxu
>
> It provide a callback to find the tcf block in
> the flow_indr_block_dev_get
Can you explain why you're making this change?
This will help us understand the concept/idea of your series.
The above describes what the patch does, but it should
explain why
From: wenxu
It provide a callback to find the tcf block in
the flow_indr_block_dev_get
Signed-off-by: wenxu
---
include/net/flow_offload.h | 4
net/core/flow_offload.c| 12
net/sched/cls_api.c| 31 +++
3 files changed, 47 insertions(+)