]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:40:50 +0000 (16:40 -0700)
commit7b1d05c8e14d06a6d04acb2fb7091b022713deec
tree39b2041557cbbef3e347e8a0e24e0582aab8f799
parentb371ad4a6149ce8d5bb76f20792108ff6fc4e5df
net: ixgbe: add minimal parser details for ixgbe

Orabug: 23177316

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>
(cherry picked from commit 9d35cf062e05be8b8b2b7dbc943cd95352cd90cb)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_model.h [new file with mode: 0644]