Skip to content

Commit d45cc3a

Browse files
tlfalcondavem330
authored andcommitted
ibmvnic: Rename IBMVNIC_MAX_TX_QUEUES to IBMVNIC_MAX_QUEUES
This value denotes the maximum number of TX queues but is used to allocate both RX and TX queues. Signed-off-by: Thomas Falcon <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b8fa3bf commit d45cc3a

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 5
4343

4444
#define IBMVNIC_TSO_BUF_SZ 65536
4545
#define IBMVNIC_TSO_BUFS 64

0 commit comments

Comments
 (0)