Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3974  / 2 Years ago, sat, february 19, 2022, 10:27:57

May be its a dumb question but can somebody explain the fundamental difference when you say a pcie or a Ethernet drivers. As such there are many networking cards with pcie interface.
Consider below two hardwarwe example and please help me understand how a driver developer has to differ in his approach in both cases for writing corresponding driver.




  1. A typical pcie Lan card which helps the host to connect to the network

  2. Some pcie card which has complete TCP/UDP stack on the device itself and need to pump only payload from the incoming packets.



Please ask questions if not clear. Thanks in advance


More From » networking

 Answers
7

PCIe is used to communicate with your local network card. The actual network card uses the ethernet protocol to communicate with external network devices. These protocols can also be used within the OS to emulate such devices as well.



Here is an extremely basic graphical depiction that I put together for you:



enter image description here



Additionally, please note that ethernet is indeed a protocol and not a type of device. For instance, both fibre interfaces and rj45 copper cable interfaces can run via ethernet protocol, to name just a couple.



TCP/UDP stack is handled by the kernel/OS entirely, not by the hardware in between.


[#22804] Monday, February 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
doredtness

Total Points: 153
Total Questions: 113
Total Answers: 106

Location: South Georgia
Member since Fri, Nov 13, 2020
4 Years ago
;