commit | de5f32e2b6301c1f6780b3ae9c2740a5e422e2da | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Mon Jun 29 14:33:44 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 29 17:37:48 2020 -0700 |
tree | cd02ca00c551e20f3b52536bd67ee2fe93df66ec | |
parent | 08f9912ef01e184b6a0512ca062e4f743671dac2 [diff] |
sfc: don't try to create more channels than we can have VIs Calculate efx->max_vis at probe time, and check against it in efx_allocate_msix_channels() when considering whether to create XDP TX channels. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>