• Miguel Jimenez Lopez's avatar
    dev/ep_pfilter: Updated filter rules for wr-nic (with etherbone) project. · 8accf456
    Miguel Jimenez Lopez authored
    	- Added the NIC_PFILTER configuration option in Kconfig to decide which filter rules will be used.
    	- Updated the dev/ep_pfilter.c file by using the CONFIG_NIC_PFILTER macro. This is done because packet filter does
    	not work correctly if we write all rules in the CONFIG_ETHERBONE section.
    	- We do not use the DROP instruction because all other packets go to NIC core.
    
    Notes:
    
    	- The filter rules to the wr-nic do not have the DROP instruction because all traffic
    	does not go to the LM32/Etherbone is re-direct to the NIC by default.
    
    	- The NIC_PFILTER configuration option depends on ETHERBONE one.
    
    	- Magic number of Etherbone packets is not checked due to the number of rules. (The packet filter is not able to classify correctly)
    8accf456
Name
Last commit
Last update
arch/lm32 Loading commit data...
boards/arria Loading commit data...
configs Loading commit data...
dev Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
monitor Loading commit data...
pp_printf Loading commit data...
ppsi @ 76d6d839
ptp-noposix @ 5f17003f
scripts Loading commit data...
sdb-lib Loading commit data...
shell Loading commit data...
softpll Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
bigobj.lds Loading commit data...
check-error.c Loading commit data...
revision.c Loading commit data...
wrc_main.c Loading commit data...
wrc_ptp.h Loading commit data...
wrc_ptp_noposix.c Loading commit data...