diff options
author | Pavel Begunkov <[email protected]> | 2022-09-23 17:39:04 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-09-28 18:51:25 -0700 |
commit | e7d2b510165fff6bedc9cca88c071ad846850c74 (patch) | |
tree | b14a20279c36ca9fac082210cf5419e057075337 /drivers/net/xen-netback/interface.c | |
parent | dfff202be5ea884498beb9f60492053144dd4b3f (diff) |
net: shrink struct ubuf_info
We can benefit from a smaller struct ubuf_info, so leave only mandatory
fields and let users to decide how they want to extend it. Convert
MSG_ZEROCOPY to struct ubuf_info_msgzc and remove duplicated fields.
This reduces the size from 48 bytes to just 16.
Signed-off-by: Pavel Begunkov <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions