[PATCH] arm64: defconfig: Enable XDP socket support for high-performance networking

Meghana Malladi posted 1 patch 9 months, 2 weeks ago
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] arm64: defconfig: Enable XDP socket support for high-performance networking
Posted by Meghana Malladi 9 months, 2 weeks ago
From: MD Danish Anwar <danishanwar@ti.com>

Enable CONFIG_XDP_SOCKETS to allow for eXpress Data Path (XDP) socket
support specifically on TI SoC platforms such as the AM64x and AM65x.
This enables the use of XDP sockets for high-performance, low-latency
networking applications, allowing for efficient processing of network
packets and improved overall system performance.

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Signed-off-by: Meghana Malladi <m-malladi@ti.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 9e16b494ab0e..5c3abd51074d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -130,6 +130,7 @@ CONFIG_MEMORY_FAILURE=y
 CONFIG_TRANSPARENT_HUGEPAGE=y
 CONFIG_NET=y
 CONFIG_PACKET=y
+CONFIG_XDP_SOCKETS=y
 CONFIG_UNIX=y
 CONFIG_INET=y
 CONFIG_IP_MULTICAST=y

base-commit: 2c9c612abeb38aab0e87d48496de6fd6daafb00b
-- 
2.43.0
Re: [PATCH] arm64: defconfig: Enable XDP socket support for high-performance networking
Posted by Krzysztof Kozlowski 9 months, 2 weeks ago
On 28/04/2025 14:10, Meghana Malladi wrote:
> From: MD Danish Anwar <danishanwar@ti.com>
> 
> Enable CONFIG_XDP_SOCKETS to allow for eXpress Data Path (XDP) socket
> support specifically on TI SoC platforms such as the AM64x and AM65x.
> This enables the use of XDP sockets for high-performance, low-latency
> networking applications, allowing for efficient processing of network
> packets and improved overall system performance.

High performance, low-latency network applications do not use defconfig.
That's a development config.

Best regards,
Krzysztof
Re: [EXTERNAL] Re: [PATCH] arm64: defconfig: Enable XDP socket support for high-performance networking
Posted by Malladi, Meghana 9 months, 2 weeks ago
Hi Krzysztof,

On 4/28/2025 6:18 PM, Krzysztof Kozlowski wrote:
> On 28/04/2025 14: 10, Meghana Malladi wrote: > From: MD Danish Anwar 
> <danishanwar@ ti. com> > > Enable CONFIG_XDP_SOCKETS to allow for 
> eXpress Data Path (XDP) socket > support specifically on TI SoC 
> platforms such as the AM64x
> ZjQcmQRYFpfptBannerStart
> This message was sent from outside of Texas Instruments.
> Do not click links or open attachments unless you recognize the source 
> of this email and know the content is safe.
> Report Suspicious
> <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK! 
> updqN51OXC2bwCXOvJOJf0uHOQ4u3JTTnIdRY_6gd786E07eEGpwtXIyCGLsDPJV6_rRmpwjb3dBOwY_bDAu4CiUT0pGPU8$>
> ZjQcmQRYFpfptBannerEnd
> 
> On 28/04/2025 14:10, Meghana Malladi wrote:
>> From: MD Danish Anwar <danishanwar@ti.com>
>> 
>> Enable CONFIG_XDP_SOCKETS to allow for eXpress Data Path (XDP) socket
>> support specifically on TI SoC platforms such as the AM64x and AM65x.
>> This enables the use of XDP sockets for high-performance, low-latency
>> networking applications, allowing for efficient processing of network
>> packets and improved overall system performance.
> 
> High performance, low-latency network applications do not use defconfig.
> That's a development config.
> 

Oh got it, will drop upstreaming this patch then. Thanks.

> Best regards,
> Krzysztof
> 

-- 
Thanks,
Meghana Malladi

Re: [PATCH] arm64: defconfig: Enable XDP socket support for high-performance networking
Posted by Nishanth Menon 9 months, 2 weeks ago
On 17:40-20250428, Meghana Malladi wrote:
> From: MD Danish Anwar <danishanwar@ti.com>
> 
> Enable CONFIG_XDP_SOCKETS to allow for eXpress Data Path (XDP) socket
> support specifically on TI SoC platforms such as the AM64x and AM65x.
> This enables the use of XDP sockets for high-performance, low-latency
> networking applications, allowing for efficient processing of network
> packets and improved overall system performance.

* What specific upstream supported boards benefits with this?
* What is the size increase in vmlinux (use scripts/bloat-o-meter and
  add that information in the commit message)
> 
> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
> Signed-off-by: Meghana Malladi <m-malladi@ti.com>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 9e16b494ab0e..5c3abd51074d 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -130,6 +130,7 @@ CONFIG_MEMORY_FAILURE=y
>  CONFIG_TRANSPARENT_HUGEPAGE=y
>  CONFIG_NET=y
>  CONFIG_PACKET=y
> +CONFIG_XDP_SOCKETS=y
>  CONFIG_UNIX=y
>  CONFIG_INET=y
>  CONFIG_IP_MULTICAST=y
> 
> base-commit: 2c9c612abeb38aab0e87d48496de6fd6daafb00b
> -- 
> 2.43.0
> 

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D