[Intel-wired-lan] [PATCH S42 3/7] ice: Support IPv4 Flow Director filters
Bowers, AndrewX
andrewx.bowers at intel.com
Tue May 19 16:36:22 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Monday, May 11, 2020 6:02 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S42 3/7] ice: Support IPv4 Flow Director
> filters
>
> From: Henry Tieman <henry.w.tieman at intel.com>
>
> Support the addition and deletion of IPv4 filters.
>
> Supported fields are: src-ip, dst-ip, src-port, and dst-port
> Supported flow-types are: tcp4, udp4, sctp4, ip4
>
> Example usage:
>
> ethtool -N eth0 flow-type tcp4 src-ip 192.168.0.55 dst-ip 172.16.0.55 \
> src-port 16 dst-port 12 action 32
>
> Signed-off-by: Henry Tieman <henry.w.tieman at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice.h | 4 +
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 4 +
> .../net/ethernet/intel/ice/ice_ethtool_fdir.c | 658 ++++++++++++++++++
> drivers/net/ethernet/intel/ice/ice_fdir.c | 513 ++++++++++++++
> drivers/net/ethernet/intel/ice/ice_fdir.h | 79 +++
> .../net/ethernet/intel/ice/ice_flex_pipe.c | 34 +
> .../net/ethernet/intel/ice/ice_flex_pipe.h | 3 +
> .../net/ethernet/intel/ice/ice_hw_autogen.h | 6 +
> .../net/ethernet/intel/ice/ice_lan_tx_rx.h | 101 +++
> drivers/net/ethernet/intel/ice/ice_txrx.c | 82 +++
> drivers/net/ethernet/intel/ice/ice_txrx.h | 3 +
> drivers/net/ethernet/intel/ice/ice_type.h | 6 +
> 12 files changed, 1493 insertions(+)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list