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

packet drop in p4 switches #80

Open
joyanta55 opened this issue Sep 28, 2020 · 0 comments
Open

packet drop in p4 switches #80

joyanta55 opened this issue Sep 28, 2020 · 0 comments

Comments

@joyanta55
Copy link

Hello All,

In p4app I created a simple topology like:
h1->s1->s2->h2

And I tried to run h1 as TCP client and h2 as TCP server. I am using iperf to generate the traffic. Now here's the problem. From the dmesg command I can see a lot of packet transmission is happening, and I suspect the reason is packet drop. So I have two questions mainly:

  • In the p4 code, is there any way so that I could come to know the packet has been dropped due to buffer overflow, I can see switch log file at the /tmp directory, but not sure what is the syntax to print/log info into those log files from the p4 code.

  • Is there any way I can set the buffer size/ queue size from the p4 code for any switches. If yes, then how and what is the maximum limit for that.

Thanks in advance.

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

1 participant