DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rajasekhar Pulluru <pullururajasekhar@gmail.com>
To: dev@dpdk.org
Subject: Restrict max packet size on rx
Date: Fri, 18 Oct 2024 22:05:24 +0530	[thread overview]
Message-ID: <CAGA5_H4auz9x2qe5EvYH48f+0zstnxpeRHHpWWbBMCVQj7V8BA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

Team,
Does setting mtu using rte_eth_dev_set_mtu limit the maximum size of the
packet received on the dpdk port to the configured mtu size?

On an intel machine with ixgbe port, with mtu set to 1500, no rx-offloads
enabled, ixgbe dpdk port is able to receive packets greater than 1500 size
and even jumbo frames of size 9000, even though the peer is sending them
fragmented with mtu of 1500.

How do I restrict the port not to receive any frame greater than mtu size?

Appreciate any help,
Thanks.
Rajasekhar

[-- Attachment #2: Type: text/html, Size: 635 bytes --]

             reply	other threads:[~2024-10-18 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-18 16:35 Rajasekhar Pulluru [this message]
2024-10-18 16:43 ` Stephen Hemminger
2024-10-18 16:49   ` Rajasekhar Pulluru
2024-10-18 17:37     ` Stephen Hemminger

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=CAGA5_H4auz9x2qe5EvYH48f+0zstnxpeRHHpWWbBMCVQj7V8BA@mail.gmail.com \
    --to=pullururajasekhar@gmail.com \
    --cc=dev@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).