DPDK usage discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: "Chaney, Benjamin" <bchaney@akamai.com>,
	"users@dpdk.org" <users@dpdk.org>
Cc: "Pavey, Nicholas" <npavey@akamai.com>
Subject: Re: [dpdk-users] Configure FCS offload
Date: Tue, 28 Jun 2016 21:15:52 +0000	[thread overview]
Message-ID: <A6AD72DA-67FD-4A78-983B-79958563C6EA@intel.com> (raw)

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
>




             reply	other threads:[~2016-06-28 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 21:15 Wiles, Keith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-06-28 18:25 Chaney, Benjamin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A6AD72DA-67FD-4A78-983B-79958563C6EA@intel.com \
    --to=keith.wiles@intel.com \
    --cc=bchaney@akamai.com \
    --cc=npavey@akamai.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).