Skip to contentSkip to conversation

hardware specific extension to netfilter, xilinx microblaze, how to start

DISCUSSION Jan Viktorin 1 participant 1 message Mar 24, 2011 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I am working on my bachelor thesis 'Implementation of the Network Traffic Filter by Microblaze in FPGA' and I decided to use Linux with netfilter for that. The aim is to profit from FPGA chip which offers to add a custom hardware component to the Microblaze soft processor to speed up something.

So I would like to add some hardware acceleration to the netfilter, eg. ip address matching. This is accomplished using the processor specific instructions that communicate with the custom hardware piece.

I have read the "Writing Netfilter modules" (from xtables-addons page), looked at some code, but I'm still not sure where to start.

Do you thing that it is sufficient to write my own match module that will do the job?

Where can I find current x_tables' IP address matching code? When is it called and how can I avoid it or replace it...?

Thank you very much for any hint.

--
Jan Viktorin

Microblaze: http://www.xilinx.com/tools/microblaze.htm
FPGA: http://en.wikipedia.org/wiki/Field-programmable_gate_array