You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xen-api/extensions.md
-97Lines changed: 0 additions & 97 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,103 +45,6 @@ The control domain privileged user-space interfaces can now be restricted to onl
45
45
46
46
- The VNC guest consoles are bound only to the `localhost` interface, so that they are not exposed externally even if the control domain packet filter is disabled by user intervention.
47
47
48
-
Advanced settings for network interfaces
49
-
----------------------------------------
50
-
51
-
Virtual and physical network interfaces have some advanced settings that can be configured using the `other-config` map parameter. There is a set of custom ethtool settings and some miscellaneous settings.
52
-
53
-
### ethtool settings
54
-
55
-
Developers might wish to configure custom ethtool settings for physical and virtual network interfaces. This is accomplished with `ethtool-<option>` keys in the `other-config` map parameter.
56
-
57
-
<table>
58
-
<colwidth="20%" />
59
-
<colwidth="49%" />
60
-
<colwidth="28%" />
61
-
<thead>
62
-
<trclass="header">
63
-
<thalign="left">Key</th>
64
-
<thalign="left">Description</th>
65
-
<thalign="left">Valid settings</th>
66
-
</tr>
67
-
</thead>
68
-
<tbody>
69
-
<trclass="odd">
70
-
<tdalign="left">ethtool-rx</td>
71
-
<tdalign="left">Specify if RX checksumming is enabled</td>
72
-
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
73
-
</tr>
74
-
<trclass="even">
75
-
<tdalign="left">ethtool-tx</td>
76
-
<tdalign="left">Specify if TX checksumming is enabled</td>
77
-
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
78
-
</tr>
79
-
<trclass="odd">
80
-
<tdalign="left">ethtool-sg</td>
81
-
<tdalign="left">Specify if scatter-gather is enabled</td>
82
-
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
83
-
</tr>
84
-
<trclass="even">
85
-
<tdalign="left">ethtool-tso</td>
86
-
<tdalign="left">Specify if tcp segmentation offload is enabled</td>
87
-
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
88
-
</tr>
89
-
<trclass="odd">
90
-
<tdalign="left">ethtool-ufo</td>
91
-
<tdalign="left">Specify if UDP fragmentation offload is enabled</td>
92
-
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
93
-
</tr>
94
-
<trclass="even">
95
-
<tdalign="left">ethtool-gso</td>
96
-
<tdalign="left">Specify if generic segmentation offload is enabled</td>
97
-
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
98
-
</tr>
99
-
<trclass="odd">
100
-
<tdalign="left">ethtool-autone g</td>
101
-
<tdalign="left">Specify if autonegotiation is enabled</td>
102
-
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
103
-
</tr>
104
-
<trclass="even">
105
-
<tdalign="left">ethtool-speed</td>
106
-
<tdalign="left">Set the device speed in Mb/s</td>
107
-
<tdalign="left">10, 100, or 1000</td>
108
-
</tr>
109
-
<trclass="odd">
110
-
<tdalign="left">ethtool-duplex</td>
111
-
<tdalign="left">Set full or half duplex mode</td>
112
-
<tdalign="left">half or full</td>
113
-
</tr>
114
-
</tbody>
115
-
</table>
116
-
117
-
For example, to enable TX checksumming on a virtual NIC using the xe CLI:
You can also set a promiscuous mode on a VIF or PIF by setting the `promiscuous` key to `on`. For example, to enable promiscuous mode on a physical NIC using the xe CLI:
The VIF and PIF objects have a `MTU` parameter that is read-only and provide the current setting of the maximum transmission unit for the interface. You can override the default maximum transmission unit of a physical or virtual NIC with the `mtu` key in the `other-config` map parameter. For example, to reset the MTU on a virtual NIC to use jumbo frames using the xe CLI:
Note that changing the MTU of underlying interfaces is an advanced and experimental feature, and may lead to unexpected side-effects if you have varying MTUs across NICs in a single resource pool.
Virtual and physical network interfaces have some advanced settings that can be configured using the `other-config` map parameter. There is a set of custom ethtool settings and some miscellaneous settings.
10
+
11
+
### ethtool settings
12
+
13
+
Developers might wish to configure custom ethtool settings for physical and virtual network interfaces. This is accomplished with `ethtool-<option>` keys in the `other-config` map parameter.
14
+
15
+
<table>
16
+
<colwidth="20%" />
17
+
<colwidth="49%" />
18
+
<colwidth="28%" />
19
+
<thead>
20
+
<trclass="header">
21
+
<thalign="left">Key</th>
22
+
<thalign="left">Description</th>
23
+
<thalign="left">Valid settings</th>
24
+
</tr>
25
+
</thead>
26
+
<tbody>
27
+
<trclass="odd">
28
+
<tdalign="left">ethtool-rx</td>
29
+
<tdalign="left">Specify if RX checksumming is enabled</td>
30
+
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
31
+
</tr>
32
+
<trclass="even">
33
+
<tdalign="left">ethtool-tx</td>
34
+
<tdalign="left">Specify if TX checksumming is enabled</td>
35
+
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
36
+
</tr>
37
+
<trclass="odd">
38
+
<tdalign="left">ethtool-sg</td>
39
+
<tdalign="left">Specify if scatter-gather is enabled</td>
40
+
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
41
+
</tr>
42
+
<trclass="even">
43
+
<tdalign="left">ethtool-tso</td>
44
+
<tdalign="left">Specify if tcp segmentation offload is enabled</td>
45
+
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
46
+
</tr>
47
+
<trclass="odd">
48
+
<tdalign="left">ethtool-ufo</td>
49
+
<tdalign="left">Specify if UDP fragmentation offload is enabled</td>
50
+
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
51
+
</tr>
52
+
<trclass="even">
53
+
<tdalign="left">ethtool-gso</td>
54
+
<tdalign="left">Specify if generic segmentation offload is enabled</td>
55
+
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
56
+
</tr>
57
+
<trclass="odd">
58
+
<tdalign="left">ethtool-autone g</td>
59
+
<tdalign="left">Specify if autonegotiation is enabled</td>
60
+
<tdalign="left"><code>on</code> or <code>true</code> to enable the setting, <code>off</code> or <code>false</code> to disable it</td>
61
+
</tr>
62
+
<trclass="even">
63
+
<tdalign="left">ethtool-speed</td>
64
+
<tdalign="left">Set the device speed in Mb/s</td>
65
+
<tdalign="left">10, 100, or 1000</td>
66
+
</tr>
67
+
<trclass="odd">
68
+
<tdalign="left">ethtool-duplex</td>
69
+
<tdalign="left">Set full or half duplex mode</td>
70
+
<tdalign="left">half or full</td>
71
+
</tr>
72
+
</tbody>
73
+
</table>
74
+
75
+
For example, to enable TX checksumming on a virtual NIC using the xe CLI:
You can also set a promiscuous mode on a VIF or PIF by setting the `promiscuous` key to `on`. For example, to enable promiscuous mode on a physical NIC using the xe CLI:
The VIF and PIF objects have a `MTU` parameter that is read-only and provide the current setting of the maximum transmission unit for the interface. You can override the default maximum transmission unit of a physical or virtual NIC with the `mtu` key in the `other-config` map parameter. For example, to reset the MTU on a virtual NIC to use jumbo frames using the xe CLI:
Note that changing the MTU of underlying interfaces is an advanced and experimental feature, and may lead to unexpected side-effects if you have varying MTUs across NICs in a single resource pool.
0 commit comments