* [dpdk-users] Drop_Packet
@ 2018-08-04 11:06 Konstantinos Schoinas
2018-08-06 11:08 ` Andrew Bainbridge
0 siblings, 1 reply; 2+ messages in thread
From: Konstantinos Schoinas @ 2018-08-04 11:06 UTC (permalink / raw)
To: users
Hello,
How can i drop packets using dpdk? Is there any function that can help ?
Thanks for your time
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-users] Drop_Packet
2018-08-04 11:06 [dpdk-users] Drop_Packet Konstantinos Schoinas
@ 2018-08-06 11:08 ` Andrew Bainbridge
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Bainbridge @ 2018-08-06 11:08 UTC (permalink / raw)
To: Konstantinos Schoinas, users
That's quite a broad question. A simple way is to not process packets you receive with rte_eth_rx_burst()! If you want the hardware to drop without the CPU seeing the packet, maybe you can setup a flow rule with a drop action. See https://doc.dpdk.org/guides/prog_guide/rte_flow.html.
________________________________
From: users <users-bounces@dpdk.org> on behalf of Konstantinos Schoinas <ece8537@upnet.gr>
Sent: 04 August 2018 12:06
To: users@dpdk.org
Subject: [dpdk-users] Drop_Packet
Hello,
How can i drop packets using dpdk? Is there any function that can help ?
Thanks for your time
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-06 11:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-04 11:06 [dpdk-users] Drop_Packet Konstantinos Schoinas
2018-08-06 11:08 ` Andrew Bainbridge
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).