Message ID | 20240418052500.50678-1-mateusz.polchlopek@intel.com (mailing list archive) |
---|---|
Headers | show |
Series | Add support for Rx timestamping for both ice and iavf drivers. | expand |
On Thu, 18 Apr, 2024 01:24:48 -0400 Mateusz Polchlopek <mateusz.polchlopek@intel.com> wrote: > Initially, during VF creation it registers the PTP clock in > the system and negotiates with PF it's capabilities. In the > meantime the PF enables the Flexible Descriptor for VF. > Only this type of descriptor allows to receive Rx timestamps. > > Enabling virtual clock would be possible, though it would probably > perform poorly due to the lack of direct time access. > > Enable timestamping should be done using SIOCSHWTSTAMP ioctl, > e.g. > hwstamp_ctl -i $VF -r 14 > > In order to report the timestamps to userspace, the VF extends > timestamp to 40b. > > To support this feature the flexible descriptors and PTP part > in iavf driver have been introduced. > > --- Just one general/cosmetic comment. It might make more sense for the Reviewed-by: trailer to come after the Signed-off-by: trailer, since the review happens after the patches have been written. -- Thanks, Rahul Rameshbabu
On 4/18/2024 10:19 PM, Rahul Rameshbabu wrote: > > On Thu, 18 Apr, 2024 01:24:48 -0400 Mateusz Polchlopek <mateusz.polchlopek@intel.com> wrote: >> Initially, during VF creation it registers the PTP clock in >> the system and negotiates with PF it's capabilities. In the >> meantime the PF enables the Flexible Descriptor for VF. >> Only this type of descriptor allows to receive Rx timestamps. >> >> Enabling virtual clock would be possible, though it would probably >> perform poorly due to the lack of direct time access. >> >> Enable timestamping should be done using SIOCSHWTSTAMP ioctl, >> e.g. >> hwstamp_ctl -i $VF -r 14 >> >> In order to report the timestamps to userspace, the VF extends >> timestamp to 40b. >> >> To support this feature the flexible descriptors and PTP part >> in iavf driver have been introduced. >> >> --- > > Just one general/cosmetic comment. It might make more sense for the > Reviewed-by: trailer to come after the Signed-off-by: trailer, since the > review happens after the patches have been written. > > -- > Thanks, > > Rahul Rameshbabu Hmmm... I think that the Signed-off-by added by sender should be the last one on the list if there is Co-developed-by before. Thanks for overall review! Mateusz
On Mon, 22 Apr, 2024 11:37:14 +0200 Mateusz Polchlopek <mateusz.polchlopek@intel.com> wrote: > On 4/18/2024 10:19 PM, Rahul Rameshbabu wrote: >> On Thu, 18 Apr, 2024 01:24:48 -0400 Mateusz Polchlopek >> <mateusz.polchlopek@intel.com> wrote: >>> Initially, during VF creation it registers the PTP clock in >>> the system and negotiates with PF it's capabilities. In the >>> meantime the PF enables the Flexible Descriptor for VF. >>> Only this type of descriptor allows to receive Rx timestamps. >>> >>> Enabling virtual clock would be possible, though it would probably >>> perform poorly due to the lack of direct time access. >>> >>> Enable timestamping should be done using SIOCSHWTSTAMP ioctl, >>> e.g. >>> hwstamp_ctl -i $VF -r 14 >>> >>> In order to report the timestamps to userspace, the VF extends >>> timestamp to 40b. >>> >>> To support this feature the flexible descriptors and PTP part >>> in iavf driver have been introduced. >>> >>> --- >> Just one general/cosmetic comment. It might make more sense for the >> Reviewed-by: trailer to come after the Signed-off-by: trailer, since the >> review happens after the patches have been written. >> -- >> Thanks, >> Rahul Rameshbabu > > Hmmm... I think that the Signed-off-by added by sender should be the > last one on the list if there is Co-developed-by before. Sorry, my bad, I should have expressed this better. On the first patch for example. My expectation for the trailer order would have been the following. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> instead of Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> I think for the ones with Co-developed-by:, you are right that the ordering would be strange to re-arrange. -- Thanks, Rahul Rameshbabu
On 4/23/2024 7:57 AM, Rahul Rameshbabu wrote: > > On Mon, 22 Apr, 2024 11:37:14 +0200 Mateusz Polchlopek <mateusz.polchlopek@intel.com> wrote: >> On 4/18/2024 10:19 PM, Rahul Rameshbabu wrote: >>> On Thu, 18 Apr, 2024 01:24:48 -0400 Mateusz Polchlopek >>> <mateusz.polchlopek@intel.com> wrote: >>>> Initially, during VF creation it registers the PTP clock in >>>> the system and negotiates with PF it's capabilities. In the >>>> meantime the PF enables the Flexible Descriptor for VF. >>>> Only this type of descriptor allows to receive Rx timestamps. >>>> >>>> Enabling virtual clock would be possible, though it would probably >>>> perform poorly due to the lack of direct time access. >>>> >>>> Enable timestamping should be done using SIOCSHWTSTAMP ioctl, >>>> e.g. >>>> hwstamp_ctl -i $VF -r 14 >>>> >>>> In order to report the timestamps to userspace, the VF extends >>>> timestamp to 40b. >>>> >>>> To support this feature the flexible descriptors and PTP part >>>> in iavf driver have been introduced. >>>> >>>> --- >>> Just one general/cosmetic comment. It might make more sense for the >>> Reviewed-by: trailer to come after the Signed-off-by: trailer, since the >>> review happens after the patches have been written. >>> -- >>> Thanks, >>> Rahul Rameshbabu >> >> Hmmm... I think that the Signed-off-by added by sender should be the >> last one on the list if there is Co-developed-by before. > > Sorry, my bad, I should have expressed this better. On the first patch > for example. > > My expectation for the trailer order would have been the following. > > Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> > Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> > Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> > > instead of > > Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> > Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> > Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> > > I think for the ones with Co-developed-by:, you are right that the > ordering would be strange to re-arrange. > Ahhh... Now I see, You are right! I will fix that order in next version. Thanks > -- > Thanks, > > Rahul Rameshbabu >