intel-wired-lan.lists.osuosl.org archive mirror
 help / color / mirror / Atom feed
From: Jesse Brandeburg <jesse.brandeburg@intel.com>
To: James Dutton <james.dutton@gmail.com>,
	<intel-wired-lan@lists.osuosl.org>
Subject: Re: [Intel-wired-lan] How to set interface up / down ?
Date: Fri, 5 Apr 2024 08:15:03 -0700	[thread overview]
Message-ID: <77d8fb1a-095d-4bb3-9b46-1abfb163b0e7@intel.com> (raw)
In-Reply-To: <CAAMvbhGb1mrkFA10=86a-KrzLbyOt13pMk+ZWKwgJ7vzMOcqaQ@mail.gmail.com>

On 4/4/2024 7:59 PM, James Dutton wrote:
> Hi,
> 
> I have source code for a sfp phy that is setting
> phydev->link = 1
> What else do I have to do to make ethtool think the
> Link detected: yes
> 
> Is there a function I need to call from the phy code to cause the
> carrier state to be UP ?
> ethtool always shows "Link detected: no" state.

Hi James,
Not sure what this has to do with intel-wired-lan, but you just need
netif_carrier_on()



      reply	other threads:[~2024-04-05 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05  2:59 [Intel-wired-lan] How to set interface up / down ? James Dutton
2024-04-05 15:15 ` Jesse Brandeburg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77d8fb1a-095d-4bb3-9b46-1abfb163b0e7@intel.com \
    --to=jesse.brandeburg@intel.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=james.dutton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).