Skip to content
Commit de5f32e2 authored by Edward Cree's avatar Edward Cree Committed by David S. Miller
Browse files

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: default avatarEdward Cree <ecree@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 08f9912e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment