Skip to content

Commit 61afe07

Browse files
committed
Merge branch 'ibmvnic-Fix-and-increase-maximum-TX-RX-queues'
Thomas Falcon says: ==================== ibmvnic: Fix and increase maximum TX/RX queues This series renames IBMVNIC_MAX_TX_QUEUES to IBMVNIC_MAX_QUEUES since it is used to allocate both RX and TX queues. The value is also increased to accommodate newer hardware. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents b8fa3bf + 269431e commit 61afe07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/net/ethernet/ibm/ibmvnic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4285,7 +4285,7 @@ static int ibmvnic_probe(struct vio_dev *dev, const struct vio_device_id *id)
42854285
}
42864286

42874287
netdev = alloc_etherdev_mq(sizeof(struct ibmvnic_adapter),
4288-
IBMVNIC_MAX_TX_QUEUES);
4288+
IBMVNIC_MAX_QUEUES);
42894289
if (!netdev)
42904290
return -ENOMEM;
42914291

drivers/net/ethernet/ibm/ibmvnic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define IBMVNIC_RX_WEIGHT 16
4040
/* when changing this, update IBMVNIC_IO_ENTITLEMENT_DEFAULT */
4141
#define IBMVNIC_BUFFS_PER_POOL 100
42-
#define IBMVNIC_MAX_TX_QUEUES 5
42+
#define IBMVNIC_MAX_QUEUES 10
4343

4444
#define IBMVNIC_TSO_BUF_SZ 65536
4545
#define IBMVNIC_TSO_BUFS 64

0 commit comments

Comments
 (0)