All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli.us>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [RFC PATCH v3 0/7] tc-flower based cloud filters in i40e
Date: Wed, 13 Sep 2017 12:12:12 +0200	[thread overview]
Message-ID: <20170913101212.GA1981@nanopsycho> (raw)
In-Reply-To: <150529632024.57063.15338545678487601430.stgit@anamdev.jf.intel.com>

Wed, Sep 13, 2017 at 11:59:13AM CEST, amritha.nambiar at intel.com wrote:
>This patch series enables configuring cloud filters in i40e
>using the tc-flower classifier. The only tc-filter action
>supported is to redirect packets to a traffic class on the
>same device. The mirror/redirect action is extended to
>accept a traffic class to achieve this.
>
>The cloud filters are added for a VSI and are cleaned up when
>the VSI is deleted. The filters that match on L4 ports needs
>enhanced admin queue functions with big buffer support for
>extended fields in cloud filter commands.
>
>Example:
># tc qdisc add dev eth0 ingress
>
># ethtool -K eth0 hw-tc-offload on
>
># tc filter add dev eth0 protocol ip parent ffff: prio 1 flower\
>  dst_ip 192.168.1.1/32 ip_proto udp dst_port 22\
>  skip_sw action mirred ingress redirect dev eth0 tclass 1
>
># tc filter show dev eth0 parent ffff:
>filter protocol ip pref 1 flower chain 0
>filter protocol ip pref 1 flower chain 0 handle 0x1
>  eth_type ipv4
>  ip_proto udp
>  dst_ip 192.168.1.1
>  dst_port 22
>  skip_sw
>  in_hw
>        action order 1: mirred (Ingress Redirect to device eth0) stolen tclass 1
>        index 7 ref 1 bind 1
>
>v3: Added an extra patch to clean up white-space noise. Cleaned up
>some lengthy function names. Used __be32 array for ipv6 address.
>Used macro for IP version. Minor formatting changes.
>
>---
>
>Amritha Nambiar (7):
>      tc_mirred: Clean up white-space noise
>      sched: act_mirred: Traffic class option for mirror/redirect action
>      i40e: Map TCs with the VSI seids
>      i40e: Cloud filter mode for set_switch_config command
>      i40e: Admin queue definitions for cloud filters
>      i40e: Clean up of cloud filters
>      i40e: Enable cloud filters via tc-flower

Would be good to use get_maintainers script and cc people if you want
comments.

WARNING: multiple messages have this Message-ID (diff)
From: Jiri Pirko <jiri@resnulli.us>
To: Amritha Nambiar <amritha.nambiar@intel.com>
Cc: intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com,
	alexander.h.duyck@intel.com, netdev@vger.kernel.org
Subject: Re: [RFC PATCH v3 0/7] tc-flower based cloud filters in i40e
Date: Wed, 13 Sep 2017 12:12:12 +0200	[thread overview]
Message-ID: <20170913101212.GA1981@nanopsycho> (raw)
In-Reply-To: <150529632024.57063.15338545678487601430.stgit@anamdev.jf.intel.com>

Wed, Sep 13, 2017 at 11:59:13AM CEST, amritha.nambiar@intel.com wrote:
>This patch series enables configuring cloud filters in i40e
>using the tc-flower classifier. The only tc-filter action
>supported is to redirect packets to a traffic class on the
>same device. The mirror/redirect action is extended to
>accept a traffic class to achieve this.
>
>The cloud filters are added for a VSI and are cleaned up when
>the VSI is deleted. The filters that match on L4 ports needs
>enhanced admin queue functions with big buffer support for
>extended fields in cloud filter commands.
>
>Example:
># tc qdisc add dev eth0 ingress
>
># ethtool -K eth0 hw-tc-offload on
>
># tc filter add dev eth0 protocol ip parent ffff: prio 1 flower\
>  dst_ip 192.168.1.1/32 ip_proto udp dst_port 22\
>  skip_sw action mirred ingress redirect dev eth0 tclass 1
>
># tc filter show dev eth0 parent ffff:
>filter protocol ip pref 1 flower chain 0
>filter protocol ip pref 1 flower chain 0 handle 0x1
>  eth_type ipv4
>  ip_proto udp
>  dst_ip 192.168.1.1
>  dst_port 22
>  skip_sw
>  in_hw
>        action order 1: mirred (Ingress Redirect to device eth0) stolen tclass 1
>        index 7 ref 1 bind 1
>
>v3: Added an extra patch to clean up white-space noise. Cleaned up
>some lengthy function names. Used __be32 array for ipv6 address.
>Used macro for IP version. Minor formatting changes.
>
>---
>
>Amritha Nambiar (7):
>      tc_mirred: Clean up white-space noise
>      sched: act_mirred: Traffic class option for mirror/redirect action
>      i40e: Map TCs with the VSI seids
>      i40e: Cloud filter mode for set_switch_config command
>      i40e: Admin queue definitions for cloud filters
>      i40e: Clean up of cloud filters
>      i40e: Enable cloud filters via tc-flower

Would be good to use get_maintainers script and cc people if you want
comments.

  parent reply	other threads:[~2017-09-13 10:12 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-13  9:59 [Intel-wired-lan] [RFC PATCH v3 0/7] tc-flower based cloud filters in i40e Amritha Nambiar
2017-09-13  9:59 ` Amritha Nambiar
2017-09-13  9:59 ` [Intel-wired-lan] [RFC PATCH v3 1/7] tc_mirred: Clean up white-space noise Amritha Nambiar
2017-09-13  9:59   ` Amritha Nambiar
2017-09-13  9:59 ` [Intel-wired-lan] [RFC PATCH v3 2/7] sched: act_mirred: Traffic class option for mirror/redirect action Amritha Nambiar
2017-09-13  9:59   ` Amritha Nambiar
2017-09-13 13:18   ` [Intel-wired-lan] " Jiri Pirko
2017-09-13 13:18     ` Jiri Pirko
2017-09-14  7:58     ` [Intel-wired-lan] " Nambiar, Amritha
2017-09-14  7:58       ` Nambiar, Amritha
2017-09-13  9:59 ` [Intel-wired-lan] [RFC PATCH v3 3/7] i40e: Map TCs with the VSI seids Amritha Nambiar
2017-09-13  9:59   ` Amritha Nambiar
2017-09-13  9:59 ` [Intel-wired-lan] [RFC PATCH v3 4/7] i40e: Cloud filter mode for set_switch_config command Amritha Nambiar
2017-09-13  9:59   ` Amritha Nambiar
2017-09-13  9:59 ` [Intel-wired-lan] [RFC PATCH v3 5/7] i40e: Admin queue definitions for cloud filters Amritha Nambiar
2017-09-13  9:59   ` Amritha Nambiar
2017-09-13  9:59 ` [Intel-wired-lan] [RFC PATCH v3 6/7] i40e: Clean up of " Amritha Nambiar
2017-09-13  9:59   ` Amritha Nambiar
2017-09-13  9:59 ` [Intel-wired-lan] [RFC PATCH v3 7/7] i40e: Enable cloud filters via tc-flower Amritha Nambiar
2017-09-13  9:59   ` Amritha Nambiar
2017-09-13 13:26   ` [Intel-wired-lan] " Jiri Pirko
2017-09-13 13:26     ` Jiri Pirko
2017-09-14  8:00     ` [Intel-wired-lan] " Nambiar, Amritha
2017-09-14  8:00       ` Nambiar, Amritha
2017-09-28 19:22       ` [Intel-wired-lan] " Nambiar, Amritha
2017-09-28 19:22         ` Nambiar, Amritha
2017-09-29  6:20         ` [Intel-wired-lan] " Jiri Pirko
2017-09-29  6:20           ` Jiri Pirko
2017-09-13 10:12 ` Jiri Pirko [this message]
2017-09-13 10:12   ` [RFC PATCH v3 0/7] tc-flower based cloud filters in i40e Jiri Pirko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170913101212.GA1981@nanopsycho \
    --to=jiri@resnulli.us \
    --cc=intel-wired-lan@osuosl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.