upic_ktrls: make RSS compile again here

The results of ktls_get_cpu() are stored in u_int and NETISR_CPUID_NONE
requires u_int.  Adjust uint16_t to uint_t in order to make RSS kernels
compile some more again.

HPTS still has to be fixed, which is a bit more complicated.

Reviewed by:	jhb, gallatin, rrs
Differential Revision:	https://reviews.freebsd.org/D23726
This commit is contained in:
Bjoern A. Zeeb 2020-03-03 14:07:44 +00:00
parent 8483fce695
commit a2fba2a700
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358576

View File

@ -299,11 +299,11 @@ ktls_crypto_backend_deregister(struct ktls_crypto_backend *be)
}
#if defined(INET) || defined(INET6)
static uint16_t
static u_int
ktls_get_cpu(struct socket *so)
{
struct inpcb *inp;
uint16_t cpuid;
u_int cpuid;
inp = sotoinpcb(so);
#ifdef RSS