summaryrefslogtreecommitdiff
path: root/Documentation/bpf
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-06-27 18:01:22 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-27 20:18:23 +0300
commita59d121da2394dcb84a42bf2fe436180ce2afe5c (patch)
tree08ded311c9d335eeff50d82c699b48a08a6cff98 /Documentation/bpf
parent39f41f367b08650e9aa314e3a13fb6dda1e9eec7 (diff)
downloadlinux-a59d121da2394dcb84a42bf2fe436180ce2afe5c.tar.xz
s390/qeth: dynamically allocate simple IPA cmds
This patch reduces the usage of the write channel's static cmd buffers, by dynamically allocating all simple IPA cmds (eg. STARTLAN, SETVMAC). It also converts the OSN path. Doing so requires some changes to how we calculate the cmd length. Currently when building IPA cmds, we're quite generous in how much data we send down to the device (basically the size of the biggest cmd we know). This is no real concern at the moment, since the static cmd buffers are backed with zeroed pages. But for dynamic allocations, the exact length matters. So this patch also adds the needed length calculations to each cmd path. Commands that have multiple subtypes (eg. SETADP) of differing length will be converted with follow-up patches. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/bpf')
0 files changed, 0 insertions, 0 deletions