Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Drop sysctl leftovers. | 2015-11-21 | 1 | -8/+2 | ||
| | ||||||
* | Make cnmac compile again after IF_DROP() removal. Just bail out if the | 2015-11-20 | 1 | -18/+2 | ||
| | | | | | | link is down. ok mpi@ | |||||
* | Take account of padding with dynamic short packets. This fixes the | 2015-11-18 | 1 | -3/+10 | ||
| | | | | reception of short non-IP packets which I broke in revision 1.28. | |||||
* | Remove an unnecessary IFQ_POLL(), along with an unused #ifdef block. | 2015-11-13 | 1 | -23/+3 | ||
| | | | | ok mpi@ | |||||
* | Enable TCP/UDP checksum offloading on packet transmission. | 2015-10-28 | 1 | -6/+13 | ||
| | | | | ok mpi@ | |||||
* | Add proper padding to packets that the hardware does not recognize as | 2015-10-28 | 1 | -1/+9 | ||
| | | | | | | IP, to avoid memory alignment issues in the IP stack. ok miod@, mpi@ | |||||
* | arp_ifinit() is no longer needed. | 2015-10-25 | 1 | -4/+1 | ||
| | ||||||
* | Make use of hardware RX checksum validation. | 2015-10-24 | 1 | -2/+2 | ||
| | | | | ok naddy@ | |||||
* | Let the rx path of cnmac run without the kernel lock. To avoid the need | 2015-10-15 | 1 | -31/+11 | ||
| | | | | | | of a mutex, the path no longer cleans up the queue of tx requests. ok mpi@ | |||||
* | Remove the sc_soft_req_cnt field because the number of tx requests is | 2015-10-08 | 1 | -38/+8 | ||
| | | | | | | | already tracked in sc_sendq. Replace the sc_flush logic with a simple Fetch-and-Add store that avoids an unnecessary IOBDMA transaction. ok uebayasi@ | |||||
* | convert sc_sendq into an mbuf_list, and use ph_cookie rather than rcvif to | 2015-06-11 | 1 | -35/+10 | ||
| | | | | | | store the sgl address, allowing rcvif to be removed. ok mpi@ dlg@ uebayasi@ | |||||
* | Convert to if_input(). | 2015-04-30 | 1 | -7/+4 | ||
| | | | | Tested by jmatthew@ | |||||
* | unifdef INET | 2014-12-22 | 1 | -3/+1 | ||
| | ||||||
* | Use <sys/endian.h> instead of <machine/endian.h> | 2014-12-19 | 1 | -2/+2 | ||
| | | | | ok dlg@ mpi@ bcook@ millert@ miod@ | |||||
* | Do not extern octeon_boot_info, <machine/octeonvar.h> declares it for you. | 2014-08-11 | 1 | -3/+2 | ||
| | ||||||
* | Do not use CKSEG0 to quickly map physical addresses, but XKPHYS, for we are | 2014-08-11 | 1 | -11/+11 | ||
| | | | | not limited to 512MB physmem. | |||||
* | Remove evcnt and %b format strings relying upon SEIL extensions. This gives | 2014-08-11 | 1 | -94/+11 | ||
| | | | | | OCTEON_ETH_DEBUG kernels a chance to build. No functional change for regular kernels. | |||||
* | De-static so that my ddb backtrace get closer to reality. | 2014-08-11 | 1 | -126/+119 | ||
| | ||||||
* | <netinet/in_systm.h> is no longer needed. | 2014-07-22 | 1 | -6/+1 | ||
| | ||||||
* | various format string fixes and remove -Wno-format from octeon | 2014-05-10 | 1 | -2/+2 | ||
| | | | | feedback/ok miod@ | |||||
* | - fix the mediastatus when the interface is not configured. | 2014-03-10 | 1 | -17/+12 | ||
| | | | | | | | | - remove unneeded comment, kern.netlivelock doesn't get set here. - rework octeon_eth_mediainit() to be more like other drivers and remove a bunch of XXXs in the process. testing and ok yasuoka@ | |||||
* | work out phy addresses before attaching cnmac and pass them to mii_attach | 2013-09-16 | 1 | -29/+5 | ||
| | | | | | | rather than hiding them in the mii read/write functions. ok dlg@ jasper@ bcallah@ | |||||
* | Most network drivers include netinet/in_var.h, but apparently they | 2013-08-17 | 1 | -2/+1 | ||
| | | | | | don't have to. Remove these include lines from octeon drivers. test and OK bcallah@ | |||||
* | Fix the log messages displayed to the user. | 2013-04-12 | 1 | -12/+12 | ||
| | | | | ok jasper@ | |||||
* | - remove two now-unused macros. | 2013-03-21 | 1 | -15/+1 | ||
| | | | | ok yasuoka@ | |||||
* | fix detection of the MAC address by reading it from the correct address, | 2013-03-21 | 1 | -12/+53 | ||
| | | | | | | | | | instead of from a random location which resulted in 00:01:02:etc addresses. confirmed to match up with the MAC addresses linux detects on the ERL; no phy (atphy(4)) attaches still. ok bcallah@ chris@ yasuoka@ | |||||
* | Tweak the dmesg output a bit. From brad@ | 2011-07-03 | 1 | -2/+2 | ||
| | | | | ok yasuoka@ | |||||
* | - add missing #include "bpfilter.h" on if_cnmac. | 2011-07-03 | 1 | -2/+2 | ||
| | | | | | | - delete #include <sys/cdefs.h> because it's unnecessary. ok brad@ | |||||
* | Remove SET/CLR/ISSET macros from Octeon code. The kernel already provides | 2011-06-24 | 1 | -7/+1 | ||
| | | | | | | | these macros. This diff from brad@ built test and ok yasuoka@ | |||||
* | some fixes for cnmac(4) | 2011-06-22 | 1 | -15/+3 | ||
| | | | | | | | | | | - Fix MAC address printing for OpenBSD dmesg. - Set IFCAP_VLAN_MTU to allow for VLAN sized frames. - Remove commented out code to enable the shutdown hook since OpenBSD doesn't use these hooks in Ethernet drivers anymore. this diff from brad@ ok and tested by yasuoka@. | |||||
* | Clean up ioctl handler a bit and rearrange the receive filter callback to | 2011-06-19 | 1 | -18/+16 | ||
| | | | | | | | the proper location. this diff from brad@ ok and tested by yasuoka@ | |||||
* | add missing the copyright notice. | 2011-06-17 | 1 | -1/+26 | ||
| | | | | | | delete garbage lines. ok syuu@ | |||||
* | Ethernet driver merged from IIJ's contribution code. | 2011-06-16 | 1 | -0/+1689 | ||