summaryrefslogtreecommitdiffstats
path: root/sys/arch/octeon/dev/if_cnmac.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Drop sysctl leftovers.visa2015-11-211-8/+2
|
* Make cnmac compile again after IF_DROP() removal. Just bail out if thevisa2015-11-201-18/+2
| | | | | | link is down. ok mpi@
* Take account of padding with dynamic short packets. This fixes thevisa2015-11-181-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.visa2015-11-131-23/+3
| | | | ok mpi@
* Enable TCP/UDP checksum offloading on packet transmission.visa2015-10-281-6/+13
| | | | ok mpi@
* Add proper padding to packets that the hardware does not recognize asvisa2015-10-281-1/+9
| | | | | | IP, to avoid memory alignment issues in the IP stack. ok miod@, mpi@
* arp_ifinit() is no longer needed.mpi2015-10-251-4/+1
|
* Make use of hardware RX checksum validation.visa2015-10-241-2/+2
| | | | ok naddy@
* Let the rx path of cnmac run without the kernel lock. To avoid the needvisa2015-10-151-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 isvisa2015-10-081-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 tojmatthew2015-06-111-35/+10
| | | | | | store the sgl address, allowing rcvif to be removed. ok mpi@ dlg@ uebayasi@
* Convert to if_input().mpi2015-04-301-7/+4
| | | | Tested by jmatthew@
* unifdef INETtedu2014-12-221-3/+1
|
* Use <sys/endian.h> instead of <machine/endian.h>guenther2014-12-191-2/+2
| | | | ok dlg@ mpi@ bcook@ millert@ miod@
* Do not extern octeon_boot_info, <machine/octeonvar.h> declares it for you.miod2014-08-111-3/+2
|
* Do not use CKSEG0 to quickly map physical addresses, but XKPHYS, for we aremiod2014-08-111-11/+11
| | | | not limited to 512MB physmem.
* Remove evcnt and %b format strings relying upon SEIL extensions. This givesmiod2014-08-111-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.miod2014-08-111-126/+119
|
* <netinet/in_systm.h> is no longer needed.mpi2014-07-221-6/+1
|
* various format string fixes and remove -Wno-format from octeonjasper2014-05-101-2/+2
| | | | feedback/ok miod@
* - fix the mediastatus when the interface is not configured.jasper2014-03-101-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_attachjmatthew2013-09-161-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 theybluhm2013-08-171-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.bcallah2013-04-121-12/+12
| | | | ok jasper@
* - remove two now-unused macros.jasper2013-03-211-15/+1
| | | | ok yasuoka@
* fix detection of the MAC address by reading it from the correct address,jasper2013-03-211-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@yasuoka2011-07-031-2/+2
| | | | ok yasuoka@
* - add missing #include "bpfilter.h" on if_cnmac.yasuoka2011-07-031-2/+2
| | | | | | - delete #include <sys/cdefs.h> because it's unnecessary. ok brad@
* Remove SET/CLR/ISSET macros from Octeon code. The kernel already providesyasuoka2011-06-241-7/+1
| | | | | | | these macros. This diff from brad@ built test and ok yasuoka@
* some fixes for cnmac(4)yasuoka2011-06-221-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 toyasuoka2011-06-191-18/+16
| | | | | | | the proper location. this diff from brad@ ok and tested by yasuoka@
* add missing the copyright notice.yasuoka2011-06-171-1/+26
| | | | | | delete garbage lines. ok syuu@
* Ethernet driver merged from IIJ's contribution code.syuu2011-06-161-0/+1689