Skip to contentSkip to conversation

10GbE Intel Wired LAN Driver Updates 2021-04-13

GIT PULL New Tony Nguyen 2 participants 5 messages Apr 14, 2021

Subsystems (3)
lore
Share & tools
lore

Tony Nguyen

author maintainer
#0 lore raw

This series contains updates to ixgbe and ixgbevf driver.

Jostar Yang adds support for BCM54616s PHY for ixgbe.

Chen Lin removes an unused function pointer for ixgbe and ixgbevf.

Bhaskar Chowdhury fixes a typo in ixgbe.
---
v2:
- Dropped rx_error statistics patch

The following are changes since commit 5871d0c6b8ea805916c3135d0c53b095315bc674:
ionic: return -EFAULT if copy_to_user() fails
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 10GbE

Bhaskar Chowdhury (1):
net: ethernet: intel: Fix a typo in the file ixgbe_dcb_nl.c

Chen Lin (1):
net: intel: Remove unused function pointer typedef ixgbe_mc_addr_itr

Jostar Yang (1):
ixgbe: Support external GBE SerDes PHY BCM54616s

 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c    | 3 +++
 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h   | 5 +----
 drivers/net/ethernet/intel/ixgbevf/vf.h         | 3 ---
 4 files changed, 5 insertions(+), 8 deletions(-)
Signature · 1 line
2.26.2
author maintainer
#1 lore raw

PATCH v2 1/3 ixgbe: Support external GBE SerDes PHY BCM54616s

From: Jostar Yang <[email protected]>

The Broadcom PHY is used in switches, so add the ID, and hook it up.

This upstreams the Linux kernel patch from the network operating system SONiC from February 2020 [1].

[1]: https://github.com/Azure/sonic-linux-kernel/pull/122

---
 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c  | 3 +++
 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 1 +
 2 files changed, 4 insertions(+)
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c +3 -0
index 73bc170d1ae9..24aa97f993ca 100644
@@ -380,6 +380,9 @@ static enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id)
 	case X557_PHY_ID2:
 		phy_type = ixgbe_phy_x550em_ext_t;
 		break;
+	case BCM54616S_E_PHY_ID:
+		phy_type = ixgbe_phy_ext_1g_t;
+		break;
 	default:
 		phy_type = ixgbe_phy_unknown;
 		break;
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h +1 -0
index 2be1c4c72435..4c317b0dbfd4 100644
@@ -1407,6 +1407,7 @@ struct ixgbe_nvm_version {
 #define QT2022_PHY_ID    0x0043A400
 #define ATH_PHY_ID       0x03429050
 #define AQ_FW_REV        0x20
+#define BCM54616S_E_PHY_ID 0x03625D10
 
 /* Special PHY Init Routine */
 #define IXGBE_PHY_INIT_OFFSET_NL 0x002B
Signature · 1 line
2.26.2
author maintainer
#2 lore raw

PATCH v2 2/3 net: intel: Remove unused function pointer typedef ixgbe_mc_addr_itr

In reply to Tony Nguyen

From: Chen Lin <[email protected]>

Remove the 'ixgbe_mc_addr_itr' typedef as it is not used.

---
 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 4 ----
 drivers/net/ethernet/intel/ixgbevf/vf.h       | 3 ---
 2 files changed, 7 deletions(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h +0 -4
index 4c317b0dbfd4..2647937f7f4d 100644
@@ -3384,10 +3384,6 @@ struct ixgbe_hw_stats {
 /* forward declaration */
 struct ixgbe_hw;
 
-/* iterator type for walking multicast address lists */
-typedef u8* (*ixgbe_mc_addr_itr) (struct ixgbe_hw *hw, u8 **mc_addr_ptr,
-				  u32 *vmdq);
-
 /* Function pointer table */
 struct ixgbe_eeprom_operations {
 	s32 (*init_params)(struct ixgbe_hw *);
drivers/net/ethernet/intel/ixgbevf/vf.h +0 -3
index d1e9e306653b..1d8209df4162 100644
@@ -16,9 +16,6 @@
 
 struct ixgbe_hw;
 
-/* iterator type for walking multicast address lists */
-typedef u8* (*ixgbe_mc_addr_itr) (struct ixgbe_hw *hw, u8 **mc_addr_ptr,
-				  u32 *vmdq);
 struct ixgbe_mac_operations {
 	s32 (*init_hw)(struct ixgbe_hw *);
 	s32 (*reset_hw)(struct ixgbe_hw *);
Signature · 1 line
2.26.2
author maintainer
#3 lore raw

PATCH v2 3/3 net: ethernet: intel: Fix a typo in the file ixgbe_dcb_nl.c

In reply to Tony Nguyen

From: Bhaskar Chowdhury <[email protected]>

s/Reprogam/Reprogram/

---
 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c +1 -1
index c00332d2e02a..72e6ebffea33 100644
@@ -361,7 +361,7 @@ static u8 ixgbe_dcbnl_set_all(struct net_device *netdev)
 	}
 
 #ifdef IXGBE_FCOE
-	/* Reprogam FCoE hardware offloads when the traffic class
+	/* Reprogram FCoE hardware offloads when the traffic class
 	 * FCoE is using changes. This happens if the APP info
 	 * changes or the up2tc mapping is updated.
 	 */
Signature · 1 line
2.26.2
#4 lore raw
In reply to Tony Nguyen
This series was applied to netdev/net-next.git (refs/heads/master):

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

Quoted 9 lines · On Tue, 13 Apr 2021 19:17:20 -0700 you wrote:

This series contains updates to ixgbe and ixgbevf driver.

Jostar Yang adds support for BCM54616s PHY for ixgbe.

Chen Lin removes an unused function pointer for ixgbe and ixgbevf.

Bhaskar Chowdhury fixes a typo in ixgbe.

[...]

Here is the summary with links:
- [net-next,v2,1/3] ixgbe: Support external GBE SerDes PHY BCM54616s

    https://git.kernel.org/netdev/net-next/c/47222864c14b
  - [net-next,v2,2/3] net: intel: Remove unused function pointer typedef ixgbe_mc_addr_itr
    https://git.kernel.org/netdev/net-next/c/7eceea90c542

- [net-next,v2,3/3] net: ethernet: intel: Fix a typo in the file ixgbe_dcb_nl.c
https://git.kernel.org/netdev/net-next/c/ce2cb12dccab

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html