]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/tf_core/tfp.h
net/mlx5: make VLAN network interface thread safe
[dpdk.git] / drivers / net / bnxt / tf_core / tfp.h
index 421a7d9f78f910674529c12e2d6ff8a9c44c5262..551b9c569fbc0c6c699760c52c489daa39ccbada 100644 (file)
@@ -268,4 +268,20 @@ int tfp_get_fid(struct tf *tfp, uint16_t *fw_fid);
  */
 int tfp_get_fid(struct tf *tfp, uint16_t *fw_fid);
 
+/**
+ * Get the PF associated with the fw communications channel.
+ *
+ * [in] session
+ *   Pointer to session handle
+ *
+ * [out] pf
+ *   Pointer to the pf id
+ *
+ * Returns:
+ *   0       - Success
+ *   -EINVAL - Failure
+ *
+ */
+int tfp_get_pf(struct tf *tfp, uint16_t *pf);
+
 #endif /* _TFP_H_ */