[dpdk-dev] how to control receive timer for the wthresh?

2014-07-27 Thread Helmut Sim
Hi all,

Is there, on dpdk 1.6, an API for controlling the receive timer (EITR)
expiration of the wthresh on the NICs?
when setting, for example, .wthresh to 4 and transmitting 7 packets to the
application, then the last 3 packets remains in the on-chip-buffer for too
long and are written to the host memory only after few seconds, which is
not acceptable (in my case using 82575).

is there a way to config this?

Thanks
Sim


[dpdk-dev] Query regarding the exception_path application

2014-07-27 Thread Kanthi P
Hi,

I am running the exception_path application provided in DPDK sample apps on
a 3 virtual machine setup.

VM1 is used for sending icmp traffic
VM2 is installed with DPDK, it has two NICs, one is connected to VM1 and
the other one to VM3
VM3 is used for receiving icmp traffic

Traffic is sent from VM1,  VM2 received it and forwarded to the tap
interface as expected.

I want to add iptables(few drop rules)  on that tap interface created by
the exception_path application, and check that the traffic drops.

But this is not working, iptables are not being applied on these tap
interfaces.
Do we need some IPStack for example, rump kernel integrated with DPDK to
achieve this?

Is there anything that I am missing here? Basically looking for simulating
firewall using iptables in DPDK.

Regards,
Kanthi