summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMichal Wilczynski <michal.wilczynski@intel.com>2022-11-15 13:48:21 +0300
committerJakub Kicinski <kuba@kernel.org>2022-11-18 08:41:28 +0300
commitbdf96d965a204dab8085b8f8e361b3844e6667f9 (patch)
tree1df01580b03f6d69e0ea41a24c7486a5ecc64721 /sound
parent16dfa49406bc5e1f4cbb115027cbd719d7e6c930 (diff)
downloadlinux-bdf96d965a204dab8085b8f8e361b3844e6667f9.tar.xz
ice: Add an option to pre-allocate memory for ice_sched_node
devlink-rate API requires a priv object to be allocated when node still doesn't have a parent. This is problematic, because ice_sched_node can't be currently created without a parent. Add an option to pre-allocate memory for ice_sched_node struct. Add new arguments to ice_sched_add() and ice_sched_add_elems() that allow for pre-allocation of memory for ice_sched_node struct. Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions