Embedded Connectivity
Intel network controllers, Firmware, and drivers support systems
848 Discussions

Kernel access/configuration of SDP on i210.

BAlsa
Beginner
2,871 Views

Hi everyone,

Is there any code example of how to access and configure the SDP on the i210 (or any other variant)? I want to update the kernel driver to make special behavior over the SDP.

I have four i210 and I want to update the time on them simultaneously. Which can never be done by the software by itself. I want to update the time on on of the i210 and cause to trigger and SDP to update the time on .

Thank you all

Bassam,

0 Kudos
7 Replies
CarlosAM_INTEL
Moderator
1,771 Views

Hello Alsanie,

Thank you for contacting the Intel Embedded Community.

Could you please confirm if this forum is related to the forum

Thanks in advance for your clarification.

Best Regards,

Carlos_A.

0 Kudos
BAlsa
Beginner
1,771 Views

yes, its related. Its sub set of the one you indicated above.

0 Kudos
CarlosAM_INTEL
Moderator
1,771 Views

Hello Alsanie,

 

Thanks for your update.

 

The information that may help you is stated at the following web sites:

http://sourceforge.net/p/e1000/mailman/message/30904913/ Intel Ethernet Drivers and Utilities / Mailing Lists

http://lists.openwall.net/netdev/2014/11/21/57 netdev - Re: [PATCH net-next V2 4/4] igb: enable auxiliary PHC functions for the i210.

http://comments.gmane.org/gmane.linux.network/339394 Linux network development

http://code.metager.de/source/history/linux/stable/drivers/net/ethernet/intel/igb/igb_ptp.c Cross Reference: /linux/stable/drivers/net/ethernet/intel/igb/igb_ptp.c

Please let us know if this information is useful to you.

Best Regards,

Carlos_A.

0 Kudos
Joanna1
Beginner
1,663 Views

Hi

We are using the I210 in our future product.

I would like to find a way of programing the SDP.

Is there a way to do it from user space or driver?

 

I looked at the I210 driver (IGB) to try to figure if I can use it to configure the SDP.

I found this routine igb_pin_extts() in igb_ptp.c that does some manipulation on the SDP

The function is called by igb_ptp_feature_enable_i210()

adapter->ptp_caps.enable = igb_ptp_feature_enable_i210;

but I didn’t find a way of calling this routine

 

my questions:

  1. Who calls igb_ptp_feature_enable_i210? (I didn’t figure it out)? Can it be called from user space or other KO?
  2. What was the use of igb_pin_extts()? Why PTP needs the ability to program the SDP?
  3. Can I please get some material on the SDP programming?
  4. I can write a Linux module that handles the SDP, but I don’t want it to collide with the igb driver
    but if the igb driver not really using the igb_pin_extts(), I guess it is possible.

 

Thanks

0 Kudos
CarlosAM_INTEL
Moderator
1,650 Views

Hello, @Joanna1:

Thank you for contacting Intel Embedded Community.

You may find information that may help you in the communication stated on November, 10th 2015 on this thread.

Also, you should review the information stated in section 1.4.9, on page 11 of the  Intel® Ethernet Controller I210 Datasheet that you can find on the following website:

https://www.intel.com/content/www/us/en/embedded/products/networking/i210-ethernet-controller-datasheet.html

Best regards,

@CarlosAM_INTEL.  

0 Kudos
Joanna1
Beginner
1,620 Views

Hi Carlos,

Thanks for the quick reply.

I have already gone over the datasheet and all the threads here and did not find the answer for my questions.

Is there someone in Intel who can give support regarding at least the two first questions?

Thanks in advance,

Joanna

0 Kudos
CarlosAM_INTEL
Moderator
1,591 Views

Hello, @Joanna1:

Thanks for your reply.

Reviewing the readme file of the Intel® Network Adapter Driver for 82575/6, 82580, I350, and I210/211-Based Gigabit Network Connections for Linux*, your consultations should be addressed to the email e1000-devel@lists.sf.net. You can find the cited document on the following website:

https://downloadmirror.intel.com/13663/eng/readme_5.5.2.txt

Best regards,

@CarlosAM_INTEL.

 

0 Kudos
Reply