qede: add L2 support
[dpdk.git] / drivers / net / qede / qede_if.h
index 935eed8..1b05ff8 100644 (file)
@@ -152,4 +152,13 @@ struct qed_common_ops {
                              uint32_t dp_module, uint8_t dp_level);
 };
 
+/**
+ * @brief qed_get_protocol_version
+ *
+ * @param protocol
+ *
+ * @return version supported by qed for given protocol driver
+ */
+uint32_t qed_get_protocol_version(enum qed_protocol protocol);
+
 #endif /* _QEDE_IF_H */