Hi X552 10G NIC drivers is not enabled in upstream kernel yet due to without adding x552 pciid into supported device id table. With attached patch, netdev interface could be created successfully as below:
[root@localhost linux]# lspci | grep Eth 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V (rev 05) 02:00.0 Ethernet controller: Intel Corporation Ethernet Connection X552 10 GbE SFP+ [root@localhost linux]# lspci -ns 02:00.0 02:00.0 0200: 8086:15ac <-- defined as IXGBE_DEV_ID_X550EM_X_SFP MACRO in driver But without adding into pci id table. [ 1254.061018] ixgbe 0000:02:00.0: complete [ 1258.264924] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 4.0.1-k [ 1258.264926] ixgbe: Copyright (c) 1999-2014 Intel Corporation. [ 1258.264962] In func: ixgbe_probe line:8243 [ 1259.918152] ixgbe 0000:02:00.0: Multiqueue Enabled: Rx Queue count = 16, Tx Queue count = 16 [ 1259.984837] ixgbe 0000:02:00.0: PCI Express bandwidth of 2GT/s available [ 1259.984839] ixgbe 0000:02:00.0: (Speed:2.5GT/s, Width: x1, Encoding Loss:20%) [ 1259.984841] ixgbe 0000:02:00.0: This is not sufficient for optimal performance of this card. [ 1259.984842] ixgbe 0000:02:00.0: For optimal performance, at least 10GT/s of bandwidth is required. [ 1259.984843] ixgbe 0000:02:00.0: A slot with more lanes and/or higher speed is suggested. [ 1260.029276] ixgbe 0000:02:00.0: MAC: 5, PHY: 0, PBA No: 007600-000 [ 1260.029298] ixgbe 0000:02:00.0: 00:1e:67:ac:43:4d [ 1261.253804] ixgbe 0000:02:00.0 enp2s0: renamed from eth0 [ 1261.259797] systemd-udevd[19607]: renamed network interface eth0 to enp2s0 [ 1261.263464] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready [ 1261.273268] ixgbe 0000:02:00.0: Intel(R) 10 Gigabit Network Connection [ 1261.338790] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready [ 1261.341528] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready But Ixgbe driver couldn't recognize SFP module I attached by return IXGBE_ERR_SFP_NOT_PRESENT , it's a AFBR-703SDZ-IN2 850nm LASER PROD, SN: AD1329102DU, a little debug shows it fails with a i2c read errors if I remember correctly. BTW SFP modules works ok with 82599EB NIC, and my custom also spot the identical failure. So may I query: 1. whether x552 NIC is supported by current kernel ixgbe driver after I updated pciid table for it? 2. Any other hints to enable x552 NIC now? 3. Is there any public docs to state which SFP module is supported by x552? Thanks a lot! diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index 70cc4c5..eac98d1 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c @@ -131,6 +131,7 @@ static const struct pci_device_id ixgbe_pci_tbl[] = { {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550T), board_X550}, {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_KX4), board_X550EM_x}, {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_KR), board_X550EM_x}, + {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_SFP), board_X550EM_x}, /* required last entry */ {0, } }; @@ -8378,7 +8379,8 @@ static int ixgbe_probe(struct pci_dev *pdev, const struct pci_device_id *ent) err = hw->mac.ops.reset_hw(hw); hw->phy.reset_if_overtemp = false; if (err == IXGBE_ERR_SFP_NOT_PRESENT && - hw->mac.type == ixgbe_mac_82598EB) { + (hw->mac.type == ixgbe_mac_82598EB || + hw->mac.type == ixgbe_mac_X550EM_x)) { err = 0; } else if (err == IXGBE_ERR_SFP_NOT_SUPPORTED) { e_dev_err("failed to load because an unsupported SFP+ or QSFP module type was detected.\n"); ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired