net:enetc: enetc qos using the CBDR dma alloc function
authorPo Liu <po.liu@nxp.com>
Wed, 9 Feb 2022 12:33:03 +0000 (20:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2022 13:23:26 +0000 (13:23 +0000)
commit237d20c208dbf0c2853c0f118530772a449eb430
treeac100a8184fdb033bbc49d9c69cf098a52cb9e01
parent0cc11cdbcb398abfee5a25105a82dfdf545ea9b3
net:enetc: enetc qos using the CBDR dma alloc function

Now we can use the enetc_cbd_alloc_data_mem() to replace complicated DMA
data alloc method and CBDR memory basic seting.

Signed-off-by: Po Liu <po.liu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_qos.c