diff options
| author | Yinjun Zhang <[email protected]> | 2022-03-09 14:55:33 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-10 20:25:18 -0800 |
| commit | 87ed3de674c69f4d998a6e0e1eb04e008ca93f84 (patch) | |
| tree | c7c5b71e5d5e69ac01462cb7877f6e879f856626 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4c7d2e179576e821b461bb4a58d0a834916601fa (diff) | |
nfp: xsk: fix a warning when allocating rx rings
Previous commits introduced AF_XDP zero-copy support, in which
we need register different mem model for xdp_rxq when AF_XDP
zero-copy is enabled or not. And this should be done after xdp_rxq
info is registered, which is not needed for ctrl port, otherwise
there complaints warnings: "Missing register, driver bug".
Fix this by not registering mem model for ctrl port, just like we
don't register xdp_rxq info for ctrl port.
Fixes: 6402528b7a0b ("nfp: xsk: add AF_XDP zero-copy Rx and Tx support")
Signed-off-by: Yinjun Zhang <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions