> -----Original Message----- > From: Thomas Monjalon <[email protected]> > Sent: Tuesday, September 29, 2020 07:15 > To: [email protected] > Cc: Yigit, Ferruh <[email protected]>; [email protected]; > Shepard Siegel > <[email protected]>; Ed Czeck <[email protected]>; John > Miller > <[email protected]>; Igor Russkikh <[email protected]>; > Pavel Belous > <[email protected]>; Somalapuram Amaranath <[email protected]>; Ajit > Khaparde > <[email protected]>; Somnath Kotur <[email protected]>; > Chas Williams > <[email protected]>; Wei Hu (Xavier) <[email protected]>; Hemant Agrawal > <[email protected]>; > Sachin Saxena <[email protected]>; Guo, Jia <[email protected]>; > Wang, Haiyue > <[email protected]>; Marcin Wojtas <[email protected]>; Michal Krawczyk > <[email protected]>; Guy > Tzalik <[email protected]>; Evgeny Schemeilin <[email protected]>; Igor > Chauskin <[email protected]>; > Zhang, Qi Z <[email protected]>; Wang, Xiao W <[email protected]>; > Ziyang Xuan > <[email protected]>; Xiaoyun Wang <[email protected]>; > Guoyang Zhou > <[email protected]>; Min Hu (Connor) <[email protected]>; Yisen Zhuang > <[email protected]>; > Xing, Beilei <[email protected]>; Wu, Jingjing <[email protected]>; > Yang, Qiming > <[email protected]>; Alfredo Cardigliano <[email protected]>; Shijith > Thotton > <[email protected]>; Srisivasubramanian Srinivasan > <[email protected]>; Stephen Hemminger > <[email protected]>; K. Y. Srinivasan <[email protected]>; Haiyang > Zhang <[email protected]>; > Long Li <[email protected]>; Harman Kalra <[email protected]>; Rasesh > Mody <[email protected]>; > Shahed Shaikh <[email protected]>; Wiles, Keith <[email protected]>; > Maxime Coquelin > <[email protected]>; Xia, Chenbo <[email protected]>; Wang, > Zhihong > <[email protected]>; Yong Wang <[email protected]> > Subject: [PATCH v3 28/29] ethdev: reset all when releasing a port > > The function rte_eth_dev_release_port() was resetting partially > the struct rte_eth_dev. The drivers were completing it > with more pointers set to NULL in the close or remove operations. > > A full memset is done so most of those assignments become useless. > > Signed-off-by: Thomas Monjalon <[email protected]> > ---
> drivers/net/e1000/em_ethdev.c | 4 ---- > drivers/net/e1000/igb_ethdev.c | 8 -------- > drivers/net/ixgbe/ixgbe_ethdev.c | 8 -------- For e1000/ixgbe Reviewed-by: Haiyue Wang <[email protected]> > -- > 2.28.0

