fix spelling in comments and stringsThe tool comes from https://github.com/jsorefSigned-off-by: Josh Soref <[email protected]>Signed-off-by: Thomas Monjalon <[email protected]>
drivers/net: redefine array size macrosReplace copies of size(arr)/size(arr[0]) with RTE_DIM().Eventually all of these macro definitions should be removed.Signed-off-by: Andrew Boyer <aboyer@pen
drivers/net: redefine array size macrosReplace copies of size(arr)/size(arr[0]) with RTE_DIM().Eventually all of these macro definitions should be removed.Signed-off-by: Andrew Boyer <[email protected]>Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
net/nfp: check return valueCall to CPP read (nfp_cpp_readl()) can fail, return 0 on fail.If the call to _nfp6000_cppat_mu_locality fails, the function needsto return with an error.If the nfp_c
net/nfp: check return valueCall to CPP read (nfp_cpp_readl()) can fail, return 0 on fail.If the call to _nfp6000_cppat_mu_locality fails, the function needsto return with an error.If the nfp_cpp_readl() call fails just returns 0.Coverity issue: 277209, 277215, 277225Fixes: c7e9729da6b5 ("net/nfp: support CPP")Cc: [email protected]Signed-off-by: Alejandro Lucero <[email protected]>
net/nfp: fix unused header referenceApart from not being used, this is causing problem when compilingDPDK with the musl library as reported by bugzilla.Bugzilla ID: 40Fixes: c7e9729da6b5 ("net/
net/nfp: fix unused header referenceApart from not being used, this is causing problem when compilingDPDK with the musl library as reported by bugzilla.Bugzilla ID: 40Fixes: c7e9729da6b5 ("net/nfp: support CPP")Cc: [email protected]Signed-off-by: Alejandro Lucero <[email protected]>
net/nfp: support CPPCPP refers to the internal NFP Command Push Pull bus. This patch allowsto create CPP commands from user space allowing to access any singlepart of the chip.This CPP interfac
net/nfp: support CPPCPP refers to the internal NFP Command Push Pull bus. This patch allowsto create CPP commands from user space allowing to access any singlepart of the chip.This CPP interface is the base for having other functionalities likemutexes when accessing specific chip components, chip resources management,firmware upload or using the NSP, an embedded arm processor which canperform tasks on demand.NSP was the previous only way for doing things in the chip by the PMD,where a NSPU interface was used for commands like firmware upload orport link configuration. CPP interface supersedes NSPU, but it is stillpossible to use NSP through CPP.CPP interface adds a great flexibility for doing things like extendedstats or firmware debugging.Signed-off-by: Alejandro Lucero <[email protected]>