Skip to contentSkip to conversation

net: dwc_eth_qos: cosmetic: remove unused define EQOS_DESCRIPTOR_ALIGN

PATCH New Patrick Delaunay 3 participants 5 messages Mar 30, 2021 – Jul 6, 2021 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: dwc_eth_qos: cosmetic: remove unused define EQOS_DESCRIPTOR_ALIGN

Remove the define EQOS_DESCRIPTOR_ALIGN unused since the
commit 6f1e668d964e ("net: dwc_eth_qos: Pad descriptors to cacheline size")

---

 drivers/net/dwc_eth_qos.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/dwc_eth_qos.c +0 -2
index e8242ca4e1..0b1e95e98b 100644
@@ -240,8 +240,6 @@ struct eqos_tegra186_regs {
 #define EQOS_AUTO_CAL_STATUS_ACTIVE			BIT(31)
 
 /* Descriptors */
-/* We assume ARCH_DMA_MINALIGN >= 16; 16 is the EQOS HW minimum */
-#define EQOS_DESCRIPTOR_ALIGN	ARCH_DMA_MINALIGN
 #define EQOS_DESCRIPTORS_TX	4
 #define EQOS_DESCRIPTORS_RX	4
 #define EQOS_DESCRIPTORS_NUM	(EQOS_DESCRIPTORS_TX + EQOS_DESCRIPTORS_RX)
Signature · 1 line
2.17.1
#3 lore raw

Hi Ramon,

Quoted 10 lines · Ramon Fried
Quoted 8 lines · Marek Vasut
Quoted 4 lines · Patrick Delaunay

Remove the define EQOS_DESCRIPTOR_ALIGN unused since the
commit 6f1e668d964e ("net: dwc_eth_qos: Pad descriptors to cacheline size")

Thanks

It seens this patch is not applied on u-boot-net/network_master or on u-boot/next

even if it is accepted in patchwork.

http://patchwork.ozlabs.org/project/uboot/patch/20210330143429.1.I654d7aeb07f9cd0602752861d06f4c17e9a0ee17@changeid/

Any reason ?

or it is just a error in patchwork and the patch is forgotten...

best regards.

Patrick

#4 lore raw
Quoted 22 lines · Patrick DELAUNAY

Hi Ramon,

Quoted 10 lines · Ramon Fried
Quoted 8 lines · Marek Vasut
Quoted 4 lines · Patrick Delaunay

Remove the define EQOS_DESCRIPTOR_ALIGN unused since the
commit 6f1e668d964e ("net: dwc_eth_qos: Pad descriptors to cacheline size")

Thanks

It seens this patch is not applied on u-boot-net/network_master or on u-boot/next

even if it is accepted in patchwork.

http://patchwork.ozlabs.org/project/uboot/patch/20210330143429.1.I654d7aeb07f9cd0602752861d06f4c17e9a0ee17@changeid/

Quoted 12 lines

Any reason ?

or it is just a error in patchwork and the patch is forgotten...

best regards.

Patrick

Hi Patrick.
The patch was introduced just a bit before I started maintaining a tree, up until then the patches were picked by Tom.
I applied it to my tree.
Thanks,
Ramon.