diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-17 12:11:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 12:11:45 +0200 |
commit | f4b7b705297b0f6353dbe65c413109d6c136019d (patch) | |
tree | a3f202b438a8c87ed495ee76a66adc711d6c947c /interface-definitions | |
parent | 43359c2b824d53b5f82dea937f817139cbf77f8f (diff) | |
parent | 2fc157115cb358afba89f92a761c6617159624fc (diff) | |
download | vyos-1x-f4b7b705297b0f6353dbe65c413109d6c136019d.tar.gz vyos-1x-f4b7b705297b0f6353dbe65c413109d6c136019d.zip |
Merge pull request #546 from DmitriyEshenko/cur-1x-rb
ethernet: T2891: Add ethernet ring-buffer CLI commands
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-ethernet.xml.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-ethernet.xml.in b/interface-definitions/interfaces-ethernet.xml.in index e8f3f09f1..0aef0d332 100644 --- a/interface-definitions/interfaces-ethernet.xml.in +++ b/interface-definitions/interfaces-ethernet.xml.in @@ -268,6 +268,37 @@ </properties> <defaultValue>auto</defaultValue> </leafNode> + <node name="ring-buffer"> + <properties> + <help>Shared buffer between the device driver and NIC</help> + </properties> + <children> + <leafNode name="rx"> + <properties> + <help>RX ring buffer</help> + <valueHelp> + <format>80-16384</format> + <description>ring buffer size</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 80-16384"/> + </constraint> + </properties> + </leafNode> + <leafNode name="tx"> + <properties> + <help>TX ring buffer</help> + <valueHelp> + <format>80-16384</format> + <description>ring buffer size</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 80-16384"/> + </constraint> + </properties> + </leafNode> + </children> + </node> #include <include/vif-s.xml.i> #include <include/vif.xml.i> </children> |