]> 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)
commit0d300a1cb98e69d76cae0b3b7dcd9e4d576364d5
treedbbad565c57ca460cfbe796fdc1fffc352137c9c
parent25c33896547e84d77b1e1c57592045d92e493d19
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]