On 01/03/2022 08:33, Eelco Chaudron wrote:
> CAUTION: This message has originated from an External Source. Please use
> proper judgment and caution when opening attachments, clicking links, or
> responding to this email.
>
>
> On 28 Feb 2022, at 19:01, Pieter Janse
On 25/02/2022 13:20, Eelco Chaudron wrote:
> CAUTION: This message has originated from an External Source. Please use
> proper judgment and caution when opening attachments, clicking links, or
> responding to this email.
>
>
> On 25 Feb 2022, at 13:57, Pieter Janse
On 25/02/2022 10:08, Simon Horman wrote:
> Hi Pieter,
>
> nice to hear from you :)
Hi Simon. Thank you for the insightful feedback.
>
> On Tue, Feb 22, 2022 at 12:17:40PM +, pieter.jansen-van-vuu...@amd.com
> wrote:
>> From: Pieter Jansen van Vuuren
>>
-vuu...@xilinx.com wrote:
>
>> From: Pieter Jansen van Vuuren
>>
>> Previously when making use of the tc datapath to achieve decrement ttl, we
>> would
>> install a filter that matches on the ttl/hoplimit field and use a pedit set
>> action
>> to set
On 07/04/2019 16:10, Tonghao Zhang wrote:
> When enable tc-offload, we should add coverage counters for
> netdev_set_policing.
>
> Fixes: e7f6ba220e10 ("lib/tc: add ingress ratelimiting support for
> tc-offload")
> Cc: Pieter Jansen van Vuuren
> Signed-off-
-vsctl list interface
_uuid : 2ca774e8-8b95-430f-a2c2-f8f742613ab1
admin_state : up
...
ingress_policing_burst: 100
ingress_policing_rate: 5000
...
type: ""
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/pkt_cl
Add setting of ipv4 dscp and ecn fields in tc offload using pedit.
Signed-off-by: Pieter Jansen van Vuuren
Signed-off-by: Louis Peens
Reviewed-by: Simon Horman
---
lib/netdev-tc-offloads.c | 6 +-
lib/tc.c | 5 +
lib/tc.h | 1 +
3 files changed, 11
Extend ovs-tc translation by allowing non-byte-aligned fields
for set actions. Use new boundary shifts and add set ipv6 traffic
class action offload via pedit.
Signed-off-by: Pieter Jansen van Vuuren
Signed-off-by: Louis Peens
Reviewed-by: Simon Horman
---
lib/netdev-tc-offloads.c | 4
although we are not in a position to test that.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/sparse/automake.mk | 3 ++-
include/sparse/linux/tc_act/tc_pedit.h | 29 ++
lib/tc.c | 22
relied on, and appears logically correct as the desire is for no
trailing bytes (or bits!) to be omitted from the set action.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
lib/tc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/tc.c b/lib/tc.c
ork around be32 issue.
- Fix big endian issue (patch 1).
- Fix 32 bit shift (patch 2).
v1 -> v2:
- Move helpers from byte-order.h to local tc.c
- Swap htonl/ntohl and reword comment.
Pieter Jansen van Vuuren (4):
lib/tc: make pedit mask calculations byte order agnostic
lib/tc: fix 32 bits
On 17/01/2019 17:26, Ben Pfaff wrote:
> On Thu, Jan 17, 2019 at 12:55:54PM +0000, Pieter Jansen van Vuuren wrote:
>> On 16/01/2019 18:38, Ben Pfaff wrote:
>>> On Wed, Jan 16, 2019 at 09:04:16AM +0000, Pieter Jansen van Vuuren wrote:
>>>> +/* These functions spe
On 16/01/2019 18:38, Ben Pfaff wrote:
> On Wed, Jan 16, 2019 at 09:04:16AM +0000, Pieter Jansen van Vuuren wrote:
>> +/* These functions specifically help shifting values that are in
>> + * network byte order but stored in uint32_t variables. */
>> +static uint32_t shift_o
Extend ovs-tc translation by allowing non-byte-aligned fields
for set actions. Use new boundary shifts and add set ipv6 traffic
class action offload via pedit.
Signed-off-by: Pieter Jansen van Vuuren
Signed-off-by: Louis Peens
Reviewed-by: Simon Horman
---
lib/netdev-tc-offloads.c | 4
Add setting of ipv4 dscp and ecn fields in tc offload using pedit.
Signed-off-by: Pieter Jansen van Vuuren
Signed-off-by: Louis Peens
Reviewed-by: Simon Horman
---
lib/netdev-tc-offloads.c | 6 +-
lib/tc.c | 5 +
lib/tc.h | 1 +
3 files changed, 11
to be offloaded.
v1 -> v2:
- Move helpers from byte-order.h to local tc.c
- Swap htonl/ntohl and reword comment.
Pieter Jansen van Vuuren (2):
lib/tc: add set ipv4 dscp and ecn action offload via pedit
lib/tc: add set ipv6 traffic class action offload via pedit
lib/netdev-tc-offloads.c |
On 11/01/2019 18:02, Ben Pfaff wrote:
> On Fri, Jan 11, 2019 at 05:35:45PM +0000, Pieter Jansen van Vuuren wrote:
>> On 11/01/2019 16:49, Ben Pfaff wrote:
>>> On Fri, Jan 11, 2019 at 11:51:53AM +0000, Pieter Jansen van Vuuren wrote:
>>>> +/* These functions sp
On 11/01/2019 16:49, Ben Pfaff wrote:
> On Fri, Jan 11, 2019 at 11:51:53AM +0000, Pieter Jansen van Vuuren wrote:
>> +/* These functions specifically help shifting words in network
>> + * byte order, given that they are specified in host order. */
>> +static inline uint32_t
&g
Add setting of ipv4 dscp and ecn fields in tc offload using pedit.
Signed-off-by: Pieter Jansen van Vuuren
Signed-off-by: Louis Peens
Reviewed-by: Simon Horman
---
lib/netdev-tc-offloads.c | 6 +-
lib/tc.c | 5 +
lib/tc.h | 1 +
3 files changed, 11
to be offloaded.
Pieter Jansen van Vuuren (2):
lib/tc: add set ipv4 dscp and ecn action offload via pedit
lib/tc: add set ipv6 traffic class action offload via pedit
lib/byte-order.h | 18 +++
lib/netdev-tc-offloads.c | 10 +-
lib/tc.c | 66
This series adds match and action support for TC offload of
geneve tunnel with options.
Pieter Jansen van Vuuren (2):
lib/tc: add geneve with option encap action offload
lib/tc: add geneve with option match offload
include/linux/pkt_cls.h | 25 ++
include/linux/tc_act
Add TC offload support for encapsulating geneve tunnels with options.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/tc_act/tc_tunnel_key.h | 23
lib/netdev-tc-offloads.c | 30 +
lib/tc.c | 157
Add TC offload support for classifying geneve tunnels with options.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/pkt_cls.h | 25 +
lib/netdev-tc-offloads.c | 64 +
lib/tc.c | 198
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
lib/netdev-tc-offloads.c | 2 ++
lib/tc.c | 6 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/lib/netdev-tc-offloads.c b/lib/netdev-tc-offloads.c
index 64f431c8d..f998ddfe1 100644
--- a/lib
On 10/09/2018 14:24, Simon Horman wrote:
> On Mon, Sep 10, 2018 at 11:08:25AM +0100, Pieter Jansen van Vuuren wrote:
>> Previously the key was used to check the presence of vlan id and
>> prio fields instead of using the mask. Additionally the vlan id
>> field was considered
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
lib/netdev-tc-offloads.c | 4
lib/tc.c | 12 ++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/lib/netdev-tc-offloads.c b/lib/netdev-tc-offloads.c
index f7a175484..090662d54 100644
Add TC offload support for classifying geneve tunnels with options.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/pkt_cls.h | 25 +++
lib/netdev-tc-offloads.c | 14 ++
lib/tc.c | 96
lib
Add TC offload support for encapsulating geneve tunnels with options.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/tc_act/tc_tunnel_key.h | 23 ++
lib/netdev-tc-offloads.c | 30 +++
lib/tc.c | 114
This series adds match and action support for TC offload of
geneve tunnel with options.
Pieter Jansen van Vuuren (2):
lib/tc: add geneve with option encap action offload
lib/tc: add geneve with option match offload
include/linux/pkt_cls.h | 25
include/linux/tc_act
Add TC offload support for classifying single MPLS tagged traffic.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
Reviewed-by: John Hurley
---
lib/netdev-tc-offloads.c | 14 ++--
lib/tc.c | 69
lib/tc.h
Add TC offload support for classifying geneve tunnels with options.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/pkt_cls.h | 25 +++
lib/netdev-tc-offloads.c | 14 ++
lib/tc.c | 94
lib
Add TC offload support for encapsulating geneve tunnels with options.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/tc_act/tc_tunnel_key.h | 23 ++
lib/netdev-tc-offloads.c | 30 +++
lib/tc.c | 113
This series adds match and action support for TC offload of
geneve tunnel with options.
Pieter Jansen van Vuuren (2):
lib/tc: add geneve with option encap action offload
lib/tc: add geneve with option match offload
include/linux/pkt_cls.h | 25
include/linux/tc_act
On 30/08/2018 14:33, Simon Horman wrote:
> Hi Pieter,
>
> On Tue, Aug 21, 2018 at 02:49:45PM +0100, Pieter Jansen van Vuuren wrote:
>> Add TC offload support for encapsulating geneve tunnels with options.
>>
>> Signed-off-by: Pieter Jansen van Vuuren
>>
>>
On 30/08/2018 14:28, Simon Horman wrote:
> Hi Pieter,
>
> On Thu, Aug 23, 2018 at 03:47:58PM +0100, Pieter Jansen van Vuuren wrote:
>> Add TC offload support for classifying single MPLS tagged traffic.
>>
>> Signed-off-by: Pieter Jansen van Vuuren
>>
>>
Add TC offload support for classifying single MPLS tagged traffic.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
Reviewed-by: John Hurley
---
lib/netdev-tc-offloads.c | 14 ++--
lib/tc.c | 69
lib/tc.h
Add TC offload support for classifying geneve tunnels with options.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/pkt_cls.h | 25 +++
lib/netdev-tc-offloads.c | 14 ++
lib/tc.c | 94
lib
Add TC offload support for encapsulating geneve tunnels with options.
Signed-off-by: Pieter Jansen van Vuuren
Reviewed-by: Simon Horman
---
include/linux/tc_act/tc_tunnel_key.h | 23 ++
lib/netdev-tc-offloads.c | 30
lib/tc.c | 106
This series adds match and action support for TC offload of
geneve tunnel with options.
Pieter Jansen van Vuuren (2):
lib/tc: add geneve with option encap action offload
lib/tc: add geneve with option match offload
include/linux/pkt_cls.h | 25
include/linux/tc_act
39 matches
Mail list logo