
Table continued from the previous page...
Source file
Description
enetc_vf.c
ENETC VF driver, ENETC VSI specific code
enetc.c, enetc.h
Packet processing and other PF and VF common logic
enetc_hw.h
ENETC h/w specific defines (reg offsets, BDR structs etc.)
enetc_ethtool.c
ethtool support
enetc_cbdr.c
ENETC Control Buffer Descriptor Ring support
enetc_msg.c
ENETC VF-PF Messaging support
Linux runtime verification
ENETC PF driver probing
# modprobe fsl-
enetc
iommu: Adding device 0000:00:00.0 to group
0
fsl_enetc 0000:00:00.0: enabling device (0400 ->
0402)
[…]
fsl_enetc 0000:00:00.0 eth0: ENETC PF driver
v0.9
iommu: Adding device 0000:00:00.1 to group
1
fsl_enetc 0000:00:00.1: enabling device (0400 ->
0402)
[…]
fsl_enetc 0000:00:00.1 eth1: ENETC PF driver
v0.9
iommu: Adding device 0000:00:00.2 to group
2
fsl_enetc 0000:00:00.2: enabling device (0400 ->
0402)
[…]
fsl_enetc 0000:00:00.2 eth2: ENETC PF driver
v0.9
iommu: Adding device 0000:00:00.6 to group
3
fsl_enetc 0000:00:00.6: enabling device (0400 ->
0402)
[…]
fsl_enetc 0000:00:00.6 eth3: ENETC PF driver v0.9
#
ENETC VF driver probing
For example: probing ENETC VF0 of ENETC PF0 (Port0)
# echo 1 > /sys/bus/pci/devices/0000\:00\:00.0/sriov_numvfs
fsl_enetc 0000:00:00.0: SR-IOV start, 1 VFs
# modprobe fsl-enetc-
Device Drivers
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
NXP Semiconductors
93
Содержание Layerscape LS1028A BSP
Страница 135: ......