diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2022-09-08 18:47:38 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2022-09-12 18:40:25 +0000 |
commit | c387ff0045d620d60ed8250360d4196a4c962a13 (patch) | |
tree | f599851f8dfb2caf48508b141b1b5e15f0c7b47e /sys/dev/cxgbe/t4_netmap.c | |
parent | c198adf394988da2f15b51829748a1dbd103fac0 (diff) | |
download | src-c387ff0045d620d60ed8250360d4196a4c962a13.tar.gz src-c387ff0045d620d60ed8250360d4196a4c962a13.zip |
cxgbe(4): Specify the ingress queue's type when creating it.
The firmware takes the type into account when setting up the PCIe
channel for the queue.
MFC after: 1 week
Sponsored by: Chelsio Communications
Diffstat (limited to 'sys/dev/cxgbe/t4_netmap.c')
-rw-r--r-- | sys/dev/cxgbe/t4_netmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/cxgbe/t4_netmap.c b/sys/dev/cxgbe/t4_netmap.c index 8c5b9f500661..a847dca3ddbd 100644 --- a/sys/dev/cxgbe/t4_netmap.c +++ b/sys/dev/cxgbe/t4_netmap.c @@ -326,6 +326,7 @@ alloc_nm_rxq_hwq(struct vi_info *vi, struct sge_nm_rxq *nm_rxq, int cong) } c.iqns_to_fl0congen |= htobe32(V_FW_IQ_CMD_FL0HOSTFCMODE(X_HOSTFCMODE_NONE) | + V_FW_IQ_CMD_IQTYPE(FW_IQ_IQTYPE_NIC) | F_FW_IQ_CMD_FL0FETCHRO | F_FW_IQ_CMD_FL0DATARO | (fl_pad ? F_FW_IQ_CMD_FL0PADEN : 0) | (black_hole == 2 ? F_FW_IQ_CMD_FL0PACKEN : 0)); |