Jetson tx2 loses NIC after receiving LLDP packet

I can confirm that after receiving LLDP packet nvidia jetson loses any network connectivity and eqos just stops working.

Is it a driver bug?

If you are using the wired ethernet on a development board, then this tends to be rather reliable. You might want to run both ifconfig and route after the failure, and post the result. I am wondering what the packet statistics look like. You should also run “dmesg --follow”, and then post what shows up as the packet causes loss of the interface.

This is a known issue and this patch is needed to fix it.

diff --git a/drivers/net/ethernet/nvidia/eqos/drv.c b/drivers/net/ethernet/nvidia/eqos/drv.c
index 4048913..486fd66 100644
--- a/drivers/net/ethernet/nvidia/eqos/drv.c
+++ b/drivers/net/ethernet/nvidia/eqos/drv.c
@@ -29,7 +29,7 @@
  * DAMAGE.
  * ========================================================================= */
 /*
- * Copyright (c) 2015-2019, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2015-2020, NVIDIA CORPORATION.  All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms and conditions of the GNU General Public License,
@@ -1352,7 +1352,8 @@
 									  addr);
 
 			if ((pdata->ptp_cfg.use_tagged_ptp) &&
-			    (is_ptp_addr(ha->addr)))
+			    (is_ptp_addr(ha->addr)) &&
+			    pdata->dt_cfg.use_multi_q)
 				hw_if->config_ptp_channel(pdata->ptp_cfg.
 							  ptp_dma_ch_id, i);

Thank you! Will try to use it ASAP.