]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: clean up page handling code
authorShannon Nelson <snelson@pensando.io>
Tue, 1 Sep 2020 18:20:19 +0000 (11:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2020 22:47:01 +0000 (15:47 -0700)
commit8cd73a816b44c736f89a60409805754da5e3d60f
treefbe33aaf577e439f91085f97307155779d4096e0
parentab1bce3a2f0037a24d41019d2389c9885bfa01e8
ionic: clean up page handling code

The internal page handling can be cleaned up by passing our
local page struct rather than dma addresses, and by putting
more of the mgmt code into the alloc and free routines.

Co-developed-by: Neel Patel <neel@pensando.io>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c