diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c index d58887a1cc36..22fe0605aa9f 100644 --- a/drivers/net/ethernet/intel/ice/ice_main.c +++ b/drivers/net/ethernet/intel/ice/ice_main.c | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | #include "ice.h" | 8 | #include "ice.h" |
9 | #include "ice_lib.h" | 9 | #include "ice_lib.h" |
10 | #include "ice_dcb_lib.h" | ||
10 | 11 | ||
11 | #define DRV_VERSION "0.7.3-k" | 12 | #define DRV_VERSION "0.7.3-k" |
12 | #define DRV_SUMMARY "Intel(R) Ethernet Connection E800 Series Linux Driver" | 13 | #define DRV_SUMMARY "Intel(R) Ethernet Connection E800 Series Linux Driver" |
@@ -2285,6 +2286,15 @@ ice_probe(struct pci_dev *pdev, const struct pci_device_id __always_unused *ent) | |||
2285 | 2286 | ||
2286 | ice_init_pf(pf); | 2287 | ice_init_pf(pf); |
2287 | 2288 | ||
2289 | err = ice_init_pf_dcb(pf); | ||
2290 | if (err) { | ||
2291 | clear_bit(ICE_FLAG_DCB_CAPABLE, pf->flags); | ||
2292 | clear_bit(ICE_FLAG_DCB_ENA, pf->flags); | ||
2293 | |||
2294 | /* do not fail overall init if DCB init fails */ | ||
2295 | err = 0; | ||
2296 | } | ||
2297 | |||
2288 | ice_determine_q_usage(pf); | 2298 | ice_determine_q_usage(pf); |
2289 | 2299 | ||
2290 | pf->num_alloc_vsi = hw->func_caps.guar_num_vsi; | 2300 | pf->num_alloc_vsi = hw->func_caps.guar_num_vsi; |