mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
eth: vxge: remove a copy of the NAPI_POLL_WEIGHT define
Defining local versions of NAPI_POLL_WEIGHT with the same values in the drivers just makes refactoring harder. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bbbe6ecbc3
commit
288696565f
2 changed files with 1 additions and 3 deletions
|
@ -4351,7 +4351,7 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre)
|
|||
}
|
||||
ll_config->tx_steering_type = TX_MULTIQ_STEERING;
|
||||
ll_config->intr_type = MSI_X;
|
||||
ll_config->napi_weight = NEW_NAPI_WEIGHT;
|
||||
ll_config->napi_weight = NAPI_POLL_WEIGHT;
|
||||
ll_config->rth_steering = RTH_STEERING;
|
||||
|
||||
/* get the default configuration parameters */
|
||||
|
|
|
@ -167,8 +167,6 @@ struct macInfo {
|
|||
struct vxge_config {
|
||||
int tx_pause_enable;
|
||||
int rx_pause_enable;
|
||||
|
||||
#define NEW_NAPI_WEIGHT 64
|
||||
int napi_weight;
|
||||
int intr_type;
|
||||
#define INTA 0
|
||||
|
|
Loading…
Add table
Reference in a new issue