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)
commit91d5b70273267bbae6f5d1fb4cf3510bd31ef9ff
tree9996f407555352be8720dc5773552e813f509a19
parent3aa91625007807bfca4155df1867a5c924a08662
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