]> 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)
commitb3a9410c2f91aeaa0337c518c752bf9dc7111e0d
tree9996f407555352be8720dc5773552e813f509a19
parent0b33cb96bcda437ccd8f20c9d5c5c71ddaff676a
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