On Tue, 26 Jan 2021 22:59:29 +0800 Chris Mi wrote:
In order to send sampled packets to userspace, NIC driver calls
psample api directly. But it creates a hard dependency on module
psample. Introduce psample_ops to remove the hard dependency.
It is initialized when psample module is loaded and set to NULL
when the module is unloaded.
Signed-off-by: Chris Mi <redacted>
Reviewed-by: Jiri Pirko <redacted>
This adds a bunch of sparse warnings.
MelVidia has some patch checking infra, right? Any reason this was not
run through it?