Skip to contentSkip to conversation

atlantic: enable compilation for PPC64

PATCH In review [email protected] 3 participants 4 messages Dec 27, 2020 – Dec 28, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atlantic: enable compilation for PPC64

From: Léo Le Bouter <[email protected]>

This was tested on a RaptorCS Talos II with IBM POWER9 DD2.2 CPUs and an ASUS XG-C100F PCI-e card without any issue. Speeds of ~8Gbps could be attained with not-very-scientific (wget HTTP) both-ways measurements on a local network. No warning or error reported in kernel logs.

---
 drivers/net/ethernet/aquantia/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/aquantia/Kconfig +1 -1
index efb33c078a3c..c7b410e031a3 100644
@@ -19,7 +19,7 @@ if NET_VENDOR_AQUANTIA
 config AQTION
 	tristate "aQuantia AQtion(tm) Support"
 	depends on PCI
-	depends on X86_64 || ARM64 || COMPILE_TEST
+	depends on X86_64 || ARM64 || PPC64 || COMPILE_TEST
 	depends on MACSEC || MACSEC=n
 	help
 	  This enables the support for the aQuantia AQtion(tm) Ethernet card.
Signature · 1 line
2.29.2
#1 lore raw
Quoted 17 lines · On Sun, Dec 27, 2020 at 04:42:38PM +0100, [email protected] wrote:

From: Léo Le Bouter <[email protected]>

This was tested on a RaptorCS Talos II with IBM POWER9 DD2.2 CPUs and an ASUS XG-C100F PCI-e card without any issue. Speeds of ~8Gbps could be attained with not-very-scientific (wget HTTP) both-ways measurements on a local network. No warning or error reported in kernel logs.

---
 drivers/net/ethernet/aquantia/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/aquantia/Kconfig +0 -0
index efb33c078a3c..c7b410e031a3 100644

drivers/net/ethernet/aquantia/Kconfig if NET_VENDOR_AQUANTIA · line 22

Quoted 5 lines
drivers/net/ethernet/aquantia/Kconfig +1 -1
@@ -19,7 +19,7 @@ if NET_VENDOR_AQUANTIA
 config AQTION
 	tristate "aQuantia AQtion(tm) Support"
 	depends on PCI
-	depends on X86_64 || ARM64 || COMPILE_TEST
+	depends on X86_64 || ARM64 || PPC64 || COMPILE_TEST

Maybe remove the architecture depends all together? At some point RISCV is going to want it, etc...

Andrew

#2 lore raw

PATCH v2 1/1 atlantic: remove architecture depends

From: Léo Le Bouter <[email protected]>

This was tested on a RaptorCS Talos II with IBM POWER9 DD2.2 CPUs and an ASUS XG-C100F PCI-e card without any issue. Speeds of ~8Gbps could be attained with not-very-scientific (wget HTTP) both-ways measurements on a local network. No warning or error reported in kernel logs. The drivers seems to be portable enough for it not to be gated like such.

---
 drivers/net/ethernet/aquantia/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/aquantia/Kconfig +0 -1
index efb33c078a3c..cec2018c84a9 100644
@@ -19,7 +19,6 @@ if NET_VENDOR_AQUANTIA
 config AQTION
 	tristate "aQuantia AQtion(tm) Support"
 	depends on PCI
-	depends on X86_64 || ARM64 || COMPILE_TEST
 	depends on MACSEC || MACSEC=n
 	help
 	  This enables the support for the aQuantia AQtion(tm) Ethernet card.
Signature · 1 line
2.29.2
maintainer Applied
#3 lore raw

Re: [PATCH v2] atlantic: remove architecture depends

From: [email protected]
Date: Sun, 27 Dec 2020 17:11:36 +0100

Quoted 9 lines

From: Léo Le Bouter <[email protected]>

This was tested on a RaptorCS Talos II with IBM POWER9 DD2.2 CPUs and an ASUS XG-C100F PCI-e card without any issue. Speeds of ~8Gbps could be attained with not-very-scientific (wget HTTP) both-ways measurements on a local network. No warning or error reported in kernel logs. The drivers seems to be portable enough for it not to be gated like such.

Applied, thank you.