Skip to content

Review the initialization of the KNI interfaces#482

Merged
AltraMayor merged 4 commits intomasterfrom
kni
May 25, 2021
Merged

Review the initialization of the KNI interfaces#482
AltraMayor merged 4 commits intomasterfrom
kni

Conversation

@AltraMayor
Copy link
Owner

No description provided.

The fields addr and id of struct rte_kni_conf are no longer needed.
Return an error when if_nametoindex() fails at cps_stage1().

This bug has not been triggered before being fixed.
According to the documentation of rte_kni_alloc(),
each KNI interface needs at least 2 x KNI_FIFO_COUNT_MAX packets.
There is no longer a need for dealing with bonded NICs differently.
@AltraMayor AltraMayor added this to the First deployment milestone May 25, 2021
@AltraMayor
Copy link
Owner Author

This pull request was tested on the XIA1 server (test machine) and in production.

@AltraMayor AltraMayor merged commit 78ae8bc into master May 25, 2021
@AltraMayor AltraMayor deleted the kni branch May 25, 2021 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant