From: Horatiu Vultur <horatiu.vultur@microchip.com>
To: <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>
Cc: <davem@davemloft.net>, <kuba@kernel.org>, <michael@walle.cc>,
<UNGLinuxDriver@microchip.com>,
Horatiu Vultur <horatiu.vultur@microchip.com>
Subject: [PATCH net-next v2 0/4] net: lan966x: Add support for FDMA
Date: Fri, 18 Mar 2022 21:47:46 +0100 [thread overview]
Message-ID: <20220318204750.1864134-1-horatiu.vultur@microchip.com> (raw)
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
--
2.33.0
next reply other threads:[~2022-03-18 20:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-18 20:47 Horatiu Vultur [this message]
2022-03-18 20:47 ` [PATCH net-next v2 1/4] net: lan966x: Add registers that are used for FDMA Horatiu Vultur
2022-03-18 20:47 ` [PATCH net-next v2 2/4] net: lan966x: Expose functions that are needed by FDMA Horatiu Vultur
2022-03-18 20:47 ` [PATCH net-next v2 3/4] net: lan966x: Add FDMA functionality Horatiu Vultur
2022-03-22 6:01 ` Jakub Kicinski
2022-03-22 21:04 ` Horatiu Vultur
2022-03-22 22:25 ` Jakub Kicinski
2022-03-23 7:19 ` Horatiu Vultur
2022-03-18 20:47 ` [PATCH net-next v2 4/4] net: lan966x: Update FDMA to change MTU Horatiu Vultur
2022-03-18 20:55 ` [PATCH net-next v2 0/4] net: lan966x: Add support for FDMA Michael Walle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220318204750.1864134-1-horatiu.vultur@microchip.com \
--to=horatiu.vultur@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael@walle.cc \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox