]> git.baikalelectronics.ru Git - kernel.git/commit
xsk: Replace the cheap_dma flag with a dma_need_sync flag
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Jun 2020 13:03:57 +0000 (15:03 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 30 Jun 2020 13:44:03 +0000 (15:44 +0200)
commit771bdbdd91c93fa8fdf4dd5ba9c65ecf227bc179
tree9996f407555352be8720dc5773552e813f509a19
parent10a291196f8792141aa309c6428e2063f63ec433
xsk: Replace the cheap_dma flag with a dma_need_sync flag

Invert the polarity and better name the flag so that the use case is
properly documented.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200629130359.2690853-3-hch@lst.de
include/net/xsk_buff_pool.h
net/xdp/xsk_buff_pool.c