git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice: remove support for IP fragment default RSS
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5.c
diff --git
a/drivers/net/mlx5/mlx5.c
b/drivers/net/mlx5/mlx5.c
index
90990ff
..
f84e061
100644
(file)
--- a/
drivers/net/mlx5/mlx5.c
+++ b/
drivers/net/mlx5/mlx5.c
@@
-2297,7
+2297,8
@@
rte_pmd_mlx5_get_dyn_flag_names(char *names[], unsigned int n)
*/
int
mlx5_dev_check_sibling_config(struct mlx5_priv *priv,
*/
int
mlx5_dev_check_sibling_config(struct mlx5_priv *priv,
- struct mlx5_dev_config *config)
+ struct mlx5_dev_config *config,
+ struct rte_device *dpdk_dev)
{
struct mlx5_dev_ctx_shared *sh = priv->sh;
struct mlx5_dev_config *sh_conf = NULL;
{
struct mlx5_dev_ctx_shared *sh = priv->sh;
struct mlx5_dev_config *sh_conf = NULL;
@@
-2308,7
+2309,7
@@
mlx5_dev_check_sibling_config(struct mlx5_priv *priv,
if (sh->refcnt == 1)
return 0;
/* Find the device with shared context. */
if (sh->refcnt == 1)
return 0;
/* Find the device with shared context. */
- MLX5_ETH_FOREACH_DEV(port_id,
NULL
) {
+ MLX5_ETH_FOREACH_DEV(port_id,
dpdk_dev
) {
struct mlx5_priv *opriv =
rte_eth_devices[port_id].data->dev_private;
struct mlx5_priv *opriv =
rte_eth_devices[port_id].data->dev_private;