Re: Protocol handler for Marvell DSA EtherType packets

2008-02-11 Thread Jesper Dangaard Brouer
Hi NetDev and Google, The answer to my question was: Aha, you are trying to use tcpdump to see the "encapsulated" packets, then you also need to adjust skb->mac.raw. I have attached the code (and inlined the receive func, for easier commenting), as I have another question: I use dev_get_by_inde

Protocol handler for Marvell DSA EtherType packets

2008-02-01 Thread Jesper Dangaard Brouer
Hi Netdev I writing a new protocol handler using dev_add_pack(). (For a Marvell switch chip handling DSA (Distributed Switch Architecture) Ethertype packets). My protocol handler works and I get the skb. But I want to remove the DSA Headers and send the packet back for normal processing on a dev