Merge branch 'lan966x-tx-rx-improve'
authorDavid S. Miller <davem@davemloft.net>
Sun, 19 Mar 2023 15:21:48 +0000 (15:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Mar 2023 15:21:48 +0000 (15:21 +0000)
commitd4671cb96fa317e2b1f410367a52f731a145e2bc
treeb23e6e857c0a29c0e7a988263ed598cf77f6b0f0
parent105a201ebf3312990b96c4fbaade22e31402f8cc
parentfd7627833ddf1d845dcc0edb14bff97ddbb1272e
Merge branch 'lan966x-tx-rx-improve'

Horatiu Vultur says:

====================
net: lan966x: Improve TX/RX of frames from/to CPU

The first patch of this series improves the RX side. As it seems to be
an expensive operation to read the RX timestamp for every frame, then
read it only if it is required. This will give an improvement of ~70mbit
on the RX side.
The second patch stops using the packing library. This improves mostly
the TX side as this library is used to set diffent bits in the IFH. If
this library is replaced with a more simple/shorter implementation,
this gives an improvement of more than 100mbit on TX side.
All the measurements were done using iperf3.

v1->v2:
- update lan966x_ifh_set to set the bytes and not each bit individually
====================

Signed-off-by: David S. Miller <davem@davemloft.net>