[PATCH v1] net/e1000: do not update link status in secondary process
Jun Wang
junwang01 at cestc.cn
Sun Jul 14 10:26:26 CEST 2024
>> The code to update link status is not safe in secondary process.
>> If called from secondary it will crash, example from dumpcap:
>> eth_em_link_update
>>
>> Signed-off-by: Jun Wang <junwang01 at cestc.cn>
>
> Wouldn't it be better to fix the code in e1000_check_link to work in
> secondary process. There are network virtual appliances that use
> secondary process for all processing.
Yes, the e1000 virtual network card currently does not work properly
in the secondary process. After skipping eth_em_link_update, I tested
the e1000 card and it was able to capture packets normally. For the
secondary process, I think eth_em_link_update is not necessary.
Jun Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240714/b4efc6c4/attachment.htm>
More information about the dev
mailing list