Gregory Nutt
|
09f4dee6bc
All network drivers! Change pre-processor logic that selects the high priority work queue or gives preferential treatment to the high priority work. All network logic must run on the low priority work queue! Or suffer the consequences.
|
6 years ago |
Gregory Nutt
|
6d93658ff8
Add new configuratin CONFIG_NET_MCASTGROUP. This option is selected automatically if either CONFIG_NET_IGMP or CONFIG_NET_MLD are selected. Most conditional logic based on CONFIG_NET_IGMP replaced with conditioning on CONFIG_NET_MCASTGROUP.
|
6 years ago |
Gregory Nutt
|
9bc951a335
Rename devif_loopback_out to devi_loopback
|
6 years ago |
Xiang Xiao
|
0074afa0ac
net/netdev: add devif_loopback_out() to check the loopback case where a packet is being sent to itself. Modify the net driver to call this function in this case. This function will simply re-inject the packet back into the network and the network driver will not put anything on the wire.
|
6 years ago |
Gregory Nutt
|
22cd0d47fa
This commit attempts remove some long standard confusion in naming and some actual problems that result from the naming confusion. The basic problem is the standard MTU does not include the size of the Ethernet header. For clarity, I changed the naming of most things called MTU to PKTSIZE. For example, CONFIG_NET_ETH_MTU is now CONFIG_NET_ETH_PKTSIZE.
|
6 years ago |
Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 years ago |
Gregory Nutt
|
a8b6be4aaf
The existence of the network driver ioctl() method should depend on CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL. The former enables the method, the later enables a subset of possible driver IOCTLs. This change should be basically a no-operation. The affected ioctl methods only support those subset of driver IOCTLs selected by CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl method.
|
6 years ago |
Gregory Nutt
|
79256573e1
net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment.
|
7 years ago |
Gregory Nutt
|
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
|
7 years ago |
Gregory Nutt
|
86239d4a73
Experimental change to STM32 Ethernet driver a success. Porting change to all other Ethernet drivers.
|
7 years ago |
Mark Schulte
|
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
|
7 years ago |
Gregory Nutt
|
8ee2e8d8b0
Most Ethernet drviers: Check if the poll timer is running before restarting it at the end of each TX.
|
7 years ago |
Gregory Nutt
|
7467329a98
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
|
8 years ago |
Gregory Nutt
|
43459fe75e
DM09x0 Ethernet now supports CONFIG_NET_NOINTS
|
8 years ago |
Gregory Nutt
|
96be43b270
drivers/net/: Adapt all Ethernet drivers to work as though CONFIG_NET_MULTIBUFFER were set. Remove all references to CONFIG_NET_MULTIBUFFER
|
8 years ago |
Gregory Nutt
|
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
|
8 years ago |
Gregory Nutt
|
efb02f2ef1
drivers/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network evernts are not errors.
|
8 years ago |
Gregory Nutt
|
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
8 years ago |
Gregory Nutt
|
e99301d7c2
Rename *lldbg to *llerr
|
8 years ago |
Gregory Nutt
|
fc3540cffe
Replace all occurrences of vdbg with vinfo
|
8 years ago |
Gregory Nutt
|
44353f320c
Replace confusing references to uIP with just 'the network'
|
8 years ago |
Gregory Nutt
|
2244ed46bc
nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
8 years ago |
Gregory Nutt
|
216eea4543
Net: Fix some errors introduced into the ENC28J60 driver; fix type of wd_start arguments.
|
8 years ago |
Gregory Nutt
|
dea24c503a
Networking: Remove the HSEC argument from devif_timer.
|
8 years ago |
Gregory Nutt
|
2a93c66948
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
|
9 years ago |
Gregory Nutt
|
796d52b3e1
Fix a typo introduced with last commits
|
9 years ago |
Gregory Nutt
|
cf14f8d1b5
drivers/: Fixes to spacing and alignement
|
9 years ago |
Gregory Nutt
|
0b12dbf95d
Fix some spacing problems
|
9 years ago |
Paul A. Patience
|
3b89eabd50
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2.
|
9 years ago |
Gregory Nutt
|
e4d2822af8
Make some file section headers more consistent with standard
|
9 years ago |