| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
ok yasuoka@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- set the sndq size to the tx ring size so tx mitigation can hopefully
kick in
- advertise the size of the rx ring to mclgeti
- only uses jumbo clusters. mtu is about what the ip stack will
do for transmitted packets, we should happily receive packets up
to the size the hardware supports. the point of mclgeti was to make
it possible to do so without wasting too much memory.
ok yasuoka@ uebayasi@
|
|
|
|
|
|
| |
register (driver shared address high) exceeded the width of the 32bit
bus address; casting the address to a 64bit type will correctly result
in a zero value on i386 and the high bits on amd64.
|
|
|
|
|
|
|
|
|
|
|
| |
format for Rx and Tx. Replace the bit fields in the descriptor
structs with 32bit words to access them with traditional bit
operations using shifts and masks. We try to avoid bit fields in
OpenBSD. For consistence with other drivers, this change also uses
letoh32/htole32 endianess conversions even if it is very unlikely that
vmx will ever run on a big-endian VM/host.
discussed with uebayasi@ and deraadt@
|
| |
|
| |
|
|
|
|
| |
No binary change.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o OpenBSD'ify the vmx(4) receive filter handling code
o IFF_ALLMULTI is like hte OACTIVE flag in that its only ever set and
cleared by an interface driver. with that in mind, this reorders
the config to do that and take advantage of it to conditionally
configure the multicast filtering.
o It also makes the code check if any multicast ranges have been
configured, which every other driver interprets as "set ALLMULTI",
so we do too now.
o Add the usual ifdef INET guard to the ioctl code.
OK yasuoka@ dlg@
|
|
|
|
| |
ok yasuoka@
|
|
|
|
|
|
| |
taken care of by pci_mapreg_map().
Ok yasuoka@ uebayasi@
|
|
|
|
|
|
|
|
|
|
| |
the tcp/udp headers and to make theyre contiguous for the hypervisors
offload to work correctly.
use m_defrag instead of handrolling a copy of a heavily fragmented mbuf
into a single mbuf or cluster.
ok reyk@ yasuoka@
|
|
|
|
|
|
|
|
|
|
| |
one which caused the following Tx bpf call to panic. Instead of
moving the bpf hook in front of the vmxnet3_load_mbuf() function, we
return the updated mbuf because we want don't want to see packets that
don't go on the wire/chipset.
Analyzed and discussed with yasuoka@ uebayasi@
OK yasuoka@ uebayasi@
|
|
|
|
| |
ok uebayasi@ yasuoka@ dlg@
|
|
Tested by reyk@, yasuoka@
OK'ed by reyk@, deraadt@
|