Sync with FreeBSD ix-3.3.10 part 2:

- Calculate vector's bit location correctly when the vector >= 31
  in ixgbe_allocate_msix().
This commit is contained in:
msaitoh 2019-07-02 08:38:48 +00:00
parent 7321f0df23
commit 7ace5c1161

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixgbe.c,v 1.190 2019/07/02 08:32:18 msaitoh Exp $ */
/* $NetBSD: ixgbe.c,v 1.191 2019/07/02 08:38:48 msaitoh Exp $ */
/******************************************************************************
@ -6540,7 +6540,7 @@ ixgbe_allocate_msix(struct adapter *adapter, const struct pci_attach_args *pa)
goto err_out;
}
que->msix = vector;
adapter->active_queues |= (u64)(1 << que->msix);
adapter->active_queues |= 1ULL << que->msix;
if (adapter->feat_en & IXGBE_FEATURE_RSS) {
#ifdef RSS