Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
31
Issues
31
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
7bab5d84
Commit
7bab5d84
authored
Jan 20, 2016
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pfilter-cleanup'
parents
0a74c14f
e35610a6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
168 additions
and
134 deletions
+168
-134
Kconfig
Kconfig
+0
-11
Makefile
Makefile
+1
-3
wrnic_defconfig
configs/wrnic_defconfig
+0
-1
pfilter-builder.c
tools/pfilter-builder.c
+167
-119
No files found.
Kconfig
View file @
7bab5d84
...
...
@@ -83,17 +83,6 @@ config CMD_CONFIG
reports the current configuration. This adds half a kilobyte
to the binary size (100b for the code plus the .config file).
config NIC_PFILTER
depends on WR_NODE
depends on ETHERBONE
bool "Add packet filter rules for wr-nic"
help
When using wr-nic (7S), the host must receive frames that are not
ptp nor etherbone ones. This adds the needed filter rules
to that effect. Such rules are not needed when no Etherbone
is there, because in that case all non-ptp frames reach the
host.
#
# This is a set of configuration options that should not be changed by
# normal users. If the "developer" menu is used, the binary is tainted.
...
...
Makefile
View file @
7bab5d84
...
...
@@ -60,9 +60,7 @@ LDFLAGS_PLATFORM = -mmultiply-enabled -mbarrel-shift-enabled \
-nostdlib
-T
$
(
LDS-y
)
# packet-filter rules depend on configuration; default is rules-plain
pfilter-y
:=
rules-plain.bin
pfilter-$(CONFIG_IP)
:
= rules-ebone.bin
pfilter-$(CONFIG_NIC_PFILTER)
:
= rules-e+nic.bin
pfilter-y
:=
rules-default.bin
export
pfilter-y
all
:
...
...
configs/wrnic_defconfig
View file @
7bab5d84
...
...
@@ -10,7 +10,6 @@ CONFIG_PPSI=y
CONFIG_UART=y
CONFIG_W1=y
CONFIG_IP=y
CONFIG_NIC_PFILTER=y
# CONFIG_CMD_CONFIG is not set
#
...
...
tools/pfilter-builder.c
View file @
7bab5d84
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment