summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-08-09 14:05:31 -0700
committerDavid S. Miller <davem@davemloft.net>2018-08-09 14:05:31 -0700
commit333771526fbe14de3c871d8717bafc7b5b5249b3 (patch)
treef7bdfb755226d917b4de911476edac678bc3cd02 /include/linux
parent2eee32a74f6ad6f64ec418286f8a383c3ce73ccb (diff)
parent2ce9c93eaca6c67e3fa8828a471738a32cd66770 (diff)
downloadcachepc-linux-333771526fbe14de3c871d8717bafc7b5b5249b3.tar.gz
cachepc-linux-333771526fbe14de3c871d8717bafc7b5b5249b3.zip
Merge branch 'qed-Enhancements'
Manish Chopra says: ==================== qed*: Enhancements This patch series adds following support in drivers - 1. Egress mqprio offload. 2. Add destination IP based flow profile. 3. Ingress flower offload (for drop action). Please consider applying this series to "net-next". ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/qed/qed_eth_if.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h
index 2978fa4add42..a1310482c4ed 100644
--- a/include/linux/qed/qed_eth_if.h
+++ b/include/linux/qed/qed_eth_if.h
@@ -39,6 +39,10 @@
#include <linux/qed/qed_if.h>
#include <linux/qed/qed_iov_if.h>
+/* 64 max queues * (1 rx + 4 tx-cos + 1 xdp) */
+#define QED_MIN_L2_CONS (2 + NUM_PHYS_TCS_4PORT_K2)
+#define QED_MAX_L2_CONS (64 * (QED_MIN_L2_CONS))
+
struct qed_queue_start_common_params {
/* Should always be relative to entity sending this. */
u8 vport_id;
@@ -49,6 +53,8 @@ struct qed_queue_start_common_params {
struct qed_sb_info *p_sb;
u8 sb_idx;
+
+ u8 tc;
};
struct qed_rxq_start_ret_params {