Files
linux/drivers/net/ethernet
Yoshihiro Shimoda 48cf0a2570 net: renesas: rswitch: Remove gptp flag from rswitch_gwca_queue
In the previous code, the gptp flag was completely related to
the !dir_tx in struct rswitch_gwca_queue because
rswitch_gwca_queue_alloc() was called below:

< In rswitch_txdmac_alloc() >
err = rswitch_gwca_queue_alloc(ndev, priv, rdev->tx_queue, true, false,
			      TX_RING_SIZE);
So, dir_tx = true, and gptp = false.

< In rswitch_rxdmac_alloc() >
err = rswitch_gwca_queue_alloc(ndev, priv, rdev->rx_queue, false, true,
			      RX_RING_SIZE);
So, dir_tx = false, and gptp = true.

In the future, a new queue handling for timestamp will be implemented
and this gptp flag is confusable. So, remove the gptp flag.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-02-10 19:44:17 -08:00
..
2023-02-02 20:48:23 -08:00
2023-02-06 22:33:18 -08:00
2023-02-10 17:51:27 -08:00
2023-02-10 17:51:27 -08:00
2023-02-02 20:48:23 -08:00
2023-02-10 17:51:27 -08:00
2023-02-10 17:51:27 -08:00
2023-02-06 10:03:26 +00:00
2023-02-10 17:51:27 -08:00
2023-02-10 17:51:27 -08:00
2023-02-10 17:51:27 -08:00
2023-02-10 17:51:27 -08:00
2023-02-10 17:51:27 -08:00
2023-02-10 17:51:27 -08:00
2023-02-02 20:48:23 -08:00
2023-02-10 17:51:27 -08:00
2022-10-18 19:33:51 -07:00
2023-02-10 17:51:27 -08:00
2023-02-10 17:51:27 -08:00