@@ -158,6 +158,55 @@ definitions:
158158 -
159159 name : pse-event-sw-pw-control-error
160160 doc : PSE faced an error managing the power control from software
161+ -
162+ name : input-xfrm
163+ doc : RSS hash function transformations.
164+ type : flags
165+ enum-name :
166+ name-prefix : rxh-xfrm-
167+ header : linux/ethtool.h
168+ entries :
169+ -
170+ name : sym-xor
171+ doc : >-
172+ XOR the corresponding source and destination fields of each specified
173+ protocol. Both copies of the XOR'ed fields are fed into the RSS and
174+ RXHASH calculation. Note that this XORing reduces the input set
175+ entropy and could be exploited to reduce the RSS queue spread.
176+ -
177+ name : sym-or-xor
178+ doc : >-
179+ Similar to SYM_XOR, except that one copy of the XOR'ed fields is
180+ replaced by an OR of the same fields.
181+ -
182+ name : rxfh-fields
183+ name-prefix : rxh-
184+ enum-name :
185+ header : linux/ethtool.h
186+ type : flags
187+ entries :
188+ -
189+ name : l2da
190+ value : 1
191+ -
192+ name : vlan
193+ -
194+ name : l3-proto
195+ -
196+ name : ip-src
197+ -
198+ name : ip-dst
199+ -
200+ name : l4-b-0-1
201+ doc : src port in case of TCP/UDP/SCTP
202+ -
203+ name : l4-b-2-3
204+ doc : dst port in case of TCP/UDP/SCTP
205+ -
206+ name : gtp-teid
207+ -
208+ name : discard
209+ value : 31
161210
162211attribute-sets :
163212 -
@@ -1447,6 +1496,123 @@ attribute-sets:
14471496 name : pse-prio
14481497 type : u32
14491498 name-prefix : ethtool-a-
1499+ -
1500+ name : flow
1501+ attr-cnt-name : --ethtool-a-flow-cnt
1502+ doc : |
1503+ Flow types, corresponding to those defined in the old
1504+ ethtool header for RXFH and RXNFC as ${PROTO}_FLOW.
1505+ The values are not matching the old ones to avoid carrying
1506+ into Netlink the IP_USER_FLOW vs IPV4_FLOW vs IPV4_USER_FLOW confusion.
1507+ attributes :
1508+ -
1509+ name : ether
1510+ type : uint
1511+ enum : rxfh-fields
1512+ -
1513+ name : ip4
1514+ type : uint
1515+ enum : rxfh-fields
1516+ -
1517+ name : ip6
1518+ type : uint
1519+ enum : rxfh-fields
1520+ -
1521+ name : tcp4
1522+ type : uint
1523+ enum : rxfh-fields
1524+ -
1525+ name : tcp6
1526+ type : uint
1527+ enum : rxfh-fields
1528+ -
1529+ name : udp4
1530+ type : uint
1531+ enum : rxfh-fields
1532+ -
1533+ name : udp6
1534+ type : uint
1535+ enum : rxfh-fields
1536+ -
1537+ name : sctp4
1538+ type : uint
1539+ enum : rxfh-fields
1540+ -
1541+ name : sctp6
1542+ type : uint
1543+ enum : rxfh-fields
1544+ -
1545+ name : ah4
1546+ type : uint
1547+ enum : rxfh-fields
1548+ -
1549+ name : ah6
1550+ type : uint
1551+ enum : rxfh-fields
1552+ -
1553+ name : esp4
1554+ type : uint
1555+ enum : rxfh-fields
1556+ -
1557+ name : esp6
1558+ type : uint
1559+ enum : rxfh-fields
1560+ -
1561+ name : ah-esp4
1562+ type : uint
1563+ enum : rxfh-fields
1564+ -
1565+ name : ah-esp6
1566+ type : uint
1567+ enum : rxfh-fields
1568+ -
1569+ name : gtpu4
1570+ type : uint
1571+ enum : rxfh-fields
1572+ -
1573+ name : gtpu6
1574+ type : uint
1575+ enum : rxfh-fields
1576+ -
1577+ name : gtpc4
1578+ type : uint
1579+ enum : rxfh-fields
1580+ -
1581+ name : gtpc6
1582+ type : uint
1583+ enum : rxfh-fields
1584+ -
1585+ name : gtpc-teid4
1586+ type : uint
1587+ enum : rxfh-fields
1588+ -
1589+ name : gtpc-teid6
1590+ type : uint
1591+ enum : rxfh-fields
1592+ -
1593+ name : gtpu-eh4
1594+ type : uint
1595+ enum : rxfh-fields
1596+ -
1597+ name : gtpu-eh6
1598+ type : uint
1599+ enum : rxfh-fields
1600+ -
1601+ name : gtpu-ul4
1602+ type : uint
1603+ enum : rxfh-fields
1604+ -
1605+ name : gtpu-ul6
1606+ type : uint
1607+ enum : rxfh-fields
1608+ -
1609+ name : gtpu-dl4
1610+ type : uint
1611+ enum : rxfh-fields
1612+ -
1613+ name : gtpu-dl6
1614+ type : uint
1615+ enum : rxfh-fields
14501616 -
14511617 name : rss
14521618 attr-cnt-name : __ethtool-a-rss-cnt
@@ -1475,9 +1641,14 @@ attribute-sets:
14751641 -
14761642 name : input-xfrm
14771643 type : u32
1644+ enum : input-xfrm
14781645 -
14791646 name : start-context
14801647 type : u32
1648+ -
1649+ name : flow-hash
1650+ type : nest
1651+ nested-attributes : flow
14811652 -
14821653 name : plca
14831654 attr-cnt-name : __ethtool-a-plca-cnt
@@ -2171,16 +2342,16 @@ operations:
21712342
21722343 do : &module-eeprom-get-op
21732344 request :
2174- attributes :
2175- - header
2176- reply :
21772345 attributes :
21782346 - header
21792347 - offset
21802348 - length
21812349 - page
21822350 - bank
21832351 - i2c-address
2352+ reply :
2353+ attributes :
2354+ - header
21842355 - data
21852356 dump : *module-eeprom-get-op
21862357 -
@@ -2307,6 +2478,7 @@ operations:
23072478 - indir
23082479 - hkey
23092480 - input-xfrm
2481+ - flow-hash
23102482 dump :
23112483 request :
23122484 attributes :
@@ -2492,13 +2664,66 @@ operations:
24922664 attributes :
24932665 - header
24942666 - events
2667+ -
2668+ name : rss-set
2669+ doc : Set RSS params.
2670+
2671+ attribute-set : rss
2672+
2673+ do :
2674+ request :
2675+ attributes :
2676+ - header
2677+ - context
2678+ - hfunc
2679+ - indir
2680+ - hkey
2681+ - input-xfrm
2682+ - flow-hash
24952683 -
24962684 name : rss-ntf
24972685 doc : |
24982686 Notification for change in RSS configuration.
2499- For additional contexts only modifications are modified, not creation
2500- or removal of the contexts .
2687+ For additional contexts only modifications use this notification,
2688+ creation and deletion have dedicated messages .
25012689 notify : rss-get
2690+ -
2691+ name : rss-create-act
2692+ doc : Create an RSS context.
2693+ attribute-set : rss
2694+ do :
2695+ request : &rss-create-attrs
2696+ attributes :
2697+ - header
2698+ - context
2699+ - hfunc
2700+ - indir
2701+ - hkey
2702+ - input-xfrm
2703+ reply : *rss-create-attrs
2704+ -
2705+ name : rss-create-ntf
2706+ doc : |
2707+ Notification for creation of an additional RSS context.
2708+ notify : rss-create-act
2709+ -
2710+ name : rss-delete-act
2711+ doc : Delete an RSS context.
2712+ attribute-set : rss
2713+ do :
2714+ request :
2715+ attributes :
2716+ - header
2717+ - context
2718+ -
2719+ name : rss-delete-ntf
2720+ doc : |
2721+ Notification for deletion of an additional RSS context.
2722+ attribute-set : rss
2723+ event :
2724+ attributes :
2725+ - header
2726+ - context
25022727
25032728mcast-groups :
25042729 list :
0 commit comments