]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: ixgbe: add minimal parser details for ixgbe
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 17 Feb 2016 05:18:28 +0000 (21:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 14:47:36 +0000 (09:47 -0500)
commit9d35cf062e05be8b8b2b7dbc943cd95352cd90cb
treedbbad565c57ca460cfbe796fdc1fffc352137c9c
parent3b01cf56daf96acf9b155d6201d94bc8b4de218e
net: ixgbe: add minimal parser details for ixgbe

This adds an ixgbe data structure that is used to determine what
headers:fields can be matched and in what order they are supported.

For hardware devices this can be a bit tricky because typically
only pre-programmed (firmware, ucode, rtl) parse graphs will be
supported and we don't yet have an interface to change these from
the OS. So its sort of a you get whatever your friendly vendor
provides affair at the moment.

In the future we can add the get routines and set routines to
update this data structure. One interesting thing to note here
is the data structure here identifies ethernet, ip, and tcp
fields without having to hardcode them as enumerations or use
other identifiers.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_model.h [new file with mode: 0644]