| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2015 Cavium, Inc. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 5 | | - * under the terms of version 2 of the GNU General Public License |
|---|
| 6 | | - * as published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | |
|---|
| 9 | 6 | #ifndef NICVF_QUEUES_H |
|---|
| .. | .. |
|---|
| 103 | 100 | * RED accepts pkt if unused CQE < 2304 & >= 2560 |
|---|
| 104 | 101 | * DROPs pkts if unused CQE < 2304 |
|---|
| 105 | 102 | */ |
|---|
| 106 | | -#define RQ_PASS_CQ_LVL 192ULL |
|---|
| 107 | | -#define RQ_DROP_CQ_LVL 184ULL |
|---|
| 103 | +#define RQ_PASS_CQ_LVL 224ULL |
|---|
| 104 | +#define RQ_DROP_CQ_LVL 216ULL |
|---|
| 108 | 105 | |
|---|
| 109 | 106 | /* RED and Backpressure levels of RBDR for pkt reception |
|---|
| 110 | 107 | * For RBDR, level is a measure of fullness i.e 0x0 means empty |
|---|
| .. | .. |
|---|
| 351 | 348 | |
|---|
| 352 | 349 | struct sk_buff *nicvf_get_rcv_skb(struct nicvf *nic, |
|---|
| 353 | 350 | struct cqe_rx_t *cqe_rx, bool xdp); |
|---|
| 354 | | -void nicvf_rbdr_task(unsigned long data); |
|---|
| 351 | +void nicvf_rbdr_task(struct tasklet_struct *t); |
|---|
| 355 | 352 | void nicvf_rbdr_work(struct work_struct *work); |
|---|
| 356 | 353 | |
|---|
| 357 | 354 | void nicvf_enable_intr(struct nicvf *nic, int int_type, int q_idx); |
|---|