Yinjun Zhang 87ed3de674 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 <yinjun.zhang@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220309135533.10162-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-03-10 20:25:18 -08:00
..
2022-02-18 19:36:36 +01:00
2022-02-25 12:30:01 -08:00
2022-02-28 10:43:07 -08:00
2022-02-28 12:51:14 -08:00
2021-12-09 20:06:54 -08:00
2022-02-28 10:43:07 -08:00
2022-01-11 11:35:28 -08:00
2022-03-04 12:02:19 +00:00
2022-02-28 10:43:07 -08:00
2022-01-22 08:33:37 +02:00
2022-01-16 08:08:11 +02:00
2022-02-02 10:33:04 +05:30
2022-02-28 10:43:07 -08:00
2022-01-22 08:33:37 +02:00
2022-01-20 13:25:01 +02:00
2022-01-27 11:23:26 +02:00
2022-03-07 11:40:40 +00:00
2021-12-29 10:54:50 +01:00
2022-01-20 13:31:46 +02:00
2022-02-28 10:43:07 -08:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:07:57 +02:00
2022-01-22 08:33:37 +02:00
2021-12-08 14:53:15 -05:00