numam-dpdk/drivers/net/ice/base
Wenxuan Wu 3e87e12dc8 net/ice/base: fix build with GCC 12
GCC 12 with -O2 flag would raise the following warning:
../drivers/net/ice/base/ice_switch.c:7220:61: error: writing 1 byte into a
region of size 0 [-Werror=stringop-overflow=]
 7220 |           buf[recps].content.lkup_indx[i + 1] = entry->fv_idx[i];
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~

This patch changed the type of fv_idx in struct ice_recp_grp_entry to
align with its callers which are also u8 type.

Fixes: 04b8ec1ea8 ("net/ice/base: add protocol structures and defines")
Cc: stable@dpdk.org

Signed-off-by: Wenxuan Wu <wenxuanx.wu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2022-06-23 11:17:28 +02:00
..
ice_acl_ctrl.c net/ice/base: update copyright date 2021-01-08 19:03:09 +01:00
ice_acl.c net/ice/base: update copyright date 2021-01-08 19:03:09 +01:00
ice_acl.h net/ice/base: update copyright date 2021-01-08 19:03:09 +01:00
ice_adminq_cmd.h net/ice/base: add get/set functions for shared parameters 2021-09-21 14:33:42 +02:00
ice_alloc.h net/ice/base: update copyright date 2021-01-08 19:03:09 +01:00
ice_bitops.h net/ice/base: update copyright date 2021-01-08 19:03:09 +01:00
ice_bst_tcam.c net/ice/base: support double VLAN mode configure for parser 2021-09-21 15:17:58 +02:00
ice_bst_tcam.h net/ice/base: support double VLAN mode configure for parser 2021-09-21 15:17:58 +02:00
ice_cgu_regs.h net/ice/base: add clock initialization function 2021-08-11 04:23:54 +02:00
ice_common.c net/ice/base: support E824S and E825 devices 2022-02-25 15:06:01 +01:00
ice_common.h net/ice/base: add parser create and destroy skeleton 2021-09-21 14:43:23 +02:00
ice_controlq.c net/ice/base: add functions for device clock control 2021-08-11 04:23:18 +02:00
ice_controlq.h net/ice/base: add functions for device clock control 2021-08-11 04:23:18 +02:00
ice_dcb.c net/ice/base: clarify comments on checking PFC mode 2021-08-11 04:24:13 +02:00
ice_dcb.h net/ice/base: add function for DSCP configure 2021-06-10 12:04:16 +02:00
ice_devids.h net/ice/base: support E824S and E825 devices 2022-02-25 15:06:01 +01:00
ice_fdir.c net/ice/base: support flow director for IPv6 fragments 2021-08-29 13:13:52 +02:00
ice_fdir.h net/ice/base: support flow director for GTPoGRE 2021-08-11 04:25:09 +02:00
ice_flex_pipe.c net/ice/base: fix build with GCC 12 2022-06-23 11:17:28 +02:00
ice_flex_pipe.h net/ice/base: fix build with GCC 12 2022-06-23 11:17:28 +02:00
ice_flex_type.h net/ice/base: add profile validation on switch filter 2022-02-09 03:16:29 +01:00
ice_flg_rd.c net/ice/base: add helper function to redirect flags 2021-09-21 15:17:58 +02:00
ice_flg_rd.h net/ice/base: add helper function to redirect flags 2021-09-21 15:17:58 +02:00
ice_flow.c net/ice/base: enable flow director for IPv6 next protocol 2022-05-17 02:44:21 +02:00
ice_flow.h net/ice/base: support add HW profile for RSS raw flow 2021-11-04 04:10:43 +01:00
ice_hw_autogen.h net/ice/base: update auto-generated hardware register 2021-09-21 14:33:46 +02:00
ice_imem.c net/ice/base: init boost TCAM table for parser 2021-09-21 15:17:57 +02:00
ice_imem.h net/ice/base: init IMEM table for parser 2021-09-21 15:17:55 +02:00
ice_lan_tx_rx.h net/ice/base: add GCO defines and GCO flex descriptor 2021-09-21 14:33:39 +02:00
ice_metainit.c net/ice/base: init boost TCAM table for parser 2021-09-21 15:17:57 +02:00
ice_metainit.h net/ice/base: init metainit table for parser 2021-09-21 15:17:57 +02:00
ice_mk_grp.c net/ice/base: init marker group table for parser 2021-09-21 15:17:57 +02:00
ice_mk_grp.h net/ice/base: init marker group table for parser 2021-09-21 15:17:57 +02:00
ice_nvm.c net/ice/base: update auto-generated hardware register 2021-09-21 14:33:46 +02:00
ice_nvm.h net/ice/base: update auto-generated hardware register 2021-09-21 14:33:46 +02:00
ice_osdep.h net/ice: factorize firmware loading 2021-07-07 16:41:53 +02:00
ice_parser_rt.c net/ice/base: fix parser runtime reset 2021-10-13 04:10:10 +02:00
ice_parser_rt.h net/ice/base: add parser execution main loop 2021-09-21 15:17:58 +02:00
ice_parser_util.h net/ice/base: init boost TCAM table for parser 2021-09-21 15:17:57 +02:00
ice_parser.c net/ice/base: enable flow director for IPv6 next protocol 2022-05-17 02:44:21 +02:00
ice_parser.h net/ice/base: enable flow director for IPv6 next protocol 2022-05-17 02:44:21 +02:00
ice_pg_cam.c net/ice/base: add helper for parse graph key matching 2021-09-21 15:17:58 +02:00
ice_pg_cam.h net/ice/base: add helper for parse graph key matching 2021-09-21 15:17:58 +02:00
ice_proto_grp.c net/ice/base: enable flow director for IPv6 next protocol 2022-05-17 02:44:21 +02:00
ice_proto_grp.h net/ice/base: enable flow director for IPv6 next protocol 2022-05-17 02:44:21 +02:00
ice_protocol_type.h net/ice/base: fix build with GCC 12 2022-06-23 11:17:28 +02:00
ice_ptp_consts.h net/ice/base: implement Vernier calibration for E822 2021-08-11 04:24:08 +02:00
ice_ptp_hw.c net/ice/base: support SMA controller 2021-09-21 14:33:44 +02:00
ice_ptp_hw.h net/ice/base: support SMA controller 2021-09-21 14:33:44 +02:00
ice_ptype_mk.c net/ice/base: add helper for ptype markers match 2021-09-21 15:17:58 +02:00
ice_ptype_mk.h net/ice/base: add helper for ptype markers match 2021-09-21 15:17:58 +02:00
ice_sbq_cmd.h net/ice/base: update copyright date 2021-01-08 19:03:09 +01:00
ice_sched.c net/ice/base: support priority configuration of exact node 2022-05-18 06:22:43 +02:00
ice_sched.h net/ice/base: support priority configuration of exact node 2022-05-18 06:22:43 +02:00
ice_status.h net/ice/base: update copyright date 2021-01-08 19:03:09 +01:00
ice_switch.c net/ice/base: fix direction of flow that matches any 2022-05-19 11:20:36 +02:00
ice_switch.h net/ice/base: fix build with GCC 12 2022-06-23 11:17:28 +02:00
ice_tmatch.h net/ice/base: add helper function for boost TCAM match 2021-09-21 15:17:58 +02:00
ice_type.h net/ice/base: init IMEM table for parser 2021-09-21 15:17:55 +02:00
ice_vlan_mode.c net/ice/base: log if DDP/FW do not support QinQ 2021-04-30 15:37:04 +02:00
ice_vlan_mode.h net/ice/base: refactor post DDP download VLAN mode config 2021-04-30 15:26:25 +02:00
ice_xlt_kb.c net/ice/base: add helper function to aggregate flags 2021-09-21 15:17:58 +02:00
ice_xlt_kb.h net/ice/base: add helper function to aggregate flags 2021-09-21 15:17:58 +02:00
meson.build net/ice/base: add parser runtime skeleton 2021-09-21 15:17:57 +02:00
README net/ice/base: add function to set HW profile for raw flow 2021-11-03 13:00:27 +01:00

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

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

This directory contains source code of FreeBSD ice driver of version
2021.11.02 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