diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2021-10-01 16:06:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-02 13:52:46 +0100 |
commit | 0b395f289451b4674c1db8949f0c441d7a2ff4fe (patch) | |
tree | eddea4b6603c1ec66b166943b58187544f2fc9e1 /drivers/net/ethernet/renesas/ravb.h | |
parent | 7e09a052dc4e30ce07fd7b3aa58a7d993f73a9d7 (diff) |
ravb: Add tsrq to struct ravb_hw_info
R-Car AVB-DMAC has 4 Transmit start request queues, whereas
RZ/G2L has only 1 Transmit start request queue.
Add a tsrq variable to struct ravb_hw_info to handle this
difference.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/ravb.h')
-rw-r--r-- | drivers/net/ethernet/renesas/ravb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/ravb.h b/drivers/net/ethernet/renesas/ravb.h index 9cd3a15743b4..c586070193ef 100644 --- a/drivers/net/ethernet/renesas/ravb.h +++ b/drivers/net/ethernet/renesas/ravb.h @@ -997,6 +997,7 @@ struct ravb_hw_info { netdev_features_t net_features; int stats_len; size_t max_rx_len; + u32 tsrq; unsigned aligned_tx: 1; /* hardware features */ |