FreeBSD problem with ixgbe
Lewis Donzis
lew at perftech.com
Tue Oct 22 16:47:48 CEST 2024
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 at 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
> > -
More information about the dev
mailing list