Re: [dpdk-dev] [PATCH] net/e1000: fix nic ops function was no initialized in secondary process

2021-06-22 Thread Tengfei Zhang
> 发送时间: 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

[dpdk-dev] [PATCH] net/e1000: fix nic ops function was no initialized in secondary process

2021-06-18 Thread Tengfei Zhang
'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

[dpdk-dev] [PATCH] net/pcap: fix fd leak on uninit

2021-03-02 Thread Tengfei Zhang
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

Re: [dpdk-dev] 回复: [PATCH] driver/net/pcap fix: pcap fd leak

2021-03-01 Thread Tengfei Zhang
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