kyua test

2020-01-30 Thread Clay Daniels
I've started running kyua test when I load the weekly current snapshot, and I'm a little confused about if I should run kyua test as user or root. In order to make the /usr/ports/devel/kyua port you need to be root and I have just been doing the test as root, but I notice in the instructions I'm

Re: how to use the ktls

2020-01-30 Thread Benjamin Kaduk
On Tue, Jan 28, 2020 at 11:01:31PM +, Rick Macklem wrote: > John Baldwin wrote: > [stuff snipped] > >I don't know yet. :-/ With the TOE-based TLS I had been testing with, this > >doesn't > >happen because the NIC blocks the data until it gets the key and then it's > >always > >available via

Re: easy way to work around a lack of a direct map on i386

2020-01-30 Thread Konstantin Belousov
On Thu, Jan 30, 2020 at 11:23:02PM +, Rick Macklem wrote: > Hi, > > The current code for KERN_TLS uses PHYS_TO_DMAP() > to access unmapped external pages on m_ext.ext_pgs > mbufs. > I also need to do this to implement RPC-over-TLS. > > The problem is that some arches, like i386, don't >

easy way to work around a lack of a direct map on i386

2020-01-30 Thread Rick Macklem
Hi, The current code for KERN_TLS uses PHYS_TO_DMAP() to access unmapped external pages on m_ext.ext_pgs mbufs. I also need to do this to implement RPC-over-TLS. The problem is that some arches, like i386, don't support PHYS_TO_DMAP(). Since it appears that there will be at most 4 pages on one