Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351423
b: refs/heads/master
c: 4db37a7
h: refs/heads/master
i:
  351421: c8632bf
  351419: 1ec5300
  351415: b1219e7
  351407: 8b6a0a9
  351391: cdc021a
  351359: 69dc762
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 16, 2013
1 parent a7ee612 commit 7bbeb2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f32a2605bbf9a42884b11e222d208ae0372f6d89
refs/heads/master: 4db37a78561c4f6ff54176257b3098f3d4357759
7 changes: 3 additions & 4 deletions trunk/drivers/net/vmxnet3/vmxnet3_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ static DEFINE_PCI_DEVICE_TABLE(vmxnet3_pciid_table) = {
MODULE_DEVICE_TABLE(pci, vmxnet3_pciid_table);

static int enable_mq = 1;
static int irq_share_mode;

static void
vmxnet3_write_mac_addr(struct vmxnet3_adapter *adapter, u8 *mac);
Expand Down Expand Up @@ -3003,9 +3002,9 @@ vmxnet3_probe_device(struct pci_dev *pdev,
SET_NETDEV_DEV(netdev, &pdev->dev);
vmxnet3_declare_features(adapter, dma64);

adapter->share_intr = irq_share_mode;
if (adapter->share_intr == VMXNET3_INTR_BUDDYSHARE &&
adapter->num_tx_queues != adapter->num_rx_queues)
if (adapter->num_tx_queues == adapter->num_rx_queues)
adapter->share_intr = VMXNET3_INTR_BUDDYSHARE;
else
adapter->share_intr = VMXNET3_INTR_DONTSHARE;

vmxnet3_alloc_intr_resources(adapter);
Expand Down

0 comments on commit 7bbeb2a

Please sign in to comment.