From: Jiri Pirko <j...@mellanox.com>

Incorrect, need to be done differently

Signed-off-by: Jiri Pirko <j...@mellanox.com>
---
 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net_repr.c 
b/drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
index d98cbc173dca..e6445f6707cb 100644
--- a/drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
+++ b/drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
@@ -328,6 +328,8 @@ int nfp_repr_init(struct nfp_app *app, struct net_device 
*netdev,
        if (err)
                goto err_repr_clean;
 
+       /* This is incorrect - the id has to be figured out differently */
+       port->eth_id = cmsg_port_id;
        return 0;
 
 err_repr_clean:
-- 
2.14.3

Reply via email to