-
-
branches/rel_apv_10_7_0_21_nic_debug/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev_vf.c (Diff revision 1) VF reset stil in progress.
Bug 928: Fix for Nic Flap issue on apv
Review Request #387 — Created Aug. 5, 2024 and updated
| Information | |
|---|---|
| satyendra | |
| APV10 | |
| Reviewers | |
| pradeep, prajesh, roland, tanya, wli | |
RCA : Mostly nic flap when burst of traffic comes .The NIC reset is initated by dpdk and it fires the command as the VF, There is no mechanism from PF to VF singal that NIC reset is Succesful .The VF waits for certain time and then start to fire command to PF and if that command is not execuated , it will go in pending state and will become deadlock situation .
Fix. Added VF reset status check facility to fire command after nic reset is done to avoid race condition .
Unit testing is done
| Description | From | Last Updated |
|---|---|---|
|
do we need sleep ? |
|
|
|
this function logic is same as i40evf_reset_vf(). We are just waiting for some more time in this function. Instead of … |
|
|
|
VF reset stil in progress. |
|
|
|
change the log message to "VF reset stil in progress." Also additionally, add function name in the log to correlate … |
|
|
|
this is already checking reset here. Should we call i40evf_check_vf_reset_done() after this call ? |
|
-
-
branches/rel_apv_10_7_0_21_nic_debug/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev_vf.c (Diff revision 1) this function logic is same as i40evf_reset_vf(). We are just waiting for some more time in this function. Instead of adding a new function, can we change MAX_RESET_WAIT_CNT to a bugger valuse? However, I still dont understand how this is going to solve the problem.
-
-
branches/rel_apv_10_7_0_21_nic_debug/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev_vf.c (Diff revision 1) do we need sleep ?
-
branches/rel_apv_10_7_0_21_nic_debug/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev_vf.c (Diff revision 1) change the log message to "VF reset stil in progress."
Also additionally, add function name in the log to correlate the logs better.
-
branches/rel_apv_10_7_0_21_nic_debug/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev_vf.c (Diff revision 1) this is already checking reset here. Should we call i40evf_check_vf_reset_done() after this call ?
