]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5.h
net/mlx5: support reading module EEPROM data
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index dbdc3ceae3fc7766036609a0e9de241d211e1733..239b56c9e0093441a6ddda93b031432e6eb90f2a 100644 (file)
@@ -728,6 +728,10 @@ void mlx5_translate_port_name(const char *port_name_in,
                              struct mlx5_switch_info *port_info_out);
 void mlx5_intr_callback_unregister(const struct rte_intr_handle *handle,
                                   rte_intr_callback_fn cb_fn, void *cb_arg);
+int mlx5_get_module_info(struct rte_eth_dev *dev,
+                        struct rte_eth_dev_module_info *modinfo);
+int mlx5_get_module_eeprom(struct rte_eth_dev *dev,
+                          struct rte_dev_eeprom_info *info);
 
 /* mlx5_mac.c */