From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0133.outbound.protection.outlook.com [104.47.38.133]) by dpdk.org (Postfix) with ESMTP id AB2FF1B319 for ; Sun, 11 Feb 2018 02:17:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=versanetworks.onmicrosoft.com; s=selector1-versanetworks-com01c; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Lqd6dMYvqmHdlPVOO/ob8B7+laU7SFPFLUMqc/9rW3E=; b=hjR34A6iui01FR6MChjfUxLBM3oivuAlJoP4uIRLPf5RXyLO9+Oax30ha1Cco7j4E0ebcTu1s/I9nfchu34+GUv/DYvjJGNjXSFFu6xVXkNuIXMyxflQ4WEgsgGwyZ/Chl/2A0aThylPzDAif8botBYLRAM5BOGwsiQnJWUBmz4= Received: from BY2PR1101MB1126.namprd11.prod.outlook.com (10.164.166.136) by BY2PR1101MB1189.namprd11.prod.outlook.com (10.164.166.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Sun, 11 Feb 2018 01:17:09 +0000 Received: from BY2PR1101MB1126.namprd11.prod.outlook.com ([10.164.166.136]) by BY2PR1101MB1126.namprd11.prod.outlook.com ([10.164.166.136]) with mapi id 15.20.0485.009; Sun, 11 Feb 2018 01:17:09 +0000 From: Ananda Sathyanarayana To: "dev@dpdk.org" Thread-Topic: i354 autoneg-off link issue Thread-Index: AdOi1Z4/IwQJfp+VSGSSpYjH1mmm1g== Date: Sun, 11 Feb 2018 01:17:09 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ananda@versa-networks.com; x-originating-ip: [12.50.146.146] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BY2PR1101MB1189; 7:WtH5wNCSfR165xvtClPNpkdNIxZ5btI0iexoDTY+tHs5FjAGrfWAkfeJcDWtT6yLv5Oqt1WoBSG4zWCg46XM1nsaLN/rNoy05rwh3hEfHotSp3I+/7e9e69NiBU5s5B6UXbvDB54vPhrfF103nA3Ai46EHYXILumseufOmou/UcVVGe2NEU6yxoWqisfvrtqYJeXIF8PUTRkUBJhU/ghXqAbrQxRFnxGGmF1T6cvW3L/Y011oJNxl4wPpb0npjiU x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: c33e1d7f-05c7-4b34-1b63-08d570ed2c81 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4604075)(3008032)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603307)(7153060)(7193020); SRVR:BY2PR1101MB1189; x-ms-traffictypediagnostic: BY2PR1101MB1189: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231101)(944501161)(3002001)(6041288)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(2016111802025)(6072148)(6043046)(201708071742011); SRVR:BY2PR1101MB1189; BCL:0; PCL:0; RULEID:; SRVR:BY2PR1101MB1189; x-forefront-prvs: 058043A388 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(396003)(39840400004)(39380400002)(366004)(376002)(189003)(199004)(53946003)(25786009)(5660300001)(81156014)(8676002)(99286004)(1730700003)(3280700002)(81166006)(2900100001)(478600001)(66066001)(3660700001)(14454004)(74316002)(77096007)(6916009)(8936002)(6116002)(3846002)(26005)(105586002)(106356001)(790700001)(7736002)(2351001)(2906002)(86362001)(33656002)(97736004)(55016002)(9326002)(53936002)(6436002)(186003)(5640700003)(102836004)(2501003)(316002)(7696005)(9686003)(6306002)(6506007)(68736007)(54896002)(5630700001)(59450400001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR1101MB1189; H:BY2PR1101MB1126.namprd11.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: versa-networks.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: uUayoA2SqbpX5evXkSopsv4Khw1sZscRN9aAc4hYKkYbhhE80kJRjzwAO/MB+V+58sZJIcHjY3pT3/fEMtmCgA== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: versa-networks.com X-MS-Exchange-CrossTenant-Network-Message-Id: c33e1d7f-05c7-4b34-1b63-08d570ed2c81 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2018 01:17:09.7918 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d39a23bd-897c-45f1-a3f5-c5213b673627 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR1101MB1189 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] i354 autoneg-off link issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 01:17:13 -0000 Hi, I am observing a strange issue with i354 when auto-negotiation is turned of= f. The device I have has 6 ethernet ports. Port 1 and 2 are based on i210 a= nd port 3 to 6 are based on i354 (connected thru an external PHY). The CPU = is Atom Rangeley (4 core). I have connected ports 3 and 4 back to back with an external cable. When th= e link is forced to 100M/Full duplex with auto-negotiation off on both the = ports, the link does not come up. Whereas the link comes up fine when eth3 (i354) and eth1 (i210) are connect= ed back to back and forced to 100M/Full duplex with auto-negotiation off. This issue is seen with DPDK (16.04) and also linux kernel (ubuntu 14.04). Is this a known issue ? Following are logs when running the test using ethtool from linux admin@Ananda-Desk:~$ lspci | grep Ethernet 00:14.0 Ethernet controller: Intel Corporation Ethernet Connection I354 (re= v 03) - eth2 00:14.1 Ethernet controller: Intel Corporation Ethernet Connection I354 (re= v 03) - eth3 00:14.2 Ethernet controller: Intel Corporation Ethernet Connection I354 (re= v 03) - eth4 00:14.3 Ethernet controller: Intel Corporation Ethernet Connection I354 (re= v 03) - eth5 01:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connect= ion (rev 03) - eth0 02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connect= ion (rev 03) - eth1 admin@Ananda-Desk:~$ ethtool -i eth3 driver: igb version: 5.2.13-k firmware-version: 0.0.0 bus-info: 0000:00:14.1 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no [Force 100M/Full on eth3] admin@Ananda-Desk:~$ sudo ethtool -s eth3 autoneg off duplex full speed 100 admin@Ananda-Desk:~$ ethtool eth3 Settings for eth3: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: Not reported Advertised pause frame use: Symmetric Advertised auto-negotiation: No Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: off MDI-X: off (auto) Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00000007 (7) drv probe link Link detected: yes admin@Ananda-Desk:~$ ethtool eth4 Settings for eth4: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Half Port: Twisted Pair PHYAD: 2 Transceiver: internal Auto-negotiation: on MDI-X: on (auto) Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00000007 (7) drv probe link Link detected: yes [Force 100M/Full on eth4] admin@Ananda-Desk:~$ sudo ethtool -s eth4 autoneg off duplex full speed 100 admin@Ananda-Desk:~$ admin@Ananda-Desk:~$ ethtool eth4 Settings for eth4: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: Not reported Advertised pause frame use: Symmetric Advertised auto-negotiation: No Speed: Unknown! Duplex: Unknown! (255) Port: Twisted Pair PHYAD: 2 Transceiver: internal Auto-negotiation: off MDI-X: on (auto) Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00000007 (7) drv probe link Link detected: no <<<<<<<<<<<<<< admin@Ananda-Desk:~$ ethtool eth3 Settings for eth3: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: Not reported Advertised pause frame use: Symmetric Advertised auto-negotiation: No Speed: Unknown! Duplex: Unknown! (255) Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: off MDI-X: off (auto) Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00000007 (7) drv probe link Link detected: no <<<<<<<<<<< [Connect cables between eth1 and eth3] [Force 100M/Full on eth1] admin@Ananda-Desk:~$ admin@Ananda-Desk:~$ sudo ethtool -s eth1 autoneg off duplex full speed 100 admin@Ananda-Desk:~$ admin@Ananda-Desk:~$ ethtool eth1 Settings for eth1: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: Not reported Advertised pause frame use: Symmetric Advertised auto-negotiation: No Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: off MDI-X: on (auto) Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00000007 (7) drv probe link Link detected: yes <<<<<<<<<<<< admin@Ananda-Desk:~$ ethtool eth3 Settings for eth3: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: Not reported Advertised pause frame use: Symmetric Advertised auto-negotiation: No Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: off MDI-X: off (auto) Cannot get wake-on-lan settings: Operation not permitted Current message level: 0x00000007 (7) drv probe link Link detected: yes <<<<<<<<<<<< Thanks, Ananda