diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_dcb_lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_dcb_lib.h b/drivers/net/ethernet/intel/ice/ice_dcb_lib.h index 8932702b0b66..58d8458149c7 100644 --- a/drivers/net/ethernet/intel/ice/ice_dcb_lib.h +++ b/drivers/net/ethernet/intel/ice/ice_dcb_lib.h | |||
@@ -12,6 +12,9 @@ u8 ice_dcb_get_ena_tc(struct ice_dcbx_cfg *dcbcfg); | |||
12 | u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg *dcbcfg); | 12 | u8 ice_dcb_get_num_tc(struct ice_dcbx_cfg *dcbcfg); |
13 | void ice_vsi_cfg_dcb_rings(struct ice_vsi *vsi); | 13 | void ice_vsi_cfg_dcb_rings(struct ice_vsi *vsi); |
14 | int ice_init_pf_dcb(struct ice_pf *pf); | 14 | int ice_init_pf_dcb(struct ice_pf *pf); |
15 | int | ||
16 | ice_tx_prepare_vlan_flags_dcb(struct ice_ring *tx_ring, | ||
17 | struct ice_tx_buf *first); | ||
15 | void | 18 | void |
16 | ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, | 19 | ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, |
17 | struct ice_rq_event_info *event); | 20 | struct ice_rq_event_info *event); |
@@ -37,6 +40,13 @@ static inline int ice_init_pf_dcb(struct ice_pf *pf) | |||
37 | return -EOPNOTSUPP; | 40 | return -EOPNOTSUPP; |
38 | } | 41 | } |
39 | 42 | ||
43 | static inline int | ||
44 | ice_tx_prepare_vlan_flags_dcb(struct ice_ring __always_unused *tx_ring, | ||
45 | struct ice_tx_buf __always_unused *first) | ||
46 | { | ||
47 | return 0; | ||
48 | } | ||
49 | |||
40 | #define ice_vsi_cfg_dcb_rings(vsi) do {} while (0) | 50 | #define ice_vsi_cfg_dcb_rings(vsi) do {} while (0) |
41 | #define ice_dcb_process_lldp_set_mib_change(pf, event) do {} while (0) | 51 | #define ice_dcb_process_lldp_set_mib_change(pf, event) do {} while (0) |
42 | #define ice_set_cgd_num(tlan_ctx, ring) do {} while (0) | 52 | #define ice_set_cgd_num(tlan_ctx, ring) do {} while (0) |