DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Configure FCS offload
@ 2016-06-28 18:25 Chaney, Benjamin
  0 siblings, 0 replies; 2+ messages in thread
From: Chaney, Benjamin @ 2016-06-28 18:25 UTC (permalink / raw)
  To: users; +Cc: Pavey, Nicholas

Hello,
                How can a dpdk application configure the NIC to offload the computation of the Ethernet frame check sequence? I have found a fair amount of documentation about offloading IPv4 and UDP checksums, but not mention of doing the same for the FCS.
Thanks,
                Ben

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] Configure FCS offload
@ 2016-06-28 21:15 Wiles, Keith
  0 siblings, 0 replies; 2+ messages in thread
From: Wiles, Keith @ 2016-06-28 21:15 UTC (permalink / raw)
  To: Chaney, Benjamin, users; +Cc: Pavey, Nicholas

On 6/28/16, 1:25 PM, "users on behalf of Chaney, Benjamin" <users-bounces@dpdk.org on behalf of bchaney@akamai.com> wrote:

>Hello,
>                How can a dpdk application configure the NIC to offload the computation of the Ethernet frame check sequence? I have found a fair amount of documentation about offloading IPv4 and UDP checksums, but not mention of doing the same for the FCS.

Normally the Frame Checksum (as I call it, which is not technically correct) is done by the MAC chip as the packet is transmitted, which is the last four bytes to be sent. If you want the FCS to be DMAed into memory on RX then normally the NIC supports that feature or you can have the NIC strip the FCS bytes on the frame.

The descriptor for the RX packet normally tells you the FCS is valid and you do not need the FCS bytes. What is it you want the FCS for or maybe I am misunderstanding your question?

>Thanks,
>                Ben
>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-28 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-28 18:25 [dpdk-users] Configure FCS offload Chaney, Benjamin
2016-06-28 21:15 Wiles, Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).