Skip to content

Commit d78f802

Browse files
committed
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next
Jeff Kirsher says: ==================== Intel Wired LAN Driver Updates 2015-02-05 This series contains updates to fm10k, ixgbe and ixgbevf. Matthew fixes an issue where fm10k does not properly drop the upper-most four bits on of the VLAN ID due to type promotion, so resolve the issue by not masking off the bits, but by throwing an error if the VLAN ID is out-of-bounds. Then cleans up two cases where variables were not being used, but were being set, so just remove the unused variables. Don cleans up sparse errors in the x550 family file for ixgbe. Fixed up a redundant setting of the default value for set_rxpba, which was done twice accidentally. Cleaned up the probe routine to remove a redundant attempt to identify the PHY, which could lead to a panic on x550. Added support for VXLAN receive checksum offload in x550 hardware. Added the Ethertype Anti-spoofing feature for affected devices. Emil enables ixgbe and ixgbevf to allow multiple queues in SRIOV mode. Adds RSS support for x550 per VF. Fixed up a couple of issues introduced in commit 2b509c0 ("ixgbe: cleanup ixgbe_ndo_set_vf_vlan"), fixed setting of the VLAN inside ixgbe_enable_port_vlan() and disable the "hide VLAN" bit in PFQDE when port VLAN is disabled. Cleaned up the setting of vlan_features by enabling all features at once. Fixed the ordering of the shutdown patch so that we attempt to shutdown the rings more gracefully. We shutdown the main Rx filter in the case of Rx and we set the carrier_off state in the case of Tx so that packets stop being delivered from outside the driver. Then we shutdown interrupts and NAPI, then finally stop the rings from performing DMA and clean them. Added code to allow for Tx hang checking to provide more robust debug info in the event of a transmit unit hang in ixgbevf. Cleaned up ixgbevf logic dealing with link up/down by breaking down the link detection and up/down events into separate functions, similar to how these events are handled in other drivers. Combined the ixgbevf reset and watchdog tasks into a single task so that we can avoid multiple schedules of the reset task when we have a reset event needed due to either the mailbox going down or transmit packets being present on a link down. v2: Fixed up patch raspberrypi#3 of the series to remove the variable type change based on feedback from David Laight ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents 57ee062 + 5b7f000 commit d78f802

13 files changed

Lines changed: 584 additions & 219 deletions

File tree

‎drivers/net/ethernet/intel/Kconfig‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,17 @@ config IXGBE
192192
To compile this driver as a module, choose M here. The module
193193
will be called ixgbe.
194194

195+
config IXGBE_VXLAN
196+
bool "Virtual eXtensible Local Area Network Support"
197+
default n
198+
depends on IXGBE && VXLAN && !(IXGBE=y && VXLAN=m)
199+
---help---
200+
This allows one to create VXLAN virtual interfaces that provide
201+
Layer 2 Networks over Layer 3 Networks. VXLAN is often used
202+
to tunnel virtual network infrastructure in virtualized environments.
203+
Say Y here if you want to use Virtual eXtensible Local Area Network
204+
(VXLAN) in the driver.
205+
195206
config IXGBE_HWMON
196207
bool "Intel(R) 10GbE PCI Express adapters HWMON support"
197208
default y

‎drivers/net/ethernet/intel/fm10k/fm10k_mbx.c‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,12 +1194,11 @@ static s32 fm10k_mbx_process_disconnect(struct fm10k_hw *hw,
11941194
{
11951195
const enum fm10k_mbx_state state = mbx->state;
11961196
const u32 *hdr = &mbx->mbx_hdr;
1197-
u16 head, tail;
1197+
u16 head;
11981198
s32 err;
11991199

1200-
/* we will need to pull all of the fields for verification */
1200+
/* we will need to pull the header field for verification */
12011201
head = FM10K_MSG_HDR_FIELD_GET(*hdr, HEAD);
1202-
tail = FM10K_MSG_HDR_FIELD_GET(*hdr, TAIL);
12031202

12041203
/* We should not be receiving disconnect if Rx is incomplete */
12051204
if (mbx->pushed)

‎drivers/net/ethernet/intel/fm10k/fm10k_pf.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,10 @@ static s32 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort,
330330
struct fm10k_mac_update mac_update;
331331
u32 msg[5];
332332

333-
/* if glort is not valid return error */
334-
if (!fm10k_glort_valid_pf(hw, glort))
333+
/* if glort or vlan are not valid return error */
334+
if (!fm10k_glort_valid_pf(hw, glort) || vid >= FM10K_VLAN_TABLE_VID_MAX)
335335
return FM10K_ERR_PARAM;
336336

337-
/* drop upper 4 bits of VLAN ID */
338-
vid = (vid << 4) >> 4;
339-
340337
/* record fields */
341338
mac_update.mac_lower = cpu_to_le32(((u32)mac[2] << 24) |
342339
((u32)mac[3] << 16) |

‎drivers/net/ethernet/intel/fm10k/fm10k_ptp.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,13 @@ void fm10k_ts_tx_enqueue(struct fm10k_intfc *interface, struct sk_buff *skb)
5757
struct sk_buff_head *list = &interface->ts_tx_skb_queue;
5858
struct sk_buff *clone;
5959
unsigned long flags;
60-
__le16 dglort;
6160

6261
/* create clone for us to return on the Tx path */
6362
clone = skb_clone_sk(skb);
6463
if (!clone)
6564
return;
6665

6766
FM10K_CB(clone)->ts_tx_timeout = jiffies + FM10K_TS_TX_TIMEOUT;
68-
dglort = FM10K_CB(clone)->fi.w.dglort;
69-
7067
spin_lock_irqsave(&list->lock, flags);
7168

7269
/* attempt to locate any buffers with the same dglort,

‎drivers/net/ethernet/intel/ixgbe/ixgbe.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676
#define IXGBE_MAX_RXD 4096
7777
#define IXGBE_MIN_RXD 64
7878

79+
#define IXGBE_ETH_P_LLDP 0x88CC
80+
7981
/* flow control */
8082
#define IXGBE_MIN_FCRTL 0x40
8183
#define IXGBE_MAX_FCRTL 0x7FF80
@@ -753,6 +755,7 @@ struct ixgbe_adapter {
753755
u32 timer_event_accumulator;
754756
u32 vferr_refcount;
755757
struct ixgbe_mac_addr *mac_table;
758+
u16 vxlan_port;
756759
struct kobject *info_kobj;
757760
#ifdef CONFIG_IXGBE_HWMON
758761
struct hwmon_buff *ixgbe_hwmon_buff;

‎drivers/net/ethernet/intel/ixgbe/ixgbe_main.c‎

Lines changed: 110 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
#include <linux/if_bridge.h>
5151
#include <linux/prefetch.h>
5252
#include <scsi/fc/fc_fcoe.h>
53+
#include <net/vxlan.h>
5354

5455
#ifdef CONFIG_OF
5556
#include <linux/of_net.h>
@@ -1396,12 +1397,23 @@ static inline void ixgbe_rx_checksum(struct ixgbe_ring *ring,
13961397
union ixgbe_adv_rx_desc *rx_desc,
13971398
struct sk_buff *skb)
13981399
{
1400+
__le16 pkt_info = rx_desc->wb.lower.lo_dword.hs_rss.pkt_info;
1401+
__le16 hdr_info = rx_desc->wb.lower.lo_dword.hs_rss.hdr_info;
1402+
bool encap_pkt = false;
1403+
13991404
skb_checksum_none_assert(skb);
14001405

14011406
/* Rx csum disabled */
14021407
if (!(ring->netdev->features & NETIF_F_RXCSUM))
14031408
return;
14041409

1410+
if ((pkt_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_VXLAN)) &&
1411+
(hdr_info & cpu_to_le16(IXGBE_RXDADV_PKTTYPE_TUNNEL >> 16))) {
1412+
encap_pkt = true;
1413+
skb->encapsulation = 1;
1414+
skb->ip_summed = CHECKSUM_NONE;
1415+
}
1416+
14051417
/* if IP and error */
14061418
if (ixgbe_test_staterr(rx_desc, IXGBE_RXD_STAT_IPCS) &&
14071419
ixgbe_test_staterr(rx_desc, IXGBE_RXDADV_ERR_IPE)) {
@@ -1413,8 +1425,6 @@ static inline void ixgbe_rx_checksum(struct ixgbe_ring *ring,
14131425
return;
14141426

14151427
if (ixgbe_test_staterr(rx_desc, IXGBE_RXDADV_ERR_TCPE)) {
1416-
__le16 pkt_info = rx_desc->wb.lower.lo_dword.hs_rss.pkt_info;
1417-
14181428
/*
14191429
* 82599 errata, UDP frames with a 0 checksum can be marked as
14201430
* checksum errors.
@@ -1429,6 +1439,17 @@ static inline void ixgbe_rx_checksum(struct ixgbe_ring *ring,
14291439

14301440
/* It must be a TCP or UDP packet with a valid checksum */
14311441
skb->ip_summed = CHECKSUM_UNNECESSARY;
1442+
if (encap_pkt) {
1443+
if (!ixgbe_test_staterr(rx_desc, IXGBE_RXD_STAT_OUTERIPCS))
1444+
return;
1445+
1446+
if (ixgbe_test_staterr(rx_desc, IXGBE_RXDADV_ERR_OUTERIPER)) {
1447+
ring->rx_stats.csum_err++;
1448+
return;
1449+
}
1450+
/* If we checked the outer header let the stack know */
1451+
skb->csum_level = 1;
1452+
}
14321453
}
14331454

14341455
static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring,
@@ -3564,10 +3585,24 @@ static void ixgbe_configure_virtualization(struct ixgbe_adapter *adapter)
35643585
/* Enable MAC Anti-Spoofing */
35653586
hw->mac.ops.set_mac_anti_spoofing(hw, (adapter->num_vfs != 0),
35663587
adapter->num_vfs);
3588+
3589+
/* Ensure LLDP is set for Ethertype Antispoofing if we will be
3590+
* calling set_ethertype_anti_spoofing for each VF in loop below
3591+
*/
3592+
if (hw->mac.ops.set_ethertype_anti_spoofing)
3593+
IXGBE_WRITE_REG(hw, IXGBE_ETQF(IXGBE_ETQF_FILTER_LLDP),
3594+
(IXGBE_ETQF_FILTER_EN | /* enable filter */
3595+
IXGBE_ETQF_TX_ANTISPOOF | /* tx antispoof */
3596+
IXGBE_ETH_P_LLDP)); /* LLDP eth type */
3597+
35673598
/* For VFs that have spoof checking turned off */
35683599
for (i = 0; i < adapter->num_vfs; i++) {
35693600
if (!adapter->vfinfo[i].spoofchk_enabled)
35703601
ixgbe_ndo_set_vf_spoofchk(adapter->netdev, i, false);
3602+
3603+
/* enable ethertype anti spoofing if hw supports it */
3604+
if (hw->mac.ops.set_ethertype_anti_spoofing)
3605+
hw->mac.ops.set_ethertype_anti_spoofing(hw, true, i);
35713606
}
35723607
}
35733608

@@ -5627,6 +5662,10 @@ static int ixgbe_open(struct net_device *netdev)
56275662

56285663
ixgbe_up_complete(adapter);
56295664

5665+
#if IS_ENABLED(CONFIG_IXGBE_VXLAN)
5666+
vxlan_get_rx_port(netdev);
5667+
5668+
#endif
56305669
return 0;
56315670

56325671
err_set_queues:
@@ -7771,6 +7810,64 @@ static int ixgbe_set_features(struct net_device *netdev,
77717810
return 0;
77727811
}
77737812

7813+
/**
7814+
* ixgbe_add_vxlan_port - Get notifications about VXLAN ports that come up
7815+
* @dev: The port's netdev
7816+
* @sa_family: Socket Family that VXLAN is notifiying us about
7817+
* @port: New UDP port number that VXLAN started listening to
7818+
**/
7819+
static void ixgbe_add_vxlan_port(struct net_device *dev, sa_family_t sa_family,
7820+
__be16 port)
7821+
{
7822+
struct ixgbe_adapter *adapter = netdev_priv(dev);
7823+
struct ixgbe_hw *hw = &adapter->hw;
7824+
u16 new_port = ntohs(port);
7825+
7826+
if (sa_family == AF_INET6)
7827+
return;
7828+
7829+
if (adapter->vxlan_port == new_port) {
7830+
netdev_info(dev, "Port %d already offloaded\n", new_port);
7831+
return;
7832+
}
7833+
7834+
if (adapter->vxlan_port) {
7835+
netdev_info(dev,
7836+
"Hit Max num of UDP ports, not adding port %d\n",
7837+
new_port);
7838+
return;
7839+
}
7840+
7841+
adapter->vxlan_port = new_port;
7842+
IXGBE_WRITE_REG(hw, IXGBE_VXLANCTRL, new_port);
7843+
}
7844+
7845+
/**
7846+
* ixgbe_del_vxlan_port - Get notifications about VXLAN ports that go away
7847+
* @dev: The port's netdev
7848+
* @sa_family: Socket Family that VXLAN is notifying us about
7849+
* @port: UDP port number that VXLAN stopped listening to
7850+
**/
7851+
static void ixgbe_del_vxlan_port(struct net_device *dev, sa_family_t sa_family,
7852+
__be16 port)
7853+
{
7854+
struct ixgbe_adapter *adapter = netdev_priv(dev);
7855+
struct ixgbe_hw *hw = &adapter->hw;
7856+
u16 new_port = ntohs(port);
7857+
7858+
if (sa_family == AF_INET6)
7859+
return;
7860+
7861+
if (adapter->vxlan_port != new_port) {
7862+
netdev_info(dev, "Port %d was not found, not deleting\n",
7863+
new_port);
7864+
return;
7865+
}
7866+
7867+
adapter->vxlan_port = 0;
7868+
IXGBE_WRITE_REG(hw, IXGBE_VXLANCTRL, 0);
7869+
}
7870+
77747871
static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
77757872
struct net_device *dev,
77767873
const unsigned char *addr, u16 vid,
@@ -7982,6 +8079,8 @@ static const struct net_device_ops ixgbe_netdev_ops = {
79828079
.ndo_bridge_getlink = ixgbe_ndo_bridge_getlink,
79838080
.ndo_dfwd_add_station = ixgbe_fwd_add,
79848081
.ndo_dfwd_del_station = ixgbe_fwd_del,
8082+
.ndo_add_vxlan_port = ixgbe_add_vxlan_port,
8083+
.ndo_del_vxlan_port = ixgbe_del_vxlan_port,
79858084
};
79868085

79878086
/**
@@ -8339,6 +8438,15 @@ static int ixgbe_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
83398438
netdev->priv_flags |= IFF_UNICAST_FLT;
83408439
netdev->priv_flags |= IFF_SUPP_NOFCS;
83418440

8441+
switch (adapter->hw.mac.type) {
8442+
case ixgbe_mac_X550:
8443+
case ixgbe_mac_X550EM_x:
8444+
netdev->hw_enc_features |= NETIF_F_RXCSUM;
8445+
break;
8446+
default:
8447+
break;
8448+
}
8449+
83428450
#ifdef CONFIG_IXGBE_DCB
83438451
netdev->dcbnl_ops = &dcbnl_ops;
83448452
#endif

‎drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ static int __ixgbe_enable_sriov(struct ixgbe_adapter *adapter)
101101
adapter->dcb_cfg.num_tcs.pfc_tcs = 1;
102102
}
103103

104-
/* We do not support RSS w/ SR-IOV */
105-
adapter->ring_feature[RING_F_RSS].limit = 1;
106-
107104
/* Disable RSC when in SR-IOV mode */
108105
adapter->flags2 &= ~(IXGBE_FLAG2_RSC_CAPABLE |
109106
IXGBE_FLAG2_RSC_ENABLED);
@@ -1097,14 +1094,12 @@ static int ixgbe_enable_port_vlan(struct ixgbe_adapter *adapter, int vf,
10971094
u16 vlan, u8 qos)
10981095
{
10991096
struct ixgbe_hw *hw = &adapter->hw;
1100-
int err = 0;
1097+
int err;
11011098

1102-
if (adapter->vfinfo[vf].pf_vlan)
1103-
err = ixgbe_set_vf_vlan(adapter, false,
1104-
adapter->vfinfo[vf].pf_vlan,
1105-
vf);
1099+
err = ixgbe_set_vf_vlan(adapter, true, vlan, vf);
11061100
if (err)
11071101
goto out;
1102+
11081103
ixgbe_set_vmvir(adapter, vlan, qos, vf);
11091104
ixgbe_set_vmolr(hw, vf, false);
11101105
if (adapter->vfinfo[vf].spoofchk_enabled)
@@ -1143,6 +1138,11 @@ static int ixgbe_disable_port_vlan(struct ixgbe_adapter *adapter, int vf)
11431138
hw->mac.ops.set_vlan_anti_spoofing(hw, false, vf);
11441139
if (adapter->vfinfo[vf].vlan_count)
11451140
adapter->vfinfo[vf].vlan_count--;
1141+
1142+
/* disable hide VLAN on X550 */
1143+
if (hw->mac.type >= ixgbe_mac_X550)
1144+
ixgbe_write_qde(adapter, vf, IXGBE_QDE_ENABLE);
1145+
11461146
adapter->vfinfo[vf].pf_vlan = 0;
11471147
adapter->vfinfo[vf].pf_qos = 0;
11481148

‎drivers/net/ethernet/intel/ixgbe/ixgbe_type.h‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ struct ixgbe_thermal_sensor_data {
378378
#define IXGBE_SPOOF_MACAS_MASK 0xFF
379379
#define IXGBE_SPOOF_VLANAS_MASK 0xFF00
380380
#define IXGBE_SPOOF_VLANAS_SHIFT 8
381+
#define IXGBE_SPOOF_ETHERTYPEAS 0xFF000000
382+
#define IXGBE_SPOOF_ETHERTYPEAS_SHIFT 16
381383
#define IXGBE_PFVFSPOOF_REG_COUNT 8
382384

383385
#define IXGBE_DCA_TXCTRL(_i) (0x07200 + ((_i) * 4)) /* 16 of these (0-15) */
@@ -399,6 +401,7 @@ struct ixgbe_thermal_sensor_data {
399401

400402
#define IXGBE_WUPL 0x05900
401403
#define IXGBE_WUPM 0x05A00 /* wake up pkt memory 0x5A00-0x5A7C */
404+
#define IXGBE_VXLANCTRL 0x0000507C /* Rx filter VXLAN UDPPORT Register */
402405
#define IXGBE_FHFT(_n) (0x09000 + ((_n) * 0x100)) /* Flex host filter table */
403406
#define IXGBE_FHFT_EXT(_n) (0x09800 + ((_n) * 0x100)) /* Ext Flexible Host
404407
* Filter Table */
@@ -1540,6 +1543,7 @@ enum {
15401543
#define IXGBE_MAX_ETQF_FILTERS 8
15411544
#define IXGBE_ETQF_FCOE 0x08000000 /* bit 27 */
15421545
#define IXGBE_ETQF_BCN 0x10000000 /* bit 28 */
1546+
#define IXGBE_ETQF_TX_ANTISPOOF 0x20000000 /* bit 29 */
15431547
#define IXGBE_ETQF_1588 0x40000000 /* bit 30 */
15441548
#define IXGBE_ETQF_FILTER_EN 0x80000000 /* bit 31 */
15451549
#define IXGBE_ETQF_POOL_ENABLE (1 << 26) /* bit 26 */
@@ -1565,6 +1569,9 @@ enum {
15651569
#define IXGBE_ETQF_FILTER_FCOE 2
15661570
#define IXGBE_ETQF_FILTER_1588 3
15671571
#define IXGBE_ETQF_FILTER_FIP 4
1572+
#define IXGBE_ETQF_FILTER_LLDP 5
1573+
#define IXGBE_ETQF_FILTER_LACP 6
1574+
15681575
/* VLAN Control Bit Masks */
15691576
#define IXGBE_VLNCTRL_VET 0x0000FFFF /* bits 0-15 */
15701577
#define IXGBE_VLNCTRL_CFI 0x10000000 /* bit 28 */
@@ -2122,6 +2129,7 @@ enum {
21222129
#define IXGBE_RXD_STAT_IPCS 0x40 /* IP xsum calculated */
21232130
#define IXGBE_RXD_STAT_PIF 0x80 /* passed in-exact filter */
21242131
#define IXGBE_RXD_STAT_CRCV 0x100 /* Speculative CRC Valid */
2132+
#define IXGBE_RXD_STAT_OUTERIPCS 0x100 /* Cloud IP xsum calculated */
21252133
#define IXGBE_RXD_STAT_VEXT 0x200 /* 1st VLAN found */
21262134
#define IXGBE_RXD_STAT_UDPV 0x400 /* Valid UDP checksum */
21272135
#define IXGBE_RXD_STAT_DYNINT 0x800 /* Pkt caused INT via DYNINT */
@@ -2139,6 +2147,7 @@ enum {
21392147
#define IXGBE_RXD_ERR_IPE 0x80 /* IP Checksum Error */
21402148
#define IXGBE_RXDADV_ERR_MASK 0xfff00000 /* RDESC.ERRORS mask */
21412149
#define IXGBE_RXDADV_ERR_SHIFT 20 /* RDESC.ERRORS shift */
2150+
#define IXGBE_RXDADV_ERR_OUTERIPER 0x04000000 /* CRC IP Header error */
21422151
#define IXGBE_RXDADV_ERR_FCEOFE 0x80000000 /* FCoEFe/IPE */
21432152
#define IXGBE_RXDADV_ERR_FCERR 0x00700000 /* FCERR/FDIRERR */
21442153
#define IXGBE_RXDADV_ERR_FDIR_LEN 0x00100000 /* FDIR Length error */
@@ -2227,6 +2236,8 @@ enum {
22272236
#define IXGBE_RXDADV_PKTTYPE_UDP 0x00000200 /* UDP hdr present */
22282237
#define IXGBE_RXDADV_PKTTYPE_SCTP 0x00000400 /* SCTP hdr present */
22292238
#define IXGBE_RXDADV_PKTTYPE_NFS 0x00000800 /* NFS hdr present */
2239+
#define IXGBE_RXDADV_PKTTYPE_VXLAN 0x00000800 /* VXLAN hdr present */
2240+
#define IXGBE_RXDADV_PKTTYPE_TUNNEL 0x00010000 /* Tunnel type */
22302241
#define IXGBE_RXDADV_PKTTYPE_IPSEC_ESP 0x00001000 /* IPSec ESP */
22312242
#define IXGBE_RXDADV_PKTTYPE_IPSEC_AH 0x00002000 /* IPSec AH */
22322243
#define IXGBE_RXDADV_PKTTYPE_LINKSEC 0x00004000 /* LinkSec Encap */
@@ -3056,6 +3067,7 @@ struct ixgbe_mac_operations {
30563067
s32 (*set_fw_drv_ver)(struct ixgbe_hw *, u8, u8, u8, u8);
30573068
s32 (*get_thermal_sensor_data)(struct ixgbe_hw *);
30583069
s32 (*init_thermal_sensor_thresh)(struct ixgbe_hw *hw);
3070+
void (*set_ethertype_anti_spoofing)(struct ixgbe_hw *, bool, int);
30593071

30603072
/* DMA Coalescing */
30613073
s32 (*dmac_config)(struct ixgbe_hw *hw);

‎drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ s32 ixgbe_get_invariants_X540(struct ixgbe_hw *hw)
5555
{
5656
struct ixgbe_mac_info *mac = &hw->mac;
5757

58-
/* Call PHY identify routine to get the phy type */
59-
ixgbe_identify_phy_generic(hw);
60-
6158
mac->mcft_size = IXGBE_X540_MC_TBL_SIZE;
6259
mac->vft_size = IXGBE_X540_VFT_TBL_SIZE;
6360
mac->num_rar_entries = IXGBE_X540_RAR_ENTRIES;

0 commit comments

Comments
 (0)