[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190808.223726.1572400328135187505.davem@davemloft.net>
Date: Thu, 08 Aug 2019 22:37:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mrv@...atatu.com
Cc: netdev@...r.kernel.org, kernel@...atatu.com, jhs@...atatu.com,
xiyou.wangcong@...il.com, jiri@...nulli.us
Subject: Re: [PATCH net 0/2] Fix batched event generation for skbedit action
From: Roman Mashak <mrv@...atatu.com>
Date: Wed, 7 Aug 2019 15:57:27 -0400
> When adding or deleting a batch of entries, the kernel sends up to
> TCA_ACT_MAX_PRIO (defined to 32 in kernel) entries in an event to user
> space. However it does not consider that the action sizes may vary and
> require different skb sizes.
>
> For example, consider the following script adding 32 entries with all
> supported skbedit parameters and cookie (in order to maximize netlink
> messages size):
...
> patch 1 adds callback in tc_action_ops of skbedit action, which calculates
> the action size, and passes size to tcf_add_notify()/tcf_del_notify().
>
> patch 2 updates the TDC test suite with relevant skbedit test cases.
Series applied and queued up for -stable, thanks.
Powered by blists - more mailing lists