X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fsfc%2Fsfc_kvargs.h;h=2226f2b3d9b1673028b9ebde16caee8eacaa494d;hb=d0f981a3efd8b3204f3d86d6ef55dabf7412298c;hp=1e578e7d4e5730b3358427ca7719d28c2ad18a4f;hpb=9e7fc8b8f3be3f7d5595143baa5af5cf7c140c24;p=dpdk.git diff --git a/drivers/net/sfc/sfc_kvargs.h b/drivers/net/sfc/sfc_kvargs.h index 1e578e7d4e..2226f2b3d9 100644 --- a/drivers/net/sfc/sfc_kvargs.h +++ b/drivers/net/sfc/sfc_kvargs.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-3-Clause * - * Copyright (c) 2016-2018 Solarflare Communications Inc. - * All rights reserved. + * Copyright(c) 2019-2021 Xilinx, Inc. + * Copyright(c) 2016-2019 Solarflare Communications Inc. * * This software was jointly developed between OKTET Labs (under contract * for Solarflare) and Solarflare Communications, Inc. @@ -18,6 +18,16 @@ extern "C" { #define SFC_KVARG_VALUES_BOOL "[1|y|yes|on|0|n|no|off]" +#define SFC_KVARG_SWITCH_MODE_LEGACY "legacy" +#define SFC_KVARG_SWITCH_MODE_SWITCHDEV "switchdev" + +#define SFC_KVARG_SWITCH_MODE "switch_mode" +#define SFC_KVARG_VALUES_SWITCH_MODE \ + "[" SFC_KVARG_SWITCH_MODE_LEGACY "|" \ + SFC_KVARG_SWITCH_MODE_SWITCHDEV "]" + +#define SFC_KVARG_REPRESENTOR "representor" + #define SFC_KVARG_PERF_PROFILE "perf_profile" #define SFC_KVARG_PERF_PROFILE_AUTO "auto" @@ -33,17 +43,22 @@ extern "C" { #define SFC_KVARG_DATAPATH_EFX "efx" #define SFC_KVARG_DATAPATH_EF10 "ef10" #define SFC_KVARG_DATAPATH_EF10_SIMPLE "ef10_simple" +#define SFC_KVARG_DATAPATH_EF10_ESSB "ef10_essb" +#define SFC_KVARG_DATAPATH_EF100 "ef100" #define SFC_KVARG_RX_DATAPATH "rx_datapath" #define SFC_KVARG_VALUES_RX_DATAPATH \ "[" SFC_KVARG_DATAPATH_EFX "|" \ - SFC_KVARG_DATAPATH_EF10 "]" + SFC_KVARG_DATAPATH_EF10 "|" \ + SFC_KVARG_DATAPATH_EF10_ESSB "|" \ + SFC_KVARG_DATAPATH_EF100 "]" #define SFC_KVARG_TX_DATAPATH "tx_datapath" #define SFC_KVARG_VALUES_TX_DATAPATH \ "[" SFC_KVARG_DATAPATH_EFX "|" \ SFC_KVARG_DATAPATH_EF10 "|" \ - SFC_KVARG_DATAPATH_EF10_SIMPLE "]" + SFC_KVARG_DATAPATH_EF10_SIMPLE "|" \ + SFC_KVARG_DATAPATH_EF100 "]" #define SFC_KVARG_FW_VARIANT "fw_variant" @@ -51,11 +66,15 @@ extern "C" { #define SFC_KVARG_FW_VARIANT_FULL_FEATURED "full-feature" #define SFC_KVARG_FW_VARIANT_LOW_LATENCY "ultra-low-latency" #define SFC_KVARG_FW_VARIANT_PACKED_STREAM "capture-packed-stream" +#define SFC_KVARG_FW_VARIANT_DPDK "dpdk" #define SFC_KVARG_VALUES_FW_VARIANT \ "[" SFC_KVARG_FW_VARIANT_DONT_CARE "|" \ SFC_KVARG_FW_VARIANT_FULL_FEATURED "|" \ SFC_KVARG_FW_VARIANT_LOW_LATENCY "|" \ - SFC_KVARG_FW_VARIANT_PACKED_STREAM "]" + SFC_KVARG_FW_VARIANT_PACKED_STREAM "|" \ + SFC_KVARG_FW_VARIANT_DPDK "]" + +#define SFC_KVARG_RXD_WAIT_TIMEOUT_NS "rxd_wait_timeout_ns" struct sfc_adapter;