From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9C316B3E4 for ; Thu, 25 Sep 2014 16:13:04 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 25 Sep 2014 07:19:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,597,1406617200"; d="scan'208";a="578890798" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 25 Sep 2014 07:19:10 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s8PEJ7hl026971; Thu, 25 Sep 2014 22:19:07 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s8PEJ4Wa009493; Thu, 25 Sep 2014 22:19:06 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s8PEJ4Wc009489; Thu, 25 Sep 2014 22:19:04 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Thu, 25 Sep 2014 22:18:46 +0800 Message-Id: <1411654744-9460-1-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 00/18] Update IXGBE base code X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 14:13:05 -0000 This patch series update IXGBE base code (a.k.a. share code) from package 2014.03.13 to package 2014.09.04, all in all, it includes the following changes: 1. Change comments and fix typo in IXGBE base code. 2. Clean up IXGBE base code. 3. Implement a function to check command complete for flow director in IXGBE base code. 4. Support cloud filter and tunnel in IXGBE base code. 5. Refine function to let eeprom checksum calculation return either a negative error code on error, or the 16-bit checksum in IXGBE base code. 6. Let caller determine if it need read and return data or not after executing host interface command in IXGBE base code. 7. Extend mask from 16 bits to 32 bits for releasing or acquiring SWFW semaphore in IXGBE base code. It is used in reading and writing I2C byte. 8. Implement functions to do I2C byte read and write in IXGBE base code; Relocate function of ixgbe_mng_enabled. 9. Support device id 82599_QSFP and 82599_LS in IXGBE base code. 10. It need wait for 5 ms for polling EEC register in IXGBE X540 base code. 11. Define new error type in IXGBE base code, they are used to report different kinds of error. 12. Use hardware MAC type to determine I2C control, clock in/out, and data in/out in IXGBE base code. 13. Store lan_id and physical semaphore mask into hardware physical information, and use them to control read and write physical registers in IXGBE base code. 14. Remove unnecessary delay when setting up physical link and negotiate in IXGBE base code. 15. Implement a function to reset VF register to initial values in IXGBE base code. 16. Support these functionalities in IXGBE base code: Thermal sensor, DMA coalescing, EEE support, Source address pruning, Anti-spoofing, Iosf buffer reading and writing, Malicious driver detection. 17. Support X550 in IXGBE base code. 18. Support X550 in IXGBE poll mode driver. Changchun Ouyang (18): Update comments and fix some comments typo in IXGBE share code. Clean up IXGBE share code. Implement a function to check command complete for flow director in IXGBE share code. Support cloud mode in IXGBE share code. Refine function to let eeprom checksum calculation return either a negative error code on error, or the 16-bit checksum in IXGBE share code. Let caller determine if it need read and return data or not after executing host interface command in IXGBE share code. Extend mask from 16 bits to 32 bits for releasing or acquiring SWFW semaphore in IXGBE share code. It is used in reading and writing I2C byte. Implement functions to do I2C byte read and write in IXGBE share code; relocate function of ixgbe_mng_enabled. Support device id 82599_QSFP and 82599_LS in IXGBE share code. It need wait for 5 msec for polling EEC register in IXGBE X540 share code. Define new error type in IXGBE share code, they are used to report different kinds of error. Use hardware MAC type to determine I2C control, clock in/out, data in/out in IXGBE share code. Store lan_id and physical semaphore mask into hw->phy, and use them to control read and write physical registers in IXGBE share code. Remove unnecessary delay when setting up physical link and negotiate in IXGBE share code. Implement a function to reset VF register to initial values in IXGBE share code. Support these functionalities in IXGBE share code: Thermal sensor, DMA coalescing, EEE support, Source address pruning, Anti-spoofing, Iosf buffer reading and writing, Malicious driver detection. Support X550 in IXGBE share code. Support X550 in IXGBE poll mode driver. lib/librte_eal/common/include/rte_pci_dev_ids.h | 14 + lib/librte_ether/rte_ethdev.h | 2 +- lib/librte_pmd_ixgbe/Makefile | 2 + lib/librte_pmd_ixgbe/ixgbe/README | 3 +- lib/librte_pmd_ixgbe/ixgbe/ixgbe_82598.c | 2 - lib/librte_pmd_ixgbe/ixgbe/ixgbe_82599.c | 404 +++-- lib/librte_pmd_ixgbe/ixgbe/ixgbe_api.c | 212 ++- lib/librte_pmd_ixgbe/ixgbe/ixgbe_api.h | 24 +- lib/librte_pmd_ixgbe/ixgbe/ixgbe_common.c | 386 ++++- lib/librte_pmd_ixgbe/ixgbe/ixgbe_common.h | 23 +- lib/librte_pmd_ixgbe/ixgbe/ixgbe_dcb.c | 20 + lib/librte_pmd_ixgbe/ixgbe/ixgbe_dcb_82598.c | 2 + lib/librte_pmd_ixgbe/ixgbe/ixgbe_dcb_82599.c | 1 + lib/librte_pmd_ixgbe/ixgbe/ixgbe_mbx.c | 4 + lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h | 12 + lib/librte_pmd_ixgbe/ixgbe/ixgbe_phy.c | 651 ++++++-- lib/librte_pmd_ixgbe/ixgbe/ixgbe_phy.h | 23 +- lib/librte_pmd_ixgbe/ixgbe/ixgbe_type.h | 471 +++++- lib/librte_pmd_ixgbe/ixgbe/ixgbe_vf.c | 61 + lib/librte_pmd_ixgbe/ixgbe/ixgbe_vf.h | 3 + lib/librte_pmd_ixgbe/ixgbe/ixgbe_x540.c | 244 +-- lib/librte_pmd_ixgbe/ixgbe/ixgbe_x540.h | 6 +- lib/librte_pmd_ixgbe/ixgbe/ixgbe_x550.c | 1809 +++++++++++++++++++++++ lib/librte_pmd_ixgbe/ixgbe/ixgbe_x550.h | 88 ++ lib/librte_pmd_ixgbe/ixgbe_bypass_api.h | 9 + lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 11 +- lib/librte_pmd_ixgbe/ixgbe_fdir.c | 35 +- lib/librte_pmd_ixgbe/ixgbe_pf.c | 6 +- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 6 + 29 files changed, 4046 insertions(+), 488 deletions(-) create mode 100644 lib/librte_pmd_ixgbe/ixgbe/ixgbe_x550.c create mode 100644 lib/librte_pmd_ixgbe/ixgbe/ixgbe_x550.h -- 1.8.4.2