Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1707350

Re: [PATCH 2/4] net-next: dsa: add flow_dissect callback to struct dsa_device_ops

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH 2/4] net-next: dsa: add flow_dissect callback to struct dsa_device_ops
Date 2017-08-09 16:00 +0200
Message-ID <uczGF-85m-1@gated-at.bofh.it> (permalink)
References <ucyAV-76E-7@gated-at.bofh.it> <ucyAV-76E-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 09, 2017 at 02:41:17PM +0200, John Crispin wrote:
> When the flow dissector first sees packets coming in on a DSA devices the
> 802.3 header wont be located where the code expects it to be as the tag
> is still present. Adding this new callback allows a DSA device to provide a
> new function that the flow_dissector can use to get the correct protocol
> and offset of the network header.
> 
> Signed-off-by: Muciri Gatimu <muciri@openmesh.com>
> Signed-off-by: Shashidhar Lakkavalli <shashidhar.lakkavalli@openmesh.com>
> Signed-off-by: John Crispin <john@phrozen.org>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 2/4] net-next: dsa: add flow_dissect callback to struct dsa_device_ops John Crispin <john@phrozen.org> - 2017-08-09 14:50 +0200
  Re: [PATCH 2/4] net-next: dsa: add flow_dissect callback to struct  dsa_device_ops Andrew Lunn <andrew@lunn.ch> - 2017-08-09 16:00 +0200

csiph-web