]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: Remove need for DMA descriptor
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 22 Apr 2019 16:46:44 +0000 (09:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Apr 2019 05:20:15 +0000 (22:20 -0700)
commitb40d1c97dbd43ce568b96d83d00a23b5cc2af035
tree1ab1178d53df8fcf9d8b8823f80647bc46e91922
parentc2ef177bbb5a9750b33a5f51b8d41e3171c3d531
net: systemport: Remove need for DMA descriptor

All we do is write the length/status and address bits to a DMA
descriptor only to write its contents into on-chip registers right
after, eliminate this unnecessary step.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c
drivers/net/ethernet/broadcom/bcmsysport.h