-
-
branches/rel_apv_10_7_0/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev_vf.c (Diff revision 1) from where this is getting called?
-
state should be decouple from clear queues functionality. satate can be set in the caller. This is breaking SRP principle.
-
Bug 641 :Fix for Nic flutation and TX hangs.
Review Request #241 — Created May 7, 2024 and updated
| Information | |
|---|---|
| satyendra | |
| APV10 | |
| apv_10_7_0 | |
| 641 | |
| Reviewers | |
| prajesh, roland, tanya, timlai, wli | |
As the packets are processed in dpdk as burst , if the packet queued in TX ring is more than 40 , It will go in
TX hang state as the H/W descriptor has MAX 40 TX desc limit .When TX ring goes in hang state , The dpdk try to reset it , and NIC should recovered after reset .
But due to dpdk has multiple threads and if NIC reset happened same time with different threads ,
It trigger race condition and reset has failed , Initiating the reboot .
Unit testing and regression testing is done
| Description | From | Last Updated |
|---|---|---|
|
Can you add details on what unit testing has been done? |
|
|
|
Change the target branch to 10.7 |
|
|
|
from where this is getting called? |
|
|
|
code can be cleared up insted of cluterring it up with #ifdef 0. |
|
|
|
Where is this function defined. I dont see it in 10.4.x codebased. May be I am missing something. |
|
|
|
state should be decouple from clear queues functionality. satate can be set in the caller. This is breaking SRP principle. |
|
|
|
My point is clearing the queue and updating the state should not be coupled together. The function clear queue gives … |
|
|
|
same as above comment |
|
-
-
My point is clearing the queue and updating the state should not be coupled together. The function clear queue gives the impression that it is only responsible for clearing queues and not updating the state. But it in our case, it does both which is overloading two different functionalities into one. Ideally, We should keep thenm separate.
-
-
branches/rel_apv_10_7_0/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev_vf.c (Diff revision 1) code can be cleared up insted of cluterring it up with #ifdef 0.
-
branches/rel_apv_10_7_0/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev_vf.c (Diff revision 1) Where is this function defined. I dont see it in 10.4.x codebased. May be I am missing something.
-
-
branches/rel_apv_10_7_0/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev.h (Diff revision 1) Can you add details on what unit testing has been done?
-
-
branches/rel_apv_10_7_0/usr/click/lib/libintel_dpdk/drivers/net/i40e/i40e_ethdev.h (Diff revision 1) Change the target branch to 10.7
