Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Fix merge between commit3adadc08cc
("net ax25: Reorder ax25_exit to remove races") and commit0ca7a4c87d
("net ax25: Simplify and cleanup the ax25 sysctl handling") The former moved around the sysctl register/unregister calls, the later simply removed them. With help from Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -622,6 +622,16 @@ static int ixgbe_alloc_q_vector(struct ixgbe_adapter *adapter, int v_idx,
|
||||
if (adapter->hw.mac.type == ixgbe_mac_82599EB)
|
||||
set_bit(__IXGBE_RX_CSUM_UDP_ZERO_ERR, &ring->state);
|
||||
|
||||
#ifdef IXGBE_FCOE
|
||||
if (adapter->netdev->features & NETIF_F_FCOE_MTU) {
|
||||
struct ixgbe_ring_feature *f;
|
||||
f = &adapter->ring_feature[RING_F_FCOE];
|
||||
if ((rxr_idx >= f->mask) &&
|
||||
(rxr_idx < f->mask + f->indices))
|
||||
set_bit(__IXGBE_RX_FCOE_BUFSZ, &ring->state);
|
||||
}
|
||||
|
||||
#endif /* IXGBE_FCOE */
|
||||
/* apply Rx specific ring traits */
|
||||
ring->count = adapter->rx_ring_count;
|
||||
ring->queue_index = rxr_idx;
|
||||
|
@@ -3127,14 +3127,6 @@ static void ixgbe_set_rx_buffer_len(struct ixgbe_adapter *adapter)
|
||||
set_ring_rsc_enabled(rx_ring);
|
||||
else
|
||||
clear_ring_rsc_enabled(rx_ring);
|
||||
#ifdef IXGBE_FCOE
|
||||
if (netdev->features & NETIF_F_FCOE_MTU) {
|
||||
struct ixgbe_ring_feature *f;
|
||||
f = &adapter->ring_feature[RING_F_FCOE];
|
||||
if ((i >= f->mask) && (i < f->mask + f->indices))
|
||||
set_bit(__IXGBE_RX_FCOE_BUFSZ, &rx_ring->state);
|
||||
}
|
||||
#endif /* IXGBE_FCOE */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4808,7 +4800,9 @@ static int ixgbe_resume(struct pci_dev *pdev)
|
||||
|
||||
pci_wake_from_d3(pdev, false);
|
||||
|
||||
rtnl_lock();
|
||||
err = ixgbe_init_interrupt_scheme(adapter);
|
||||
rtnl_unlock();
|
||||
if (err) {
|
||||
e_dev_err("Cannot initialize interrupts for device\n");
|
||||
return err;
|
||||
|
Reference in New Issue
Block a user