]> git.baikalelectronics.ru Git - kernel.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)
commit1df62cfa1104ac03aafe883410f4ba7e901a86e8
tree419aea1d7f617070210309d4e9b417c885d68c1a
parent48a783456de97fa524922d24799ef15f125038b5
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