[Intel-wired-lan] [PATCH V3 RFC 2/2] ixgbe: ixgbe_atr() compute l4_proto only if non-paged data has network/transport headers
Alexander Duyck
alexander.duyck at gmail.com
Mon Oct 17 22:29:30 UTC 2016
On Mon, Oct 17, 2016 at 2:12 PM, Sowmini Varadhan
<sowmini.varadhan at oracle.com> wrote:
> For some Tx paths (e.g., tpacket_snd()), ixgbe_atr may be
> passed down an sk_buff that has the network and transport
> header in the paged data, so it needs to make sure these
> headers are available in the headlen bytes to calculate the
> l4_proto.
>
> This patch expect that network and transport headers are
> already available in the non-paged header dat. The assumption
> is that the caller has set this up if l4_proto based Tx
> steering is desired.
>
> Signed-off-by: Sowmini Varadhan <sowmini.varadhan at oracle.com>
This all looks correct to me. I would recommend having Jeff pull it
in to be submitted to the net queue.
Reviewed-by: Alexander Duyck <alexander.h.duyck at intel.com>
More information about the Intel-wired-lan
mailing list