forked from storpool/ixgbevf-udevhelper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathixgbevf-udevhelper.conf
121 lines (105 loc) · 4.3 KB
/
ixgbevf-udevhelper.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# The MIT License (MIT)
#
# Copyright (c) 2015-2018 StorPool Storage AD
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
#---------------------------------------------------------------------------
# This file should be placed as /etc/ixgbevf-udevhelper.conf
# Required by /lib/udev/ixgbevf-udevhelper
#---------------------------------------------------------------------------
# template for VF interface name
# expandable variables
# _PFNAME_ - (string) name of the physical interface
# _VFID_ - (number) VF id
#VFNAME_TEMPLATE="_PFNAME__vf_VFID_"
# Comma or space separated list of NIC's PCI id to bring up VF interfaces
#PCI_SLOT_LIST="0000:04:00.0,0000:04:00.1"
# Comma or space separated list. Must match the PCI_SLOT_LIST
# For each PCI_SLOT of PCI_SLOT_LIST set the number of interfaces to bring up
# Example:
#PCI_NUMVFS_LIST="1,1"
# optional turn off spoof check on the VF interfaces
# Must match the number of VFs enabled for the given PCI interface.
# The interface naming convention format:
# PCI<PCI_SLOT_LIST ID>_VF_SPOOFCHK_LIST="off>[,on...]"
# Default is 'on'
# Example:
#PCI0_VF_SPOOFCHK_LIST="off,on"
#PCI1_VF_SPOOFCHK_LIST="off,on"
# Only trusted VF can enable Multicast promiscuous mode
# Must match the number of VFs enabled for the given PCI interface.
# The interface naming convention format:
# PCI<PCI_SLOT_LIST ID>_VF_TRUST_LIST="on[,off...]"
# Default is 'off'
# Example:
#PCI0_VF_TRUST_LIST="on,off"
#PCI1_VF_TRUST_LIST="on,off"
# optional set VLAN for each VF interface
# Must match the number of VFs enabled for the given PCI interface.
# The interface naming convention format:
# PCI<PCI_SLOT_LIST ID>_VF_VLAN_LIST="<VLAN_ID>[,<VLAN_ID>...]"
# Example:
#PCI0_VF_VLAN_LIST="16,17"
#PCI1_VF_VLAN_LIST="61,71"
# optional set MTU for each VF interface
# Must match the number of VFs enabled for the given PCI interface.
# The interface naming convention format:
# PCI<PCI_SLOT_LIST ID>_VF_MTU_LIST="<mtu>[,<mtu>...]"
# Example:
#PCI0_VF_MTU_LIST="9000,9000"
#PCI1_VF_MTU_LIST="9000,1500"
# overrdie VFNAME_TEMPLATE naming for given VF interface
# Must match the number of VFs enabled for the given PCI interface.
# Leave single dash (-) where the default VFNAME_TEMPALTE should be used
#
# The interface naming convention format:
# PCI<PCI_SLOT_LIST ID>_VF_TEMPLATE_LIST="<template>[,<template>...]"
# Example:
#PCI0_VF_TEMPLATE_LIST="spnet0,-"
#PCI1_VF_TEMPLATE_LIST="spnet1,-"
# optional set primary interface MTU
# It will be overridden by the VF MTU setting
# For each PCI_SLOT of PCI_SLOT_LIST set the MTU
# Some drivers do not allow changing the VF MTU when the MTU on the parent
# interface differ.
# Example:
#PCI_MTU_LIST="9000,1500"
# By default the VF interface will be renamed following the Template rules.
# To leave the renaming of the VF interface to udev uncomment the following.
#RENAME_VF_INTERFACE='no'
#
# The VF interface will be bring up before setting it's MTU.
# To disable this behavior uncomment the following
#VF_UP_BEFORE_MTU='no'
#
# Wait for VF information is sysfs to be populated
# On a slow/busy system the value could be increased
# Default: 30
#NUMVFS_WAIT=30
#
# The hardware filtering in the nic is enabled by default. _ethtool_ is required.
# To disable set to 'no'
#
# Default: 'yes'
#HARDWARE_FILTERING=yes
#
# To enable verbose/debug/ logging to syslog uncomment the following
#
#DEBUG=1