[Intel-wired-lan] [PATCH S42 1/7] ice: Initialize Flow Director resources

Bowers, AndrewX andrewx.bowers at intel.com
Tue May 19 16:35:19 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 1/7] ice: Initialize Flow Director
> resources
> 
> From: Henry Tieman <henry.w.tieman at intel.com>
> 
> Flow Director allows for redirection based on ntuple rules. Rules are
> programmed using the ethtool set-ntuple interface. Supported actions are
> redirect to queue and drop.
> 
> Setup the initial framework to process Flow Director filters. Create and
> allocate resources to manage and program filters to the hardware. Filters
> are processed via a sideband interface; a control VSI is created to manage
> communication and process requests through the sideband. Upon allocation
> of
> resources, update the hardware tables to accept perfect filters.
> 
> 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/Makefile       |   2 +
>  drivers/net/ethernet/intel/ice/ice.h          |  24 ++
>  .../net/ethernet/intel/ice/ice_adminq_cmd.h   |   9 +
>  drivers/net/ethernet/intel/ice/ice_base.c     |   1 +
>  drivers/net/ethernet/intel/ice/ice_common.c   |  36 ++
>  drivers/net/ethernet/intel/ice/ice_ethtool.c  |  11 +-
>  .../net/ethernet/intel/ice/ice_ethtool_fdir.c | 399 ++++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_fdir.c     |  54 +++
>  drivers/net/ethernet/intel/ice/ice_fdir.h     |  12 +
>  .../net/ethernet/intel/ice/ice_flex_pipe.c    | 224 ++++++++++
>  drivers/net/ethernet/intel/ice/ice_flow.c     | 169 +++++++-
>  drivers/net/ethernet/intel/ice/ice_flow.h     |  32 +-
>  .../net/ethernet/intel/ice/ice_hw_autogen.h   |  11 +
>  drivers/net/ethernet/intel/ice/ice_lib.c      | 210 +++++++--
>  drivers/net/ethernet/intel/ice/ice_lib.h      |   2 +
>  drivers/net/ethernet/intel/ice/ice_main.c     | 160 ++++++-
>  .../ethernet/intel/ice/ice_protocol_type.h    |   1 +
>  drivers/net/ethernet/intel/ice/ice_switch.c   |  75 ++++
>  drivers/net/ethernet/intel/ice/ice_switch.h   |   7 +
>  drivers/net/ethernet/intel/ice/ice_txrx.c     | 100 ++++-
>  drivers/net/ethernet/intel/ice/ice_txrx.h     |   7 +-
>  drivers/net/ethernet/intel/ice/ice_type.h     |  45 +-
>  22 files changed, 1552 insertions(+), 39 deletions(-)
>  create mode 100644 drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
>  create mode 100644 drivers/net/ethernet/intel/ice/ice_fdir.c
>  create mode 100644 drivers/net/ethernet/intel/ice/ice_fdir.h


Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list