diff options
author | Robert Mustacchi <rm@joyent.com> | 2017-07-06 20:36:03 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2017-07-06 20:37:11 +0000 |
commit | 11ead5c6255691b06a34eff329b47028a1700c87 (patch) | |
tree | bed289597deda39ea558a01cf1576bcffd1666ef | |
parent | ff73f18f0a2eaa07b0c466202e589ee320898043 (diff) | |
download | illumos-joyent-11ead5c6255691b06a34eff329b47028a1700c87.tar.gz |
Changes from Chelsio
-rw-r--r-- | usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c b/usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c index e14493a88e..3bfead03a3 100644 --- a/usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c +++ b/usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c @@ -2163,8 +2163,19 @@ cfg_itype_and_nqueues(struct adapter *sc, int n10g, int n1g, #endif } + /* We have arrived at a minimum value required to enable + * per queue irq(either NIC or offload). Thus for non- + * offload case, we will get a vector per queue, while + * offload case, we will get a vector per offload/NIC q. + * Hence enable Interrupt forwarding only for offload + * case. + */ +#ifdef TCP_OFFLOAD_ENABLE if (itype != DDI_INTR_TYPE_MSI || ISP2(iaq->nirq)) { iaq->intr_fwd = 1; +#else + if (itype != DDI_INTR_TYPE_MSI) { +#endif goto allocate; } } |