1 /* Broadcom NetXtreme-C/E network driver.
3 * Copyright (c) 2014-2016 Broadcom Corporation
4 * Copyright (c) 2016-2018 Broadcom Limited
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation.
14 #include <net/dcbnl.h>
18 struct ieee_pfc *ieee_pfc;
19 struct ieee_ets *ieee_ets;
24 struct bnxt_cos2bw_cfg {
29 #define BW_VALUE_UNIT_PERCENT1_100 (0x1UL << 29)
36 struct bnxt_dscp2pri_entry {
42 #define BNXT_LLQ(q_profile) \
44 QUEUE_QPORTCFG_RESP_QUEUE_ID0_SERVICE_PROFILE_LOSSLESS_ROCE)
46 #define BNXT_CNPQ(q_profile) \
48 QUEUE_QPORTCFG_RESP_QUEUE_ID0_SERVICE_PROFILE_LOSSY_ROCE_CNP)
50 #define HWRM_STRUCT_DATA_SUBTYPE_HOST_OPERATIONAL 0x0300
52 void bnxt_dcb_init(struct bnxt *bp);
53 void bnxt_dcb_free(struct bnxt *bp);