test: use SPDX tags in 6WIND copyrighted files
[dpdk.git] / drivers / net / qede / base / ecore_proto_if.h
index ed24019..abca740 100644 (file)
@@ -21,9 +21,19 @@ struct ecore_eth_pf_params {
         * to update_pf_params routine invoked before slowpath start
         */
        u16     num_cons;
+
+       /* per-VF number of CIDs */
+       u8      num_vf_cons;
+#define ETH_PF_PARAMS_VF_CONS_DEFAULT  (32)
+
+       /* To enable arfs, previous to HW-init a positive number needs to be
+        * set [as filters require allocated searcher ILT memory].
+        * This will set the maximal number of configured steering-filters.
+        */
+       u32     num_arfs_filters;
 };
 
-/* Most of the the parameters below are described in the FW iSCSI / TCP HSI */
+/* Most of the parameters below are described in the FW iSCSI / TCP HSI */
 struct ecore_iscsi_pf_params {
        u64             glbl_q_params_addr;
        u64             bdq_pbl_base_addr[2];
@@ -61,6 +71,13 @@ struct ecore_iscsi_pf_params {
 
        u8              is_target;
        u8              bdq_pbl_num_entries[2];
+       u8              disable_stats_collection;
+};
+
+enum ecore_rdma_protocol {
+       ECORE_RDMA_PROTOCOL_DEFAULT,
+       ECORE_RDMA_PROTOCOL_ROCE,
+       ECORE_RDMA_PROTOCOL_IWARP,
 };
 
 struct ecore_rdma_pf_params {
@@ -79,6 +96,7 @@ struct ecore_rdma_pf_params {
 
        /* TCP port number used for the iwarp traffic */
        u16             iwarp_port;
+       enum ecore_rdma_protocol rdma_protocol;
 };
 
 struct ecore_pf_params {