]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sfc: add logs explaining XDP_TX/REDIRECT is not available
authorÍñigo Huguet <ihuguet@redhat.com>
Tue, 13 Jul 2021 14:21:29 +0000 (16:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jul 2021 17:02:41 +0000 (10:02 -0700)
commitd2a16bde77322fca6b6f36ebe19097a1c3c46f74
tree419aea1d7f617070210309d4e9b417c885d68c1a
parent788bc000d4c2f25232db19ab3a0add0ba4e27671
sfc: add logs explaining XDP_TX/REDIRECT is not available

If it's not possible to allocate enough channels for XDP, XDP_TX and
XDP_REDIRECT don't work. However, only a message saying that not enough
channels were available was shown, but not saying what are the
consequences in that case. The user didn't know if he/she can use XDP
or not, if the performance is reduced, or what.

Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx_channels.c