]> git.baikalelectronics.ru Git - kernel.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)
commit09c7aff4ddb39999be6766446fc42fc8b90b9f23
treedbbad565c57ca460cfbe796fdc1fffc352137c9c
parent5a2e4fd7b4d1e1fc9d147d7c5ac7005f8b5dcc0e
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]