==> 0001-be2net-don-t-call-vid_config-when-there-s-no-vlan-co.patch <== From 1d1e9a467c7a478d24a1af39e467a414a8363661 Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Tue, 5 Jun 2012 19:37:17 +0000 Subject: [PATCH 01/70] be2net: don't call vid_config() when there's no vlan config be_vid_config() is called from be_setup() to replay config cmds after a card reset. Skip calling it when no vlans are configured. Signed-off-by: Sathya Perla ==> 0002-be2net-cleanup-be_vid_config.patch <== From 10329df8f9b90e27ef63d89f9d58fed8d466f943 Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Tue, 5 Jun 2012 19:37:18 +0000 Subject: [PATCH 02/70] be2net: cleanup be_vid_config() - get rid of 2 unused arguments to the routine and some unused code - don't use the term "vlan_tag" in place of "vid" as they are different Signed-off-by: Sathya Perla Signed-off-by: David S. Miller ==> 0003-be2net-do-not-modify-PCI-MaxReadReq-size.patch <== From 0513ac3d2212072c6694430b1003ad4246a35466 Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Tue, 5 Jun 2012 19:37:19 +0000 Subject: [PATCH 03/70] be2net: do not modify PCI MaxReadReq size Setting the PCI MRRS to a value of 4096 (overriding the system decided value) had provided perf improvement in TX. But, IBM has provided feedback that on POWER platforms, this value is set by the system firmware, and drivers modifying this value can cause unpredictable results (like EEH errors.) So, backing off this change. ==> 0004-be2net-fix-reporting-number-of-actual-rx-queues.patch <== From 7f6400626631454f5b535eb92c09a35390777a52 Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Tue, 5 Jun 2012 19:37:20 +0000 Subject: [PATCH 04/70] be2net: fix reporting number of actual rx queues Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- drivers/net/ethernet/emulex/benet/be_main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ==> 0006-be2net-do-not-use-SCRATCHPAD-register.patch <== From d79c0a207aa3be002e1d9473ea98cc4f838e5a8b Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Tue, 5 Jun 2012 19:37:22 +0000 Subject: [PATCH 06/70] be2net: do not use SCRATCHPAD register The CUST_SCRATCHPAD_CSR register is used for marking if FW cleanup is needed. This is used in a crash kernel scenario. Do no use this register as it is not available for some functions. Instead, always issue an FLR when a function is probed *except* when VFs are preset (enabled in the previous PF load). ==> 0008-be2net-Fix-driver-load-for-VFs-for-Lancer.patch <== From 1578e7778fa04eb7e32da561effee6cd38139b0f Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Thu, 7 Jun 2012 04:37:08 +0000 Subject: [PATCH 08/70] be2net: Fix driver load for VFs for Lancer Permanent MAC is wrongly supplied in create iface command. Call the command with no MAC address and then MAC address should be later queried and applied. Signed-off-by: Padmanabh Ratnakar ==> 0013-be2net-Explicitly-clear-the-reserved-field-in-the-Tx.patch <== From 89b1f496d2b659eaaac5a8d80b801661ab03854f Mon Sep 17 00:00:00 2001 From: Somnath Kotur Date: Sun, 24 Jun 2012 19:40:55 +0000 Subject: [PATCH 13/70] be2net: Explicitly clear the reserved field in the Tx Descriptor Signed-off-by: Somnath Kotur Signed-off-by: David S. Miller --- drivers/net/ethernet/emulex/benet/be_main.c | 1 + ==> 0014-be2net-Regression-bug-wherein-VFs-creation-broken-fo.patch <== From 7665de15642dfb1709177517aa0488162727342c Mon Sep 17 00:00:00 2001 From: Somnath Kotur Date: Sun, 24 Jun 2012 19:42:00 +0000 Subject: [PATCH 14/70] be2net: Regression bug wherein VFs creation broken for multiple cards. Fix be_find_vfs() to check for matching bus number as well along with devfn Signed-off-by: Somnath Kotur Signed-off-by: David S. Miller ==> 0015-be2net-Fix-to-trim-skb-for-padded-vlan-packets-to-wo.patch <== From 93040ae5cc8dcc893eca4a4366dc8415af278edf Mon Sep 17 00:00:00 2001 From: Somnath Kotur Date: Tue, 26 Jun 2012 22:32:10 +0000 Subject: [PATCH 15/70] be2net: Fix to trim skb for padded vlan packets to workaround an ASIC Bug Fixed spelling error in a comment as pointed out by DaveM. Also refactored existing code a bit to provide placeholders for another ASIC Bug workaround that will be checked-in soon after this. ==> 0017-be2net-Fix-Endian.patch <== From e8efcec5394cbf7ae67ccb137cb1a45ae3e6f6c8 Mon Sep 17 00:00:00 2001 From: Li RongQing Date: Wed, 4 Jul 2012 16:05:42 +0000 Subject: [PATCH 17/70] be2net: Fix Endian ETH_P_IP is host Endian, skb->protocol is big Endian, when compare them, we should change ETH_P_IP from host endian to big endian, htons, not ntohs. CC: Somnath Kotur ==> 0018-be2net-Fix-error-while-toggling-autoneg-of-pause-par.patch <== From c871c5f29315aaf27acf6ceed7a69f9069049639 Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Thu, 12 Jul 2012 03:56:11 +0000 Subject: [PATCH 18/70] be2net: Fix error while toggling autoneg of pause parameters Autonegotiation of pause parameters is possible only on some PHYs. Ability of autoneg of pause parameters is reported by adapter. Autoneg of pause parameters cannot be changed from driver. Fix driver to give error when autoneg mode is toggled by user. ==> 0019-be2net-Fix-die-temperature-stat-for-Lancer.patch <== From 7aeb21564332bcf0dacc198e4f795e8e5e347126 Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Thu, 12 Jul 2012 03:56:46 +0000 Subject: [PATCH 19/70] be2net : Fix die temperature stat for Lancer Query die temperature stat for Lancer to report it correctly in ethtool. Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller ==> 0020-be2net-Fix-initialization-sequence-for-Lancer.patch <== From bf99e50dc2ec49fc1256f9499987699a3f7f158b Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Thu, 12 Jul 2012 03:56:58 +0000 Subject: [PATCH 20/70] be2net: Fix initialization sequence for Lancer Invoke only required initialization routines for Lancer. Remove invocation of unnecessary routines. Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller ==> 0021-be2net-Activate-new-FW-after-FW-download-for-Lancer.patch <== From f67ef7bae8dd025086fdf8186958865bceb44595 Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Thu, 12 Jul 2012 03:57:09 +0000 Subject: [PATCH 21/70] be2net: Activate new FW after FW download for Lancer After FW download, activate new FW by invoking FW reset. Recreate rings once new FW is operational. Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller ==> 0022-be2net-Fix-cleanup-path-when-EQ-creation-fails.patch <== From 19d59aa762f803d8663a2cdfb3f0c620f8e9512f Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Thu, 12 Jul 2012 03:57:21 +0000 Subject: [PATCH 22/70] be2net: Fix cleanup path when EQ creation fails Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller --- drivers/net/ethernet/emulex/benet/be_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ==> 0024-be2net-Enable-RSS-UDP-hashing-for-Lancer-and-Skyhawk.patch <== From d3bd3a5eeb087bf6a06e9bdfc589096608f933a0 Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Thu, 12 Jul 2012 03:57:47 +0000 Subject: [PATCH 24/70] be2net: Enable RSS UDP hashing for Lancer and Skyhawk Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller --- drivers/net/ethernet/emulex/benet/be.h | 3 +++ drivers/net/ethernet/emulex/benet/be_cmds.c | 7 +++++++ ==> 0027-be2net-dont-pull-too-much-data-in-skb-linear-part.patch <== From ac1ae5f33fd225f46da0072e2091962410a0431b Mon Sep 17 00:00:00 2001 From: Eric Dumazet Date: Fri, 13 Jul 2012 03:19:41 +0000 Subject: [PATCH 27/70] be2net: dont pull too much data in skb linear part skb_fill_rx_data() pulls 64 byte of data in skb->data Its too much for TCP (with no options) on IPv4, as total size of headers is 14 + 40 = 54 ==> 0028-be2net-Fix-VF-driver-load-for-Lancer.patch <== From 0b13fb458fe6d244baaa701049c9a51105224820 Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Wed, 18 Jul 2012 02:51:58 +0000 Subject: [PATCH 28/70] be2net: Fix VF driver load for Lancer Lancer FW has added new capability checks for VFs. Driver should only use those capabilities which are allowed for VFs. Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller ==> 0029-be2net-Ignore-physical-link-async-event-for-Lancer.patch <== From 2e177a5c6cc52d8a422c69ba87b8a7e00ecb6eac Mon Sep 17 00:00:00 2001 From: Padmanabh Ratnakar Date: Wed, 18 Jul 2012 02:52:15 +0000 Subject: [PATCH 29/70] be2net: Ignore physical link async event for Lancer The ability of driver to transmit packets depends on logical state of the link. Ignore physical link status. Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller ==> 0031-be2net-Fix-to-parse-RSS-hash-from-Receive-completion.patch <== From c297977ec18deb36b2c0a5ee57101f7ab736ec00 Mon Sep 17 00:00:00 2001 From: Sarveshwar Bandi Date: Wed, 25 Jul 2012 21:29:50 +0000 Subject: [PATCH 31/70] be2net: Fix to parse RSS hash from Receive completions correctly. Wrong pointer variable is being used to parse the rss hash from receive completions leading to corrupted rss_hash values filled into skb. Signed-off-by: Sarveshwar Bandi ==> 0033-netpoll-revert-6bdb7fe3104-and-fix-be_poll-instead.patch <== From 072a9c48600409d72aeb0d5b29fbb75861a06631 Mon Sep 17 00:00:00 2001 From: Amerigo Wang Date: Fri, 24 Aug 2012 21:41:11 +0000 Subject: [PATCH 33/70] netpoll: revert 6bdb7fe3104 and fix be_poll() instead Against -net. In the patch "netpoll: re-enable irq in poll_napi()", I tried to fix the following warning: ==> 0034-be2net-create-RSS-rings-even-in-multi-channel-config.patch <== From 4cbdaf6d520b6bd9a1565525e5ad1967cb74e191 Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Tue, 28 Aug 2012 20:37:40 +0000 Subject: [PATCH 34/70] be2net: create RSS rings even in multi-channel configs Changes from commit df505e were incorrectly over-written by commit 10ef9ab. Fixing the same. Change log of the original fix: Currently RSS rings are not created in a multi-channel config. ==> 0035-be2net-fix-max-VFs-reported-by-HW.patch <== From 7c5a524221dc3cf599a6aa4773eb0c1e2ca38adb Mon Sep 17 00:00:00 2001 From: Vasundhara Volam Date: Tue, 28 Aug 2012 20:37:41 +0000 Subject: [PATCH 35/70] be2net: fix max VFs reported by HW BE3 FW allocates VF resources for upto 30 VFs per PF while a max value of 32 may be reported via PCI config space. Fix this in the driver. Signed-off-by: Vasundhara Volam Signed-off-by: Sathya Perla ==> 0036-be2net-fix-FW-default-for-VF-tx-rate.patch <== From 8a046d3bfd5126b724a5352a757310229d4d3ff3 Mon Sep 17 00:00:00 2001 From: Vasundhara Volam Date: Tue, 28 Aug 2012 20:37:42 +0000 Subject: [PATCH 36/70] be2net: fix FW default for VF tx-rate BE3 FW initializes VF tx-rate to 100Mbps. Fix this to 10Gbps. Signed-off-by: Vasundhara Volam Signed-off-by: Sathya Perla Signed-off-by: David S. Miller ==> 0037-be2net-fixup-malloc-free-of-adapter-pmac_id.patch <== From cc7d723adb7778e4eff8956f2d137c0729b9a81e Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Tue, 28 Aug 2012 20:37:43 +0000 Subject: [PATCH 37/70] be2net: fixup malloc/free of adapter->pmac_id Free was missing and kcalloc() is better placed in be_ctrl_init() Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- ==> 0044-be2net-fix-wrong-handling-of-be_setup-failure-in-be_.patch <== From 55f5c3c55b5a682c4bb37628979c5909f9de7b30 Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Fri, 28 Sep 2012 04:39:42 +0000 Subject: [PATCH 44/70] be2net: fix wrong handling of be_setup() failure in be_probe() Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- drivers/net/ethernet/emulex/benet/be_main.c | 4 +--- ==> 0045-be2net-cleanup-code-related-to-be_link_status_query.patch <== From 323ff71e566994f77761e221361de5b4a52a612f Mon Sep 17 00:00:00 2001 From: Sathya Perla Date: Fri, 28 Sep 2012 04:39:43 +0000 Subject: [PATCH 45/70] be2net: cleanup code related to be_link_status_query() 1) link_status_query() is always called to query the link-speed (speed after applying qos). When there is no qos setting, link-speed is derived from port-speed. Do all this inside this routine and hide this from the callers. 2) adpater->phy.forced_port_speed is not being set anywhere after being ==> 0047-be2net-fix-vfs-enumeration.patch <== From 2f6a02604e962295569749913081365ec9ec1372 Mon Sep 17 00:00:00 2001 From: Ivan Vecera Date: Mon, 1 Oct 2012 01:56:55 +0000 Subject: [PATCH 47/70] be2net: fix vfs enumeration Current VFs enumeration algorithm used in be_find_vfs does not take domain number into the match. The match found in igb/ixgbe is more elegant and safe. This 2nd version uses pci_physfn instead of checking dev->physfn directly. ==> 0048-be2net-Remove-code-that-stops-further-access-to-BE-N.patch <== From 1451ae6ef8bff77007338b2870bb3de2658afff8 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Mon, 8 Oct 2012 18:18:21 +0000 Subject: [PATCH 48/70] be2net: Remove code that stops further access to BE NIC based on UE bits On certain platforms, BE hardware could falsely indicate UE. For BE family of NICs, do not set hw_error based on the UE bits. If there was a real fatal error, the corresponding h/w block will automatically go offline and stop traffic.