summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/dropwatch
Commit message (Collapse)AuthorAgeFilesLines
* dropwatch: Use header files from sysroot instead of build hostchenheyun2024-02-182-1/+31
| | | | | | | | | | | | | | | | | | | | | | it does not match with our real head file form kernel.(net_dropmon.h) net_dropmon.h in dropwatch local src/net_dropmon.h. linux kernel also have it in include/uapi/linux/net_dropmon.h for example,our kernel is linux5.10: diff tmp/work/cortexa57-poky-linux/dropwatch/1.5.4+git-r0/recipe-sysroot/usr/ include/linux/net_dropmon.h tmp/work/cortexa57-poky-linux/dropwatch/1.5.4+git-r0/git/src/net_dropmon.h 1c1,3 < 95a94 > NET_DM_ATTR_REASON, /* string */ it will cause mismatch when we use dropwatch in older kernel version(v5.10), will cause dropwatch and kernel drop_monitor module mismatch with netlink talk. we should build it with header from sysroot which comes from matching kernel. Signed-off-by: chenheyun <chen_heyun@163.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dropwatch: add new recipeChristophe Vu-Brugier2024-01-221-0/+18
Dropwatch is a utility to help developers and system administrators to diagnose problems in the Linux Networking stack, specifically their ability to diagnose where packets are getting dropped. References: * https://github.com/nhorman/dropwatch Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>