commit | a49049ea257656f27ffe424224f4a362b8b1234a | [log] [tgz] |
---|---|---|
author | Björn Töpel <bjorn.topel@intel.com> | Tue May 22 09:35:02 2018 +0200 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue May 22 10:25:06 2018 +0200 |
tree | 155eee39357db7499a3f8ccc17a039b78c45eb0e | |
parent | 37b076933a8e38e72ffd3c40d3eeb5949f38baf3 [diff] |
xsk: simplified umem setup As suggested by Daniel Borkmann, the umem setup code was a too defensive and complex. Here, we reduce the number of checks. Also, the memory pinning is now folded into the umem creation, and we do correct locking. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>