mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 01:06:40 +07:00
qlcnic: fix napi budget alteration
Driver modifies the supplied NAPI budget in qlcnic_83xx_msix_tx_poll() function. Instead, it should use the budget as it is. Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2b10d3ecf2
commit
fc4ca987f7
@ -102,7 +102,6 @@
|
||||
#define QLCNIC_RESPONSE_DESC 0x05
|
||||
#define QLCNIC_LRO_DESC 0x12
|
||||
|
||||
#define QLCNIC_TX_POLL_BUDGET 128
|
||||
#define QLCNIC_TCP_HDR_SIZE 20
|
||||
#define QLCNIC_TCP_TS_OPTION_SIZE 12
|
||||
#define QLCNIC_FETCH_RING_ID(handle) ((handle) >> 63)
|
||||
@ -2008,7 +2007,6 @@ static int qlcnic_83xx_msix_tx_poll(struct napi_struct *napi, int budget)
|
||||
struct qlcnic_host_tx_ring *tx_ring;
|
||||
struct qlcnic_adapter *adapter;
|
||||
|
||||
budget = QLCNIC_TX_POLL_BUDGET;
|
||||
tx_ring = container_of(napi, struct qlcnic_host_tx_ring, napi);
|
||||
adapter = tx_ring->adapter;
|
||||
work_done = qlcnic_process_cmd_ring(adapter, tx_ring, budget);
|
||||
|
Loading…
Reference in New Issue
Block a user