Message ID | 20220318204750.1864134-1-horatiu.vultur@microchip.com (mailing list archive) |
---|---|
Headers | show |
Series | net: lan966x: Add support for FDMA | expand |
Am 2022-03-18 21:47, schrieb Horatiu Vultur: > Currently when injecting or extracting a frame from CPU, the frame > is given to the HW each word at a time. There is another way to > inject/extract frames from CPU using FDMA(Frame Direct Memory Access). > In this way the entire frame is given to the HW. This improves both > RX and TX bitrate. > > v1->v2: > - fix typo in commit message in last patch > - remove first patch as the changes are already there > - make sure that there is space in skb to put the FCS > - move skb_tx_timestamp closer to the handover of the frame to the HW > > Horatiu Vultur (4): > net: lan966x: Add registers that are used for FDMA. > net: lan966x: Expose functions that are needed by FDMA > net: lan966x: Add FDMA functionality > net: lan966x: Update FDMA to change MTU. > > .../net/ethernet/microchip/lan966x/Makefile | 2 +- > .../ethernet/microchip/lan966x/lan966x_fdma.c | 775 ++++++++++++++++++ > .../ethernet/microchip/lan966x/lan966x_main.c | 44 +- > .../ethernet/microchip/lan966x/lan966x_main.h | 120 +++ > .../ethernet/microchip/lan966x/lan966x_port.c | 3 + > .../ethernet/microchip/lan966x/lan966x_regs.h | 106 +++ > 6 files changed, 1038 insertions(+), 12 deletions(-) > create mode 100644 > drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c Tested-by: Michael Walle <michael@walle.cc> Thanks, -michael