Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/jkirsher/net-next-2.6
This commit is contained in:
commit
534eacb5d4
7 changed files with 101 additions and 97 deletions
|
@ -593,7 +593,6 @@ struct nic {
|
||||||
enum phy phy;
|
enum phy phy;
|
||||||
struct params params;
|
struct params params;
|
||||||
struct timer_list watchdog;
|
struct timer_list watchdog;
|
||||||
struct timer_list blink_timer;
|
|
||||||
struct mii_if_info mii;
|
struct mii_if_info mii;
|
||||||
struct work_struct tx_timeout_task;
|
struct work_struct tx_timeout_task;
|
||||||
enum loopback loopback;
|
enum loopback loopback;
|
||||||
|
@ -618,7 +617,6 @@ struct nic {
|
||||||
u32 rx_tco_frames;
|
u32 rx_tco_frames;
|
||||||
u32 rx_over_length_errors;
|
u32 rx_over_length_errors;
|
||||||
|
|
||||||
u16 leds;
|
|
||||||
u16 eeprom_wc;
|
u16 eeprom_wc;
|
||||||
__le16 eeprom[256];
|
__le16 eeprom[256];
|
||||||
spinlock_t mdio_lock;
|
spinlock_t mdio_lock;
|
||||||
|
@ -2353,30 +2351,6 @@ err_clean_rx:
|
||||||
#define E100_82552_LED_OVERRIDE 0x19
|
#define E100_82552_LED_OVERRIDE 0x19
|
||||||
#define E100_82552_LED_ON 0x000F /* LEDTX and LED_RX both on */
|
#define E100_82552_LED_ON 0x000F /* LEDTX and LED_RX both on */
|
||||||
#define E100_82552_LED_OFF 0x000A /* LEDTX and LED_RX both off */
|
#define E100_82552_LED_OFF 0x000A /* LEDTX and LED_RX both off */
|
||||||
static void e100_blink_led(unsigned long data)
|
|
||||||
{
|
|
||||||
struct nic *nic = (struct nic *)data;
|
|
||||||
enum led_state {
|
|
||||||
led_on = 0x01,
|
|
||||||
led_off = 0x04,
|
|
||||||
led_on_559 = 0x05,
|
|
||||||
led_on_557 = 0x07,
|
|
||||||
};
|
|
||||||
u16 led_reg = MII_LED_CONTROL;
|
|
||||||
|
|
||||||
if (nic->phy == phy_82552_v) {
|
|
||||||
led_reg = E100_82552_LED_OVERRIDE;
|
|
||||||
|
|
||||||
nic->leds = (nic->leds == E100_82552_LED_ON) ?
|
|
||||||
E100_82552_LED_OFF : E100_82552_LED_ON;
|
|
||||||
} else {
|
|
||||||
nic->leds = (nic->leds & led_on) ? led_off :
|
|
||||||
(nic->mac < mac_82559_D101M) ? led_on_557 :
|
|
||||||
led_on_559;
|
|
||||||
}
|
|
||||||
mdio_write(nic->netdev, nic->mii.phy_id, led_reg, nic->leds);
|
|
||||||
mod_timer(&nic->blink_timer, jiffies + HZ / 4);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int e100_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd)
|
static int e100_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd)
|
||||||
{
|
{
|
||||||
|
@ -2600,19 +2574,38 @@ static void e100_diag_test(struct net_device *netdev,
|
||||||
msleep_interruptible(4 * 1000);
|
msleep_interruptible(4 * 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int e100_phys_id(struct net_device *netdev, u32 data)
|
static int e100_set_phys_id(struct net_device *netdev,
|
||||||
|
enum ethtool_phys_id_state state)
|
||||||
{
|
{
|
||||||
struct nic *nic = netdev_priv(netdev);
|
struct nic *nic = netdev_priv(netdev);
|
||||||
|
enum led_state {
|
||||||
|
led_on = 0x01,
|
||||||
|
led_off = 0x04,
|
||||||
|
led_on_559 = 0x05,
|
||||||
|
led_on_557 = 0x07,
|
||||||
|
};
|
||||||
u16 led_reg = (nic->phy == phy_82552_v) ? E100_82552_LED_OVERRIDE :
|
u16 led_reg = (nic->phy == phy_82552_v) ? E100_82552_LED_OVERRIDE :
|
||||||
MII_LED_CONTROL;
|
MII_LED_CONTROL;
|
||||||
|
u16 leds = 0;
|
||||||
|
|
||||||
if (!data || data > (u32)(MAX_SCHEDULE_TIMEOUT / HZ))
|
switch (state) {
|
||||||
data = (u32)(MAX_SCHEDULE_TIMEOUT / HZ);
|
case ETHTOOL_ID_ACTIVE:
|
||||||
mod_timer(&nic->blink_timer, jiffies);
|
return 2;
|
||||||
msleep_interruptible(data * 1000);
|
|
||||||
del_timer_sync(&nic->blink_timer);
|
|
||||||
mdio_write(netdev, nic->mii.phy_id, led_reg, 0);
|
|
||||||
|
|
||||||
|
case ETHTOOL_ID_ON:
|
||||||
|
leds = (nic->phy == phy_82552_v) ? E100_82552_LED_ON :
|
||||||
|
(nic->mac < mac_82559_D101M) ? led_on_557 : led_on_559;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ETHTOOL_ID_OFF:
|
||||||
|
leds = (nic->phy == phy_82552_v) ? E100_82552_LED_OFF : led_off;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ETHTOOL_ID_INACTIVE:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
mdio_write(netdev, nic->mii.phy_id, led_reg, leds);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2693,7 +2686,7 @@ static const struct ethtool_ops e100_ethtool_ops = {
|
||||||
.set_ringparam = e100_set_ringparam,
|
.set_ringparam = e100_set_ringparam,
|
||||||
.self_test = e100_diag_test,
|
.self_test = e100_diag_test,
|
||||||
.get_strings = e100_get_strings,
|
.get_strings = e100_get_strings,
|
||||||
.phys_id = e100_phys_id,
|
.set_phys_id = e100_set_phys_id,
|
||||||
.get_ethtool_stats = e100_get_ethtool_stats,
|
.get_ethtool_stats = e100_get_ethtool_stats,
|
||||||
.get_sset_count = e100_get_sset_count,
|
.get_sset_count = e100_get_sset_count,
|
||||||
};
|
};
|
||||||
|
@ -2834,9 +2827,6 @@ static int __devinit e100_probe(struct pci_dev *pdev,
|
||||||
init_timer(&nic->watchdog);
|
init_timer(&nic->watchdog);
|
||||||
nic->watchdog.function = e100_watchdog;
|
nic->watchdog.function = e100_watchdog;
|
||||||
nic->watchdog.data = (unsigned long)nic;
|
nic->watchdog.data = (unsigned long)nic;
|
||||||
init_timer(&nic->blink_timer);
|
|
||||||
nic->blink_timer.function = e100_blink_led;
|
|
||||||
nic->blink_timer.data = (unsigned long)nic;
|
|
||||||
|
|
||||||
INIT_WORK(&nic->tx_timeout_task, e100_tx_timeout_task);
|
INIT_WORK(&nic->tx_timeout_task, e100_tx_timeout_task);
|
||||||
|
|
||||||
|
|
|
@ -238,9 +238,6 @@ struct e1000_adapter {
|
||||||
struct work_struct reset_task;
|
struct work_struct reset_task;
|
||||||
u8 fc_autoneg;
|
u8 fc_autoneg;
|
||||||
|
|
||||||
struct timer_list blink_timer;
|
|
||||||
unsigned long led_status;
|
|
||||||
|
|
||||||
/* TX */
|
/* TX */
|
||||||
struct e1000_tx_ring *tx_ring; /* One per active queue */
|
struct e1000_tx_ring *tx_ring; /* One per active queue */
|
||||||
unsigned int restart_queue;
|
unsigned int restart_queue;
|
||||||
|
|
|
@ -1755,46 +1755,28 @@ static int e1000_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* toggle LED 4 times per second = 2 "blinks" per second */
|
static int e1000_set_phys_id(struct net_device *netdev,
|
||||||
#define E1000_ID_INTERVAL (HZ/4)
|
enum ethtool_phys_id_state state)
|
||||||
|
|
||||||
/* bit defines for adapter->led_status */
|
|
||||||
#define E1000_LED_ON 0
|
|
||||||
|
|
||||||
static void e1000_led_blink_callback(unsigned long data)
|
|
||||||
{
|
|
||||||
struct e1000_adapter *adapter = (struct e1000_adapter *) data;
|
|
||||||
struct e1000_hw *hw = &adapter->hw;
|
|
||||||
|
|
||||||
if (test_and_change_bit(E1000_LED_ON, &adapter->led_status))
|
|
||||||
e1000_led_off(hw);
|
|
||||||
else
|
|
||||||
e1000_led_on(hw);
|
|
||||||
|
|
||||||
mod_timer(&adapter->blink_timer, jiffies + E1000_ID_INTERVAL);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int e1000_phys_id(struct net_device *netdev, u32 data)
|
|
||||||
{
|
{
|
||||||
struct e1000_adapter *adapter = netdev_priv(netdev);
|
struct e1000_adapter *adapter = netdev_priv(netdev);
|
||||||
struct e1000_hw *hw = &adapter->hw;
|
struct e1000_hw *hw = &adapter->hw;
|
||||||
|
|
||||||
if (!data)
|
switch (state) {
|
||||||
data = INT_MAX;
|
case ETHTOOL_ID_ACTIVE:
|
||||||
|
e1000_setup_led(hw);
|
||||||
|
return 2;
|
||||||
|
|
||||||
if (!adapter->blink_timer.function) {
|
case ETHTOOL_ID_ON:
|
||||||
init_timer(&adapter->blink_timer);
|
e1000_led_on(hw);
|
||||||
adapter->blink_timer.function = e1000_led_blink_callback;
|
break;
|
||||||
adapter->blink_timer.data = (unsigned long)adapter;
|
|
||||||
|
case ETHTOOL_ID_OFF:
|
||||||
|
e1000_led_off(hw);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ETHTOOL_ID_INACTIVE:
|
||||||
|
e1000_cleanup_led(hw);
|
||||||
}
|
}
|
||||||
e1000_setup_led(hw);
|
|
||||||
mod_timer(&adapter->blink_timer, jiffies);
|
|
||||||
msleep_interruptible(data * 1000);
|
|
||||||
del_timer_sync(&adapter->blink_timer);
|
|
||||||
|
|
||||||
e1000_led_off(hw);
|
|
||||||
clear_bit(E1000_LED_ON, &adapter->led_status);
|
|
||||||
e1000_cleanup_led(hw);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1931,7 +1913,7 @@ static const struct ethtool_ops e1000_ethtool_ops = {
|
||||||
.set_tso = e1000_set_tso,
|
.set_tso = e1000_set_tso,
|
||||||
.self_test = e1000_diag_test,
|
.self_test = e1000_diag_test,
|
||||||
.get_strings = e1000_get_strings,
|
.get_strings = e1000_get_strings,
|
||||||
.phys_id = e1000_phys_id,
|
.set_phys_id = e1000_set_phys_id,
|
||||||
.get_ethtool_stats = e1000_get_ethtool_stats,
|
.get_ethtool_stats = e1000_get_ethtool_stats,
|
||||||
.get_sset_count = e1000_get_sset_count,
|
.get_sset_count = e1000_get_sset_count,
|
||||||
.get_coalesce = e1000_get_coalesce,
|
.get_coalesce = e1000_get_coalesce,
|
||||||
|
|
|
@ -1964,27 +1964,28 @@ static int igb_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
|
||||||
/* bit defines for adapter->led_status */
|
/* bit defines for adapter->led_status */
|
||||||
#define IGB_LED_ON 0
|
#define IGB_LED_ON 0
|
||||||
|
|
||||||
static int igb_phys_id(struct net_device *netdev, u32 data)
|
static int igb_set_phys_id(struct net_device *netdev,
|
||||||
|
enum ethtool_phys_id_state state)
|
||||||
{
|
{
|
||||||
struct igb_adapter *adapter = netdev_priv(netdev);
|
struct igb_adapter *adapter = netdev_priv(netdev);
|
||||||
struct e1000_hw *hw = &adapter->hw;
|
struct e1000_hw *hw = &adapter->hw;
|
||||||
unsigned long timeout;
|
|
||||||
|
|
||||||
timeout = data * 1000;
|
switch (state) {
|
||||||
|
case ETHTOOL_ID_ACTIVE:
|
||||||
/*
|
igb_blink_led(hw);
|
||||||
* msleep_interruptable only accepts unsigned int so we are limited
|
return 2;
|
||||||
* in how long a duration we can wait
|
case ETHTOOL_ID_ON:
|
||||||
*/
|
igb_blink_led(hw);
|
||||||
if (!timeout || timeout > UINT_MAX)
|
break;
|
||||||
timeout = UINT_MAX;
|
case ETHTOOL_ID_OFF:
|
||||||
|
igb_led_off(hw);
|
||||||
igb_blink_led(hw);
|
break;
|
||||||
msleep_interruptible(timeout);
|
case ETHTOOL_ID_INACTIVE:
|
||||||
|
igb_led_off(hw);
|
||||||
igb_led_off(hw);
|
clear_bit(IGB_LED_ON, &adapter->led_status);
|
||||||
clear_bit(IGB_LED_ON, &adapter->led_status);
|
igb_cleanup_led(hw);
|
||||||
igb_cleanup_led(hw);
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -2216,7 +2217,7 @@ static const struct ethtool_ops igb_ethtool_ops = {
|
||||||
.set_tso = igb_set_tso,
|
.set_tso = igb_set_tso,
|
||||||
.self_test = igb_diag_test,
|
.self_test = igb_diag_test,
|
||||||
.get_strings = igb_get_strings,
|
.get_strings = igb_get_strings,
|
||||||
.phys_id = igb_phys_id,
|
.set_phys_id = igb_set_phys_id,
|
||||||
.get_sset_count = igb_get_sset_count,
|
.get_sset_count = igb_get_sset_count,
|
||||||
.get_ethtool_stats = igb_get_ethtool_stats,
|
.get_ethtool_stats = igb_get_ethtool_stats,
|
||||||
.get_coalesce = igb_get_coalesce,
|
.get_coalesce = igb_get_coalesce,
|
||||||
|
|
|
@ -102,6 +102,10 @@ static struct ixgbe_stats ixgbe_gstrings_stats[] = {
|
||||||
{"alloc_rx_page_failed", IXGBE_STAT(alloc_rx_page_failed)},
|
{"alloc_rx_page_failed", IXGBE_STAT(alloc_rx_page_failed)},
|
||||||
{"alloc_rx_buff_failed", IXGBE_STAT(alloc_rx_buff_failed)},
|
{"alloc_rx_buff_failed", IXGBE_STAT(alloc_rx_buff_failed)},
|
||||||
{"rx_no_dma_resources", IXGBE_STAT(hw_rx_no_dma_resources)},
|
{"rx_no_dma_resources", IXGBE_STAT(hw_rx_no_dma_resources)},
|
||||||
|
{"os2bmc_rx_by_bmc", IXGBE_STAT(stats.o2bgptc)},
|
||||||
|
{"os2bmc_tx_by_bmc", IXGBE_STAT(stats.b2ospc)},
|
||||||
|
{"os2bmc_tx_by_host", IXGBE_STAT(stats.o2bspc)},
|
||||||
|
{"os2bmc_rx_by_host", IXGBE_STAT(stats.b2ogprc)},
|
||||||
#ifdef IXGBE_FCOE
|
#ifdef IXGBE_FCOE
|
||||||
{"fcoe_bad_fccrc", IXGBE_STAT(stats.fccrc)},
|
{"fcoe_bad_fccrc", IXGBE_STAT(stats.fccrc)},
|
||||||
{"rx_fcoe_dropped", IXGBE_STAT(stats.fcoerpdc)},
|
{"rx_fcoe_dropped", IXGBE_STAT(stats.fcoerpdc)},
|
||||||
|
@ -2253,8 +2257,13 @@ static int ixgbe_set_flags(struct net_device *netdev, u32 data)
|
||||||
need_reset = (data & ETH_FLAG_RXVLAN) !=
|
need_reset = (data & ETH_FLAG_RXVLAN) !=
|
||||||
(netdev->features & NETIF_F_HW_VLAN_RX);
|
(netdev->features & NETIF_F_HW_VLAN_RX);
|
||||||
|
|
||||||
|
if ((data & ETH_FLAG_RXHASH) &&
|
||||||
|
!(adapter->flags & IXGBE_FLAG_RSS_ENABLED))
|
||||||
|
return -EOPNOTSUPP;
|
||||||
|
|
||||||
rc = ethtool_op_set_flags(netdev, data, ETH_FLAG_LRO | ETH_FLAG_NTUPLE |
|
rc = ethtool_op_set_flags(netdev, data, ETH_FLAG_LRO | ETH_FLAG_NTUPLE |
|
||||||
ETH_FLAG_RXVLAN | ETH_FLAG_TXVLAN);
|
ETH_FLAG_RXVLAN | ETH_FLAG_TXVLAN |
|
||||||
|
ETH_FLAG_RXHASH);
|
||||||
if (rc)
|
if (rc)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
|
|
|
@ -1063,8 +1063,14 @@ static int __ixgbe_notify_dca(struct device *dev, void *data)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_IXGBE_DCA */
|
#endif /* CONFIG_IXGBE_DCA */
|
||||||
|
|
||||||
|
static inline void ixgbe_rx_hash(union ixgbe_adv_rx_desc *rx_desc,
|
||||||
|
struct sk_buff *skb)
|
||||||
|
{
|
||||||
|
skb->rxhash = le32_to_cpu(rx_desc->wb.lower.hi_dword.rss);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ixgbe_receive_skb - Send a completed packet up the stack
|
* ixgbe_receive_skb - Send a completed packet up the stack
|
||||||
* @adapter: board private structure
|
* @adapter: board private structure
|
||||||
|
@ -1456,6 +1462,8 @@ static void ixgbe_clean_rx_irq(struct ixgbe_q_vector *q_vector,
|
||||||
}
|
}
|
||||||
|
|
||||||
ixgbe_rx_checksum(adapter, rx_desc, skb);
|
ixgbe_rx_checksum(adapter, rx_desc, skb);
|
||||||
|
if (adapter->netdev->features & NETIF_F_RXHASH)
|
||||||
|
ixgbe_rx_hash(rx_desc, skb);
|
||||||
|
|
||||||
/* probably a little skewed due to removing CRC */
|
/* probably a little skewed due to removing CRC */
|
||||||
total_rx_bytes += skb->len;
|
total_rx_bytes += skb->len;
|
||||||
|
@ -5904,8 +5912,13 @@ void ixgbe_update_stats(struct ixgbe_adapter *adapter)
|
||||||
hwstats->gotc += IXGBE_READ_REG(hw, IXGBE_GOTCH);
|
hwstats->gotc += IXGBE_READ_REG(hw, IXGBE_GOTCH);
|
||||||
hwstats->tor += IXGBE_READ_REG(hw, IXGBE_TORH);
|
hwstats->tor += IXGBE_READ_REG(hw, IXGBE_TORH);
|
||||||
break;
|
break;
|
||||||
case ixgbe_mac_82599EB:
|
|
||||||
case ixgbe_mac_X540:
|
case ixgbe_mac_X540:
|
||||||
|
/* OS2BMC stats are X540 only*/
|
||||||
|
hwstats->o2bgptc += IXGBE_READ_REG(hw, IXGBE_O2BGPTC);
|
||||||
|
hwstats->o2bspc += IXGBE_READ_REG(hw, IXGBE_O2BSPC);
|
||||||
|
hwstats->b2ospc += IXGBE_READ_REG(hw, IXGBE_B2OSPC);
|
||||||
|
hwstats->b2ogprc += IXGBE_READ_REG(hw, IXGBE_B2OGPRC);
|
||||||
|
case ixgbe_mac_82599EB:
|
||||||
hwstats->gorc += IXGBE_READ_REG(hw, IXGBE_GORCL);
|
hwstats->gorc += IXGBE_READ_REG(hw, IXGBE_GORCL);
|
||||||
IXGBE_READ_REG(hw, IXGBE_GORCH); /* to clear */
|
IXGBE_READ_REG(hw, IXGBE_GORCH); /* to clear */
|
||||||
hwstats->gotc += IXGBE_READ_REG(hw, IXGBE_GOTCL);
|
hwstats->gotc += IXGBE_READ_REG(hw, IXGBE_GOTCL);
|
||||||
|
@ -7361,6 +7374,7 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
|
||||||
netdev->features |= NETIF_F_TSO;
|
netdev->features |= NETIF_F_TSO;
|
||||||
netdev->features |= NETIF_F_TSO6;
|
netdev->features |= NETIF_F_TSO6;
|
||||||
netdev->features |= NETIF_F_GRO;
|
netdev->features |= NETIF_F_GRO;
|
||||||
|
netdev->features |= NETIF_F_RXHASH;
|
||||||
|
|
||||||
switch (adapter->hw.mac.type) {
|
switch (adapter->hw.mac.type) {
|
||||||
case ixgbe_mac_82599EB:
|
case ixgbe_mac_82599EB:
|
||||||
|
@ -7441,6 +7455,9 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
|
||||||
if (err)
|
if (err)
|
||||||
goto err_sw_init;
|
goto err_sw_init;
|
||||||
|
|
||||||
|
if (!(adapter->flags & IXGBE_FLAG_RSS_ENABLED))
|
||||||
|
netdev->features &= ~NETIF_F_RXHASH;
|
||||||
|
|
||||||
switch (pdev->device) {
|
switch (pdev->device) {
|
||||||
case IXGBE_DEV_ID_82599_SFP:
|
case IXGBE_DEV_ID_82599_SFP:
|
||||||
/* Only this subdevice supports WOL */
|
/* Only this subdevice supports WOL */
|
||||||
|
|
|
@ -672,6 +672,10 @@
|
||||||
#define IXGBE_FCOEDWRC 0x0242C /* Number of FCoE DWords Received */
|
#define IXGBE_FCOEDWRC 0x0242C /* Number of FCoE DWords Received */
|
||||||
#define IXGBE_FCOEPTC 0x08784 /* Number of FCoE Packets Transmitted */
|
#define IXGBE_FCOEPTC 0x08784 /* Number of FCoE Packets Transmitted */
|
||||||
#define IXGBE_FCOEDWTC 0x08788 /* Number of FCoE DWords Transmitted */
|
#define IXGBE_FCOEDWTC 0x08788 /* Number of FCoE DWords Transmitted */
|
||||||
|
#define IXGBE_O2BGPTC 0x041C4
|
||||||
|
#define IXGBE_O2BSPC 0x087B0
|
||||||
|
#define IXGBE_B2OSPC 0x041C0
|
||||||
|
#define IXGBE_B2OGPRC 0x02F90
|
||||||
#define IXGBE_PCRC8ECL 0x0E810
|
#define IXGBE_PCRC8ECL 0x0E810
|
||||||
#define IXGBE_PCRC8ECH 0x0E811
|
#define IXGBE_PCRC8ECH 0x0E811
|
||||||
#define IXGBE_PCRC8ECH_MASK 0x1F
|
#define IXGBE_PCRC8ECH_MASK 0x1F
|
||||||
|
@ -2554,6 +2558,10 @@ struct ixgbe_hw_stats {
|
||||||
u64 fcoeptc;
|
u64 fcoeptc;
|
||||||
u64 fcoedwrc;
|
u64 fcoedwrc;
|
||||||
u64 fcoedwtc;
|
u64 fcoedwtc;
|
||||||
|
u64 b2ospc;
|
||||||
|
u64 b2ogprc;
|
||||||
|
u64 o2bgptc;
|
||||||
|
u64 o2bspc;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* forward declaration */
|
/* forward declaration */
|
||||||
|
|
Loading…
Add table
Reference in a new issue