net: ethernet: ti: davinci_cpdma: add dma mapped submit
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Mon, 8 Jul 2019 21:34:29 +0000 (00:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 21:58:04 +0000 (14:58 -0700)
commit6670acacd59eb72acfe5d69c966b5d2724cc521b
tree2434a03e8f2743211660677f79e97ee416522d07
parent1da4bbeffe41ba318812d7590955faee8636668b
net: ethernet: ti: davinci_cpdma: add dma mapped submit

In case if dma mapped packet needs to be sent, like with XDP
page pool, the "mapped" submit can be used. This patch adds dma
mapped submit based on regular one.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c
drivers/net/ethernet/ti/davinci_cpdma.h