On Tue, Aug 22, 2017 at 5:16 AM, Mattias Barthel <mbart...@accedian.com> wrote: > Hello, > > > I am trying to add hw timestamping to the igbvf driver in a KVM guest. > > But some of the registers I need to access are offset further away than the > BAR0 size (16k). > > pci 0000:00:0d.0: reg 10: [mem 0xfebd4000-0xfebd7fff] > > ls -l /sys/bus/pci/devices/0000\:00\:0d.0/resource0 > -rw------- 1 root root 16384 Aug 22 12:00 > /sys/bus/pci/devices/0000:00:0d.0/resource0 > > > I need for instance to access register: > #define E1000_TSAUXC 0x0B640 /* Timesync Auxiliary Control register */ > > But this is of course not mapped. > > I get the feeling this is not meant to be working but I would like some > confirmation, please. > > Any help is highly appreciated. > > > Regards, > Mattias
Timestamping for the VF isn't meant to be supported. The main issue is that you cannot have the clock for the PF getting synced to multiple guests since there is only one clock in the part. If you need timestamping in the guest you would need to use the igb driver on the PF. - Alex ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired