>
发送时间: 2021年6月21日星期一 15:31
收件人: Tengfei Zhang
抄送: mailto:dev@dpdk.org; Zhang, Qi Z; Lin, Xueqin
主题: RE: [PATCH] net/e1000: fix nic ops function was no initialized in secondary
process
-Original Message-
From: Tengfei Zhang <mailto:zypsc...@outlook.com>
Sent: Saturday, June 19
'e1000_setup_init_funcs' was not called in secondary process,
it initialize mac,phy,nvm ops.
when secondary process get link status,it will coredump.
Signed-off-by: Tengfei Zhang
---
drivers/net/e1000/em_ethdev.c | 1 +
drivers/net/e1000/igb_ethdev.c | 2 ++
2 files changed, 3
pcap fd was opend when vdev probed,
but not closed when vdev removed.
Fixes: c956caa6eabf ("pcap: support port hotplug")
Cc: sta...@dpdk.org
Signed-off-by: Tengfei Zhang
---
drivers/net/pcap/rte_eth_pcap.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git
if the pcap added by the secondary with the intention
to use only by the secondary, yes primary process also opens the pcap
unnecessarily, but that shouldn't be really a concern, this is one
time cost in probe().
> I prefer "ZhangTengfei " sign (this one)
OK, also can you ple
4 matches
Mail list logo