DPDK patches and discussions
 help / color / mirror / Atom feed
From: Lewis Donzis <lew@perftech.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev <dev@dpdk.org>
Subject: Re: FreeBSD problem with ixgbe
Date: Tue, 22 Oct 2024 09:47:48 -0500 (CDT)	[thread overview]
Message-ID: <1613500549.8985881.1729608468411.JavaMail.zimbra@donzis.com> (raw)
In-Reply-To: <ZxeilRz-VTGhUIao@bricha3-mobl1.ger.corp.intel.com>

Certainly.  This is my first attempt and I didn't realize some of the rules, but hopefully it'll work.

Thanks,
lew

----- On Oct 22, 2024, at 8:03 AM, Bruce Richardson bruce.richardson@intel.com wrote:

> On Tue, Oct 22, 2024 at 07:32:01AM -0500, Lewis Donzis wrote:
>> I've reported this several times over the last two years, but there's been no
>> reply and no change to the ixgbe driver.
>> 
>> Specifically, calling rte_eth_link_get_nowait() on FreeBSD does, in fact, wait
>> for link-up which causes unexpected and long delays.
>> 
>> I suggest removing the line from ixgbe_dev_link_update_share() that forces
>> "wait" to be set on FreeBSD.  Would someone be willing to commit this, please?
>> 
>> Thanks,
>> lew
>> 
> 
> Hi Lewis,
> 
> could you please submit this change as a patch (using git send-email)
> including your signoff on it? We can't take code into DPDK without the
> appropriate signoff.
> 
> Thanks,
> 
> /Bruce
> 
> PS: For reference see:
> https://doc.dpdk.org/guides/contributing/patches.html#commit-messages-body
> 
>> Here's the "git diff" from a modified version:
>> 
>> diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
>> index ab37c37469..008760e315 100644
>> --- a/drivers/net/ixgbe/ixgbe_ethdev.c
>> +++ b/drivers/net/ixgbe/ixgbe_ethdev.c
>> @@ -4314,11 +4314,6 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
>>         if (wait_to_complete == 0 || dev->data->dev_conf.intr_conf.lsc != 0)
>>                 wait = 0;
>>  
>> -/* BSD has no interrupt mechanism, so force NIC status synchronization. */
>> -#ifdef RTE_EXEC_ENV_FREEBSD
>> -       wait = 1;
>> -#endif
> > -

  reply	other threads:[~2024-10-22 14:47 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-27 18:07 [PATCH v2 00/47] TruFlow update for Thor2 Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 01/47] net/bnxt: tf_core: fix wc tcam multi slice delete issue Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 02/47] net/bnxt: tf_core: tcam manager data corruption Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 03/47] net/bnxt: tf_core: External EM support cleanup Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 04/47] net/bnxt: tf_core: Thor TF EM key size check Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 05/47] net/bnxt: tf_core: flow scale improvement Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 06/47] net/bnxt: tf_core: TF support flow scale query Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 07/47] net/bnxt: tf_core: fix slice count in case of HA entry move Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 08/47] net/bnxt: tf_core: convert priority based TCAM manager to dynamic allocation Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 09/47] net/bnxt: tf_core: remove dead AFM code from session-based priority TCAM mgr Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 10/47] net/bnxt: tf_core: remove dead " Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 11/47] net/bnxt: tfc: support tf-core for Thor2 Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 12/47] net/bnxt: tf_ulp: add vxlan-gpe base support Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 13/47] net/bnxt: tf_ulp: add custom l2 etype tunnel support Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 14/47] net/bnxt: tf_ulp: add support for vf to vf flow offload Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 15/47] net/bnxt: tf_ulp: Wh+ mirroring support Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 16/47] net/bnxt: tf_ulp: miscellaneous fixes Sriharsha Basavapatna
2024-09-27 18:07 ` [PATCH v2 17/47] net/bnxt: tf_ulp: support for Thor2 ulp layer Sriharsha Basavapatna
2024-09-27 22:23   ` FreeBSD problem with ixgbe Lewis Donzis
2024-10-22 12:32     ` Lewis Donzis
2024-10-22 13:03       ` Bruce Richardson
2024-10-22 14:47         ` Lewis Donzis [this message]
2024-09-27 18:08 ` [PATCH v2 18/47] net/bnxt: tf_ulp: add support for overlapping flows Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 19/47] net/bnxt: tf_ulp: convert recipe table to dynamic memory Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 20/47] net/bnxt: tf_ulp: add feature bit support Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 21/47] net/bnxt: tf_ulp: add action read and clear support Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 22/47] net/bnxt: tf_ulp: update template files Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 23/47] net/bnxt: tf_ulp: VFR updates for Thor 2 Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 24/47] net/bnxt: tf_ulp: add support for tunnel flow stats Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 25/47] net/bnxt: tf_ulp: update template files Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 26/47] net/bnxt: tf_ulp: enable recipe id generation Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 27/47] net/bnxt: tf_ulp: fixed parent child db counters Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 28/47] net/bnxt: tf_ulp: modify return values to adhere to C coding standard Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 29/47] net/bnxt: tf_ulp: update template files Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 30/47] net/bnxt: tf_ulp: add mask defaults when mask is not specified Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 31/47] net/bnxt: tf_ulp: add jump action support Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 32/47] net/bnxt: tf_ulp: add support for flow priority Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 33/47] net/bnxt: tf_ulp: support for dynamic tunnel ports Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 34/47] net/bnxt: tf_ulp: add rte_mtr support for Thor2 Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 35/47] net/bnxt: tf_ulp: TF support flow scale query Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 36/47] net/bnxt: tf_ulp: add support for rss flow query to ULP Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 37/47] net/bnxt: tf_ulp: add track type feature to tables Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 38/47] net/bnxt: tf_ulp: inline utility functions and use likely/unlikely Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 39/47] net/bnxt: tf_ulp: switch ulp to use rte crc32 hash Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 40/47] net/bnxt: tf_ulp: update template files Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 41/47] net/bnxt: tf_ulp: support a few generic template items Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 42/47] net/bnxt: tf_ulp: TFC support flow scale query for Thor2 Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 43/47] net/bnxt: tf_ulp: update template files Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 44/47] net/bnxt: tf_ulp: enable support for truflow feature configuration Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 45/47] net/bnxt: tf_ulp: support a few feature extensions Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 46/47] net/bnxt: update template files Sriharsha Basavapatna
2024-09-27 18:08 ` [PATCH v2 47/47] net/bnxt: tf_ulp: add stats cache for thor2 Sriharsha Basavapatna

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=1613500549.8985881.1729608468411.JavaMail.zimbra@donzis.com \
    --to=lew@perftech.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /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 NNTP newsgroup(s).