[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220317185159.1661469-1-horatiu.vultur@microchip.com>
Date: Thu, 17 Mar 2022 19:51:54 +0100
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: <netdev@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <davem@...emloft.net>, <kuba@...nel.org>, <robh+dt@...nel.org>,
<UNGLinuxDriver@...rochip.com>,
Horatiu Vultur <horatiu.vultur@...rochip.com>
Subject: [PATCH net-next 0/5] net: lan966x: Add support for FDMA
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.
Horatiu Vultur (5):
dt-bindings: net: lan966x: Extend with FDMA interrupt
net: lan966x: Add registers that are used for FDMA.
net: lan966x: Expose functions that are needed by FDMA
net: lan966x: Add FDMA functionality
net: lan96x: Update FDMA to change MTU.
.../net/microchip,lan966x-switch.yaml | 2 +
.../net/ethernet/microchip/lan966x/Makefile | 2 +-
.../ethernet/microchip/lan966x/lan966x_fdma.c | 772 ++++++++++++++++++
.../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 +++
7 files changed, 1037 insertions(+), 12 deletions(-)
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c
--
2.33.0
Powered by blists - more mailing lists