Qi Zhang 3ccf61bc1e net/ice/base: fix tunnel type match word handling
Use a common function when selecting the proper word and mask match for
a tunnel type when programming switch rules.

Store switch recipe field mask as little endian, which avoids needing to
convert back to big endian after reading recipe from FW.

Obtain word mask from FW recipe.

Fix word matching element and index pairing.

Fixes: fed0c5ca5f19 ("net/ice/base: support programming a new switch recipe")
Cc: stable@dpdk.org

Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
2020-05-21 15:53:14 +02:00
..
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-19 17:12:16 +02:00
2020-05-19 17:12:16 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-04-21 13:57:07 +02:00

/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2020 Intel Corporation
 */

Intel® ICE driver
==================

This directory contains source code of FreeBSD ice driver of version
2020.03.26 released by the team which develops
basic drivers for any ice NIC. The directory of base/ contains the
original source package.
This driver is valid for the product(s) listed below

* Intel® Ethernet Network Adapters E810

Updating the driver
===================

NOTE: The source code in this directory should not be modified apart from
the following file(s):

    ice_osdep.h