lijiaping 6e6212c4f1 Use PCI_SLOT_NAME cut instead of ls -ld cut more precisely
If the vf port file like /sys/class/net/ens4f0/device/virtfn0 date is
'Jan 5', ls -ld result will be 'Jan  5', there are two space between
Jan and 5, if use the old "cut -f 11 -d ''", it will not get the vf pci
id, should be cut 12. So here we use the context in
/sys/class/net/p2p1/device/virtfn*/uevent, do with it will be more
precise.

Change-Id: If7145744bc66514e33f08071a07238ab8c7c7786
2021-01-07 18:16:51 +08:00
..
2017-09-18 01:09:50 +00:00
2020-08-28 20:21:07 +00:00
2019-01-09 13:55:36 +00:00
2020-10-05 08:44:26 +01:00
2020-08-28 20:21:07 +00:00