From nobody Thu Aug 10 01:32:14 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RLqCy4BBNz4ppmf; Thu, 10 Aug 2023 01:32:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RLqCy3j8Gz4fLM; Thu, 10 Aug 2023 01:32:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691631134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gPCRVxN02wVTstq+yL+ayA+d471cRVsfYSKqD8rv9rY=; b=MM0JDuEYSenFIW+RX4Vop1JUtDWu1J+4I6g0gycyxYj6PI9ofWVUyNXiPWddFUggrpXyB2 8W56WP9aILJ+43jBwbQodnNjs+cWqZ65+3adRUJLN9669aJ2FSlndAxuud98ewDFR+zkGw CfWMgGdZAA8BVc/TzTS0T35+UwbuZdcsHWA+2tAgzftKPiMyA66y73nzPmj/aU4QDv/h+m BH3mTx7Ap6LeabJmV9Rg0tnaP+gTLRjzeJyzi+lal6BJYIUx3bkJsjadrFedg5Su1PPMh/ qjOkO99DkwnwtG1LQefzuJHcYhNDGUNrv3P8EZBSqKWGGMGrIwycq7TluI542A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691631134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gPCRVxN02wVTstq+yL+ayA+d471cRVsfYSKqD8rv9rY=; b=aXOo4M370nIjHRrYSkC5zYaVRTcOWQ5+U3pjdijoLA0PUHIFxeXxU7Us6VsF6op0x3kxFE LngucxTEQIc67Y5eDYQIZE/Xq0KNqwk3uvtLqBIlJUrlKy0a6CkFhAkzzBgUOAQzcr6K1Q 6Lvrxv8NUvzkgdGlsEDKKZcSc+ePxwouJMbZExNj8eG7SCzAr9DcFkR2Asd04HXl/uJqit vrVi441jsdItficy8yARN93mEOW0gtaCyi7MRQaLuhNL1CH54K+menD73r5/1ol2AEQ0X/ hj8dS2pffNxax07TMONlNe3RklA/pwJlC2PnYqovAodpDGhh+ry8ediL9N7Vsg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691631134; a=rsa-sha256; cv=none; b=kojCz/eFvDG/FFkMZOnxaGbzSsOqPWS8f5Dcvra5rAqcKd3uaXG2FRo+qakaWDSBfmQ/CO NYSEhTPCLZRvpu6Jdfv9Y71LLLW59QJ2Fyt8dEi+0un4omD1LY19rITNHEuB++vwynBPx/ 1el4X1M6d5DeXi9FQDZabewFDNQnOJobyIFPwgdr3tK5uLYApZxFv4Cj0IIe2ZOISqa2bt 5VqRbuIspZnnWXradrV3iTK4IbruvxgwMuqnydQaYV9dpv4jeQCS7yYG62t6/HcKiZGeSs xJ2ZeUB7MYXNx+qzCKqFFPooDqcaml22ORYFZY/m7C/mAYo8+rry/7B735ARFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RLqCy2mKpzdb2; Thu, 10 Aug 2023 01:32:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37A1WEFI039980; Thu, 10 Aug 2023 01:32:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37A1WEQ2039978; Thu, 10 Aug 2023 01:32:14 GMT (envelope-from git) Date: Thu, 10 Aug 2023 01:32:14 GMT Message-Id: <202308100132.37A1WEQ2039978@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 9228ac3a69c4 - main - ixgbe: Add support for 82599 LS List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9228ac3a69c4c7401a743e6465e118101a2beeb0 Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=9228ac3a69c4c7401a743e6465e118101a2beeb0 commit 9228ac3a69c4c7401a743e6465e118101a2beeb0 Author: Kevin Bowling AuthorDate: 2023-08-10 01:30:15 +0000 Commit: Kevin Bowling CommitDate: 2023-08-10 01:31:39 +0000 ixgbe: Add support for 82599 LS Obtained from: DPDK 549ccd3dc01539e060597b503f2b65b272de3347 MFC after: 1 week --- sys/dev/ixgbe/if_ix.c | 1 + sys/dev/ixgbe/ixgbe_82599.c | 3 +++ sys/dev/ixgbe/ixgbe_type.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c index 36651fdd2263..c2a911773f4b 100644 --- a/sys/dev/ixgbe/if_ix.c +++ b/sys/dev/ixgbe/if_ix.c @@ -76,6 +76,7 @@ static pci_vendor_info_t ixgbe_vendor_info_array[] = PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_XAUI_LOM, "Intel(R) X520 82599 (XAUI/BX4)"), PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_CX4, "Intel(R) X520 82599 (Dual CX4)"), PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_T3_LOM, "Intel(R) X520-T 82599 LOM"), + PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_LS, "Intel(R) X520 82599 LS"), PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_COMBO_BACKPLANE, "Intel(R) X520 82599 (Combined Backplane)"), PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_BACKPLANE_FCOE, "Intel(R) X520 82599 (Backplane w/FCoE)"), PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_SFP_SF2, "Intel(R) X520 82599 (Dual SFP+)"), diff --git a/sys/dev/ixgbe/ixgbe_82599.c b/sys/dev/ixgbe/ixgbe_82599.c index 698602080592..7afb440b556d 100644 --- a/sys/dev/ixgbe/ixgbe_82599.c +++ b/sys/dev/ixgbe/ixgbe_82599.c @@ -568,6 +568,9 @@ enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw) case IXGBE_DEV_ID_82599_T3_LOM: media_type = ixgbe_media_type_copper; break; + case IXGBE_DEV_ID_82599_LS: + media_type = ixgbe_media_type_fiber_lco; + break; case IXGBE_DEV_ID_82599_QSFP_SF_QP: media_type = ixgbe_media_type_fiber_qsfp; break; diff --git a/sys/dev/ixgbe/ixgbe_type.h b/sys/dev/ixgbe/ixgbe_type.h index 9fb800560e43..7d39e391855a 100644 --- a/sys/dev/ixgbe/ixgbe_type.h +++ b/sys/dev/ixgbe/ixgbe_type.h @@ -100,6 +100,7 @@ #define IXGBE_DEV_ID_82599_KR 0x1517 #define IXGBE_DEV_ID_82599_COMBO_BACKPLANE 0x10F8 #define IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ 0x000C +#define IXGBE_DEV_ID_82599_LS 0x154F #define IXGBE_DEV_ID_82599_CX4 0x10F9 #define IXGBE_DEV_ID_82599_SFP 0x10FB #define IXGBE_SUBDEV_ID_82599_SFP 0x11A9 @@ -3758,6 +3759,7 @@ enum ixgbe_media_type { ixgbe_media_type_fiber, ixgbe_media_type_fiber_fixed, ixgbe_media_type_fiber_qsfp, + ixgbe_media_type_fiber_lco, ixgbe_media_type_copper, ixgbe_media_type_backplane, ixgbe_media_type_cx4,