Hello Marcelo,
On Wed, Sep 22, 2021 at 7:32 PM Marcelo Ricardo Leitner
[off-list ref] wrote:
On Thu, Sep 16, 2021 at 05:00:41PM -0300, Felipe Magno de Almeida wrote:
quoted
+int fl2_panda_parse(struct sk_buff *skb, struct fl2_flow_key* frame)
+{
+ int err;
+ struct panda_parser_big_metadata_one mdata;
+ void *data;
+ size_t pktlen;
+
+ memset(&mdata, 0, sizeof(mdata.panda_data));
+ memcpy(&mdata.frame, frame, sizeof(struct fl2_flow_key));
+
+ err = skb_linearize(skb);
Oh ow. Hopefully this is just for the RFC?
Yes, this is just for the RFC. Our focus was showing how PANDA
can easily replace flow dissector by using a useful and complex
use-case (flower) and extending it easily. A proper submission
would not linearize, but first we need feedback on how this
submission should look like.
Kind regards,
--
Felipe Magno de Almeida
Developer @ SiPanda
Owner @ Expertise Solutions
www: https://expertise.dev
phone: +55 48 9 9681.0157
LinkedIn: in/felipealmeida