Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X720 and jumbo frame #144

Open
1 of 2 tasks
hirokazutakahashi opened this issue Jun 1, 2018 · 4 comments
Open
1 of 2 tasks

X720 and jumbo frame #144

hirokazutakahashi opened this issue Jun 1, 2018 · 4 comments

Comments

@hirokazutakahashi
Copy link
Contributor

Issue Type

  • Bug report
  • Feature proposal

Summary

Jumbo frames can't be handled by x720(i40e).

Bug report

I configured Lagopus with "--enable-jumbo-frame" and put "-mtu 2048" to the configuration file.
Then the console log says
i40e_dev_interrupt_handler(): ICR0: malicious programming detected.
Then the Lagopus does not forward any packets and does not count up tx counters.

With x520(ixgbe), It works fine.

Expected behavior

Lagopus can handle jumbo frames correctly.

Actual behavior

As the "Bug report" above.

Environment

master branch.
Ubuntu 16.04LTS.
x86 server.

Steps to reproduce

As the "Bug report" above.

Relevant logs

As the "Bug report" above.

Component

Dataplane.

Possible fixes

I will try to inspect and report it.

@iMasaruOki
Copy link

Do you use which version of lagopus (DPDK)?

@hirokazutakahashi
Copy link
Contributor Author

Acrually, I'm using forked version of lagopus.
https://github.com/hirokazutakahashi/lagopus/commits/shownet

The branch is the current master branch of lagopus and some fixes.
I think the fixes don't affect the jumbo frame handling.

I'll try with the current master.

@slankdev
Copy link

slankdev commented Jun 5, 2018

I know a similar problem when sending 9K JumboFrame with dpdk v17.11
(I tried connectx-5, x710, x540).

One of the answers to send JumboFrame is configuring with enable_scatter bit.
This bit enables sending the scattered packets (such as multi-segmented mbuf).
Probably, The enable_scatter bit is needed to send scattered packet is not discussed in dpdk official documentation (dpdk.org).

But, the same problem was occurred. :(
So currently, I am dealing with the Larger-Data-Room mbuf. (call rte_pktmbuf_pool_create() with data_room_size=9K)

@iMasaruOki
Copy link

iMasaruOki commented Jun 5, 2018

Thank you. Your 'shownet' branch uses DPDK 18.02.
I read i40e_dev_mtu_set() in DPDK 18.02.

MTU setting on running i40e NIC causes EBUSY.
Correct sequence I think:

  1. link down
  2. set MTU
  3. link up

Sure, is ist correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants