Thread (79 messages) 79 messages, 4 authors, 2021-10-04

Re: [RFC/PATCH 04/18] ravb: Enable aligned_tx and tx_counters for RZ/G2L

From: Sergey Shtylyov <hidden>
Date: 2021-09-23 18:10:42
Also in: linux-renesas-soc

On 9/23/21 9:05 PM, Sergey Shtylyov wrote:
   Somehow this patch haven't reached my OMP email -- I got it only thru
 the linux-renesas-soc list... :-/
quoted
RZ/G2L need 4byte address alignment like R-Car Gen2 and
it has tx_counters like R-Car Gen3. This patch enable
these features for RZ/G2L.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
[...]
quoted
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c
index 54c4d31a6950..d38fc33a8e93 100644
--- a/drivers/net/ethernet/renesas/ravb_main.c
+++ b/drivers/net/ethernet/renesas/ravb_main.c
@@ -2114,6 +2114,8 @@ static const struct ravb_hw_info rgeth_hw_info = {
 	.set_feature = ravb_set_features_rgeth,
 	.dmac_init = ravb_dmac_init_rgeth,
 	.emac_init = ravb_rgeth_emac_init,
+	.aligned_tx = 1,
+	.tx_counters = 1,
   Mhm, I don't see a connection between those 2 (other than they're both for RX). And anyway, this prolly
  TX, of/c. :-)
should be a part of the previous patch...

[...]
MBR, Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help