commit | 5d053f9da4311a86bc58be8588bb5660fb3f0724 | [log] [tgz] |
---|---|---|
author | Jesper Dangaard Brouer <brouer@redhat.com> | Thu May 24 16:45:51 2018 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu May 24 18:36:14 2018 -0700 |
tree | 3164d6cdff447d206bc5246cfc9c24a32ce93e3f | |
parent | 67f29e07e131ffa13ea158c259a513f474c7df27 [diff] |
bpf: devmap prepare xdp frames for bulking Like cpumap create queue for xdp frames that will be bulked. For now, this patch simply invoke ndo_xdp_xmit foreach frame. This happens, either when the map flush operation is envoked, or when the limit DEV_MAP_BULK_SIZE is reached. V5: Avoid memleak on error path in dev_map_update_elem() Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>