From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) by dpdk.org (Postfix) with ESMTP id 6ABC64C93; Tue, 25 Sep 2018 10:16:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=897; q=dns/txt; s=iport; t=1537863414; x=1539073014; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=rzENvLge/UaMjpFpgJvin7uinZs1sCVFtRXYPcZJB5o=; b=WwGOhp9xTZXfBgaQTN76DgQnt5Qiw6/qZOrwZV2oQA1ZZKVJAQQcd/az SvOzL9X+2ZzfzkFbopN9o68LrRFQ598g6ZpjnPUpMDutIasptEYAXjSyD n5eH7TGvLIb/MZC+G3xZGr7fKBKsehbi4XG5htVDFIhJSF5ve+ri7BDox U=; X-IronPort-AV: E=Sophos;i="5.54,301,1534809600"; d="scan'208";a="6721163" Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2018 08:16:53 +0000 Received: from DAMARION-M-M1XC.home (ams-damarion-nitro2.cisco.com [10.55.252.51]) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id w8P8Grvv011643; Tue, 25 Sep 2018 08:16:53 GMT From: Damjan Marion To: beilei.xing@intel.com, qi.z.zhang@intel.com Cc: dev@dpdk.org, Damjan Marion , stable@dpdk.org Date: Tue, 25 Sep 2018 10:16:40 +0200 Message-Id: <20180925081640.30672-1-damarion@cisco.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Outbound-SMTP-Client: 10.55.252.51, ams-damarion-nitro2.cisco.com X-Outbound-Node: aer-core-2.cisco.com Subject: [dpdk-dev] [PATCH] net/i40e: fix 25G AOC and ACC cable detection on XXV710 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: Tue, 25 Sep 2018 08:16:54 -0000 Fixes: 75d133dd3296 ("net/i40e: enable 25G device") Cc: stable@dpdk.org Signed-off-by: Damjan Marion --- drivers/net/i40e/i40e_ethdev.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e/i40e_ethdev.h index 3fffe5a55..b876933e5 100644 --- a/drivers/net/i40e/i40e_ethdev.h +++ b/drivers/net/i40e/i40e_ethdev.h @@ -1393,6 +1393,8 @@ i40e_calc_itr_interval(bool is_pf, bool is_multi_drv) (((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_KR) || \ ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_CR) || \ ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_SR) || \ - ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_LR)) + ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_LR) || \ + ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_AOC) || \ + ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_ACC)) #endif /* _I40E_ETHDEV_H_ */ -- 2.17.1