Skip to content

RDKCOM-5600: RDKBDEV-3458, RDKBACCL-1785 Upstreaming ccsp-eth-agent patches from meta-rdk-bsp-arm#64

Open
ap934 wants to merge 1 commit into
rdkcentral:developfrom
ap934:upstream-eth-agent-patches
Open

RDKCOM-5600: RDKBDEV-3458, RDKBACCL-1785 Upstreaming ccsp-eth-agent patches from meta-rdk-bsp-arm#64
ap934 wants to merge 1 commit into
rdkcentral:developfrom
ap934:upstream-eth-agent-patches

Conversation

@ap934

@ap934 ap934 commented May 12, 2026

Copy link
Copy Markdown

Reason for change: Upstreaming the patches from meta-rdk-bsp-arm layer.
Test procedure: Build should pass and all functionality should work
Risks: low

@ap934 ap934 requested review from a team as code owners May 12, 2026 09:41
@ap934 ap934 marked this pull request as draft May 12, 2026 09:41
Comment thread source/TR-181/board_sbapi/cosa_ethernet_apis.c Outdated
@ap934 ap934 force-pushed the upstream-eth-agent-patches branch from 6ebb6d7 to 3dbdebb Compare May 15, 2026 13:50
…o Generic code

Reason for change: Upstreaming the patches from meta-rdk-bsp-arm layer.
Test procedure: Build should pass and all functionality should work
Risks: low

Signed-off-by: ap934 <akhil_p@comcast.com>
@ap934 ap934 force-pushed the upstream-eth-agent-patches branch from 3dbdebb to 0d0ff0d Compare June 23, 2026 10:44
@ap934 ap934 marked this pull request as ready for review June 25, 2026 13:10
Copilot AI review requested due to automatic review settings June 25, 2026 13:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upstreams ccsp-eth-agent changes from the meta-rdk-bsp-arm layer, primarily to improve Generic ARM platform behavior (systemd readiness notification, daemonization behavior) and adjust WAN manager interface sizing/logging.

Changes:

  • Add systemd sd_notify(READY=1) readiness notification on Generic ARM builds.
  • Skip daemonize() when running with systemd notifications enabled.
  • Update Generic ARM TOTAL_NUMBER_OF_INTERNAL_INTERFACES and improve link-status trigger logging.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
source/TR-181/middle_layer_src/plugin_main_apis.c Adds systemd notify include + READY notification after Ethernet interface initialization.
source/TR-181/board_sbapi/cosa_ethernet_apis.c Adjusts internal interface count for Generic ARM and enhances link-status trigger logging.
source/EthSsp/ssp_main.c Skips daemonization when systemd notifications are enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

ANSC_STATUS retStatus;
INT IfIndex = -1;
CcspTraceInfo(("%s.%d Enter \n",__FUNCTION__,__LINE__));
CcspTraceInfo(("%s.%d Enter (ifname=%s)\n",__FUNCTION__,__LINE__,ifname));
Comment on lines +80 to +82
#if defined(_PLATFORM_GENERICARM_) && defined(USE_SYSTEMD_NOTIFICATIONS)
#include <systemd/sd-daemon.h>
#endif
Comment on lines +180 to +182
#if defined(_PLATFORM_GENERICARM_) && defined(USE_SYSTEMD_NOTIFICATIONS)
sd_notify(0,"READY=1");
#endif
Comment thread source/EthSsp/ssp_main.c
Comment on lines +324 to 329
#if !(defined(_PLATFORM_GENERICARM_) && defined(USE_SYSTEMD_NOTIFICATIONS))
if ( bRunAsDaemon )
daemonize();
#endif

CcspTraceInfo(("\nAfter daemonize before signal\n"));
@ap934 ap934 changed the title RDKBACCL-1785: Upstreaming ccsp-eth-agent patches from meta-rdk-bsp-arm RDKBDEV-3458, RDKBACCL-1785: Upstreaming ccsp-eth-agent patches from meta-rdk-bsp-arm Jun 25, 2026
@pradeeptakdas pradeeptakdas changed the title RDKBDEV-3458, RDKBACCL-1785: Upstreaming ccsp-eth-agent patches from meta-rdk-bsp-arm RDKCOM-5600: RDKBDEV-3458, RDKBACCL-1785 Upstreaming ccsp-eth-agent patches from meta-rdk-bsp-arm Jun 26, 2026
@AkhilaReddyK7 AkhilaReddyK7 added the community-contribution Contribution from community label Jun 30, 2026
@tinaelizabeth84

Copy link
Copy Markdown

@ap934 Please address the copilot review comments. if comment is not valid , we need to provide the explanation why it is not valid and resolve the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contribution from community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants