Re: [PATCH] enic: switch from 'pci_' to 'dma_' API

2020-09-06 Thread Jakub Kicinski
On Sun, 6 Sep 2020 14:45:41 +0200 Christophe JAILLET wrote: > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > > When

[PATCH] enic: switch from 'pci_' to 'dma_' API

2020-09-06 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'vnic_dev_classifier()', 'vnic_dev_fw_info()', 'vnic