summaryrefslogtreecommitdiff
path: root/include/linux/net
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-02-08 16:23:38 -0800
committerJakub Kicinski <kuba@kernel.org>2022-02-08 16:23:39 -0800
commita501ab3f37a5094c51ab32ae6a54440a5a1e2bc2 (patch)
treed1757e0e13f2af927aff86cdfc374294c1bd8945 /include/linux/net
parentc3e676b98326a419f30dd5d956c68fc33323f4fd (diff)
parentb794eecb2af77145d36b9c28f056e242add9c4b2 (diff)
Merge branch 'iwl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/linux
Nguyen, Anthony L says: ==================== iwl-next Intel Wired LAN Driver Updates 2022-02-07 Dave adds support for ice driver to provide DSCP QoS mappings to irdma driver. [1] https://lore.kernel.org/netdev/20220202191921.1638-1-shiraz.saleem@intel.com/ * 'iwl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/linux: ice: add support for DSCP QoS for IDC ==================== Link: https://lore.kernel.org/r/20220207235921.1303522-1-anthony.l.nguyen@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/net')
-rw-r--r--include/linux/net/intel/iidc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/net/intel/iidc.h b/include/linux/net/intel/iidc.h
index 1289593411d3..1c1332e4df26 100644
--- a/include/linux/net/intel/iidc.h
+++ b/include/linux/net/intel/iidc.h
@@ -32,6 +32,8 @@ enum iidc_rdma_protocol {
};
#define IIDC_MAX_USER_PRIORITY 8
+#define IIDC_MAX_DSCP_MAPPING 64
+#define IIDC_DSCP_PFC_MODE 0x1
/* Struct to hold per RDMA Qset info */
struct iidc_rdma_qset_params {
@@ -60,6 +62,8 @@ struct iidc_qos_params {
u8 vport_relative_bw;
u8 vport_priority_type;
u8 num_tc;
+ u8 pfc_mode;
+ u8 dscp_map[IIDC_MAX_DSCP_MAPPING];
};
struct iidc_event {