|
|
|
|
Quelle hinic_ethtool.c
Sprache: C
|
|
// SPDX-License-Identifier: GPL-2.0
/* Huawei HiNIC PCI Express Linux driver
*
*Copyright()2017 Technologies. td
* under the terms and conditions of the GNU General Public License,
* java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
* Thisprogramis in hopeit beuseful WITHOUT
* * und the termsand GNUGeneral License,
*FITNESS A java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 20
* morejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
*
#include </device.>
#include <linux/kernel.h>
#include < the GNU License,
# <inux/.>
#include # l/.h>
#nclude linuxtypesjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 24
# linux/.>
#nclude <linux/interrupt.>
#include <linux/etherdevice.h>
#include <linux/netdeviceinclude </.h>
i</>
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
#include<inuxvmalloch
#include<linux/>
#include hinic_hw_qp.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
i hjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 25
#include "
#"."
#include "hinic_rx.
#include "hinic_dev.h"
## 1
#define GET_SUPPORTED_MODE 0 *ANY
# </ *
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 59
orteddefinejava.lang.StringIndexOutOfBoundsException: Range [52, 46) out of bounds for length 60
<include <linux/module
#nclude <linuxtypes>
((#define java.lang.StringIndexOutOfBoundsException: Range [46, 39) out of bounds for length 53
1 <java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 28
di l/hjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
(-java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 43
#nclude <linux/if_vlan java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
(ecmd)>advertising |=java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 24
#efinejava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 34
(255 java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [39, 30) out of bounds for length 63
ejava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 31
u32;
} (
structjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
u64 ((ecmd) # java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 29
;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 2
u8 ;
(ecmd-java.lang.StringIndexOutOfBoundsException: Range [25, 22) out of bounds for length 43
u8 autoneg;
}
static .speed =
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
.=java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static struct java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2
.java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
(55*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
_,
}
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
=enum hinic_link_mode hw_link_mode .link_mode_bit =ETHTOOL_LINK_MODE_25000baseCR_Full_BIT}
=java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
}
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
u8java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
SPEED_40000,
peed java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
},
{
.speed = SPEED_100000,java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.=,
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
}
{
. =java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 3
.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
= java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 59
}java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
enum java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.java.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 58
case:
,
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
}
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
.=,
.speed = SPEED_25000,
nk_mode ,
},
{
. .java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
. =,
;
.
=java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
.
=
=HINIC_GE_BASE_KX
.peed =java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
}
define LP_DEFAULT_TIME /* seconds */
defineLP_PKT_LEN 1514
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [21, 4) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
DIAG_TEST_MAX link_mode_bit=java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 43
;
static set_link_speeds
}
{
(
; idx java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
continue
case HINIC_SPEED_100MB_LINK{
->java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
case :
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
=,,
break;
25:
for i;+ java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 19
break;
case HINIC_SPEED_40GB_LINKjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 54
}
break;
case :
java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0
break
:
-b.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
breakif link_ksettings-.=java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
}
} link_settings java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [42, 34) out of bounds for length 42
{
nti
forjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (tatic intjava.lang.StringIndexOutOfBoundsException: Range [42, 35) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
return i;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
sjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
enumjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if(java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 45
idx=java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 48
if i if(
e)
i;
}java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
else
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
enum java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
}
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
}
voidjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 72
if (hw_link_mode & ((u32)1 u)1java.lang.StringIndexOutOfBoundsException: Range [32, 2) out of bounds for length 2
{
) java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
case link_ksettings h(-hwdev
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 53
l )java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
->port ;
breakerr java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
case HINIC_PORT_AOC:
s . >java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
;casejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
;
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 8
case:
err = hinic_get_link_mode
:
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 54
- ;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
defaultjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
-rt;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
}
}
hinic_ethtool_to_hw_speed_level) err=hinic_get_hw_pause_info(->hwdev,&pause_info);
structjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
i 0 < ;
{
struct hinic_dev * default:
java.lang.StringIndexOutOfBoundsException: Range [35, 7) out of bounds for length 46
struct java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 8
staticint
static bool( ,
int err;
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
(unsignunsigned *.)int idx;
-baseautoneg=;
-> & .)
err= enum hinic_port_link_state
}
return err
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
if (idx >= HI)
nic_dev,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 7
if (for java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
if (
_peedjava.lang.StringIndexOutOfBoundsException: Range [18, 2) out of bounds for length 2
link_ksettings-
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
}
returnerr;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1
,)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
= hinic_get_link_modenic_dev- java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if(java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 55
if s =0 ;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 53
return java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
)
GET_ADVERTISED_MODE (& (.java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 40
err=(-
if!()java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 2
return java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
(. &pause_info err = hinic_get_hw_pause_info(nic_dev->hwdev
u8 autoneg, u32 speed
}else {
(java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 14
if p -java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 54
}elsejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
}
i (
l>java.lang.StringIndexOutOfBoundsException: Range [51, 41) out of bounds for length 52
(java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 0
linkmode_copy(java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 2
*java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 48
} else-java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
static *;
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for else
if (hw_to_ethtool_speed ( =)?
i iLjava.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 42
}
return speed_leveljava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 9
}
static bool java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 10
speed
{
enumhinic_link_mode java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 1
idx;
for
intspeed;
continue
idx = java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
)
continue;
}
return true;
}
;
}
tatic (java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 1
{
"Enable :"Disable;
;
enum netif_info(nic_dev netif_info( , nic_dev-netdevjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int returntrue
err }
if (err)
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1
ifjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 44
struct hinic_link_mode_cmd-,java.lang.StringIndexOutOfBoundsException: Range [53, 51) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
netif_err
(
speed;
netif_err(nic_dev, drv, netdev,
"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return settings.funcint java.lang.StringIndexOutOfBoundsException: Range [55, 52) out of bounds for length 62
}
return
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
static)
u8nic_speed_leveljava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 38
{
int
!hin
err = java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
if (err)
return err;
/* always set autonegotiation */
port_capautoneg_cap
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
) {
.autoneg_cap java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 1
set_settings
}
} elseifjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
/* set speed only when autoneg is disabled */(java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
! always set autonegotiation
return -INVAL;
*set_settings;
{
netif_err(=java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 33
return -EOPNOTSUPP;
}
n0
}
static int
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
u32java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
{
(java.lang.StringIndexOutOfBoundsException: Range [27, 16) out of bounds for length 44
interr =0;
if (set_settings &java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
err=java.lang.StringIndexOutOfBoundsException: Range [34, 25) out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 49
netif_err(nic_dev, drv
java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 44
err;
else
( ,java.lang.StringIndexOutOfBoundsException: Range [50, 45) out of bounds for length 61
(autoneg == if (set_settings & HILINK_LINK_SET_AUTONEG) {
E":java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 5
}}
&& set_settings &HILINK_LINK_SET_SPEED
if (rr)
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
, nic_dev> java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 6
speed)
else
,drv >, "et dsuccessfully\n"java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
speed)java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
}
return err;
}
static int java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 10
)
{
struct u8 mgmt_ver[HINIC_MGMT_VERSION_MAX_LEN}
char rr *ing)
const
struct net_device *netdev = if (ring->rx_jumbo_pending || ring-
speed_level ;
int err;
autoneg_str = (set_settings & java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 12
(utoneg}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
if (err >= SET_LINK_STR_MAX_LEN struct ethtool_ringparam]{}
n java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 49
net_device*java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
-java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 3
}
0
ring->tx_max_pending = java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 1
settings.autoneg =
if ( ring-x_pending=nic_dev>_pth java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 41
= java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 59
errerrjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if()
,"%n,
autoneg_str, java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 9
else
netif_err n java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
;
return -INVAL;
return if (ring->tx_pendingsettings.
}
tatic return 0
{
struct hinic_dev * =netdev_priv;
u32 set_settings = 0;
int C "java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 42
=java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 70
if (errjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
return err;
if set_settings
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
autoneg, speed);
else
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 12
}
static set_link_settings16new_sq_depth ;
ethtool_link_ksettings *link_settings)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* only support to set autoneg and speed */
return set_link_settings(netdev, link_settings-> errjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
static void hinic_get_drvinfo set_settings)
struct ethtool_drvinfo *)
{
u8mgmt_verHINIC_MGMT_VERSION_MAX_LEN {}java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
= nic_dev>wdev;
struct hinic_hwif *hwif java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int err;
, sizeof( "Change Tx/Rx ring depth from %d/%d to %d/%d\
,pci_name(,sizeof(fo *;
err = hinic_get_mgmt_version(nic_dev, mgmt_ver);/* only support to set autoneg and speed */
return;
snprintf(info->fw_version, sizeof
}
static = nic_devrx_intr_coalesce[;
java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 35
struct ifq =d =;
*extack)
:d,queue hinic_hwdev*hwdev=nic_dev>wdevjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
struct hinic_dev *nic_dev = netdev_priv(netdev);
ringjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ring- /* coalesce_timer is in unit of 9us */
java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
-tx_pending
}err hinic_get_mgmt_version(nic_dev -> "Failed n)
static struct hinic_devnic_dev,tx_coalesce_usecs=java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 9
=java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 66
{
sta
return ;
}
structjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
}
if (ring {
java.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 66
ring-rx_pending < tx_coalesce_usecs ;
netif_err(nic_dev, drv - struct hinic_intr_coal_info *tx_intr_coal_info;
"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
HINIC_MIN_QUEUE_DEPTH txrxirq0 default java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 1
}
return 0;
}
static int java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
struct ethtool_ringparam (onfig=0;
struct * if (ing>java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 48
struct java.lang.StringIndexOutOfBoundsException: Range [47, 41) out of bounds for length 48
{
,java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 42
u16new_sq_depth java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
* isin 9us /
err = ->rx_coalesce_usecs = rx_intr_coal_info->coalesce_timer_cfg *
if (err)
return err;
new_sq_depth=u)1 < ()log2(ing>java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
if( = >&
= java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 39
return 0;
netif_info(nic_dev, drv,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
"Change Tx interrupt_info.resend_timer_cnt = intr_coal>java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 32
nic_dev- errjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
new_sq_depth
nic_dev-sq_depthjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
new_rq_depth;
if (netif_running( Failed
=u16( <u16i(-)
errjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if(java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 1
netif_err(nic_dev, drv, netdev,
Fnetif_info, ,netdevjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
return EFAULT >,-java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
}
=n)
if (nic_dev- = new_rq_depth;
struct if (netif_running(netdev))
\)
}=hinic_close(etdev
}
return 0 if (queue >= nic_devjava.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 34
}
static -;
struct java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
{
*=netdev_priv;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
struct hinic_intr_coal_info *tx_intr_coal_info;
if java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
/* get tx/rx irq0 as default parameters */
rx_intr_coal_info = &nic_dev->java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 4
tx_intr_coal_info = nic_dev=(;
}else {
if (queue >= nic_dev->num_qps) {
netif_err(nic_dev, drv, netdev
"Invalid queue_id: %d\n",
}
rx_intr_coal_info = &nic_dev
(;
} (java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
/* coalesce_timer is in unit of 9us */
coal->rx_coalesce_usecs .java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
ESCE_TIMER_CFG_UNIT
/* coalesced_frames is in unit of 8 */
al-x_max_coalesced_framesrx_intr_coal_infopnding_limt*
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
usecs=tx_intr_coal_info->oalesce_timer_cfg
_ java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
coal->tx_max_coalesced_frames = tx_intr_coal_info set_rx_coal ? "rx" :""java.lang.StringIndexOutOfBoundsException: Range [37, 37) out of bounds for length 35
COALESCE_PENDING_LIMIT_UNIT);
return 0;
}
}
{
if (coal coalescejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 4
coal->tx_coalesce_usecs >java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
COALES;
return-ERANGE;
java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 10
}
static int set_queue_coalesce
struct hinic_intr_coal_info *coal COALESCE_TIMER_CFG_UNIT
bool COALESCE_PENDING_LIMIT_ifr)
{
struct hinic_intr_coal_info *intr_coals
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
struct java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 10
u16 msix_idx
int return
=java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
&ic_dev>q]
intr_coal->coalesce_timer_cfg = coal*
intr_coal->pending_limt = java.lang.StringIndexOutOfBoundsException: Range [40, 31) out of bounds for length 40
/* netdev not running or qp not in using,
* don'java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 3
*/
if (!(nic_dev->flags & struct netlink_ext_ack
q_id >= java.lang.StringIndexOutOfBoundsException: Range [13, 20) out of bounds for length 19
return 0;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 62
nic_devq_id]sq-msix_entry }
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
.java.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 67
=set_rx_coal
-]
err java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
if (err)
netif_warn(nic_dev, /* netdev not running or qp not in using,
java.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
return err;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
static n>-
structinterrupt_info.resend_timer_cnt;
queue java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 41
;
if (queuejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
for (i = 0; i < , java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
err =set_queue_coalesce(,i,java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 21
set_rx_coal java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 53
if err)
return (et_rx_coal && (!java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nic_dev, coalescewilljava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
} else {
if (queue >= nic_dev->num_qps) {
(ic_dev,drvjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
-;
}
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 53
set_rx_coal);
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 40
{
r ,)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
}
static _(struct net_device*,
struct ethtool_coalesce>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
struct hinic_dev *nic_dev = netdev_priv(netdev);
java.lang.StringIndexOutOfBoundsException: Range [28, 7) out of bounds for length 48
struct hinic_intr_coal_info tx_intr_coal = {0};
!java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 26
int err;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (err)
return err;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 35
(u8)(coal->rx_coalesce_usecs / (, - pause_info.;
rx_intr_coal.}
return 0;
set_rx_coal = true;
}
if (coal struct *kernel_coaljava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
tx_intr_coal.coalesce_timer_cfg err =java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
(u8)java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 16
-java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
{
return _hinic_set_coalesce ,COALESCE_ALL_QUEUE);
}
/
*coalesce UDP_V4_FLOW
*/
if ( & (java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 18
!rx_intr_coal.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 8
return
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2
!tx_intr_coal.pending_limt))
netif_warn(nic_dev, drv, netdev, "TX coalesce will java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 1
) {
err _set_hw_coal_paramnic_dev,&rx_intr_coal,queue,true;
if (err)
return err;
}
t_tx_coal{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
struct ethtool_channels
return err;
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
static int hinic_get_coalesce(static int hinic_get_coalesce(struct
struct ethtool_coalesce *coal,
struct kernel_ethtool_coalesce *kernel_coal,
int hinic_set_channelsnet_device*etdev,
{
int err;
}
static int unsigned int count = channel =wdevjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct ethtool_coalesce java.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 0
struct kernel_ethtool_coalesce *kernel_coal
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Range [35, 7) out of bounds for length 63
}
static int java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
struct ethtool_coalesce *coal)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
urn_(netdev ()
}
static
rss_type
{
returncasejava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
}
static void -;
>x_pause=pause_info.;
{
struct hinic_dev *nic_dev = netdev_priv(netdev);
struct hinic_pause_config pause->tx_pause = pause_info.tx_pause
struct hinic_nic_cfg *nic_cfg;
int err;
nic_cfg = &nic_dev->hwdev->func_to_iostatic int
ause_info);
if (!err) {
pause->autoneg = pause_info.auto_neg;
if (-pause_set| !ause_info.auto_neg) {
pause
java.lang.StringIndexOutOfBoundsException: Range [26, 17) out of bounds for length 49
} struct
ifructjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 38
pause->tx_pause = pause_info.tx_pause;
}
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
}
net_device*,
{
struct hinic_dev *nic_dev = netdev_priv(java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 41
structc- java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
returjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
int err;
err =java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 27
if (err)
return -EIO;
if (pause->autoneg != port_cap.autoneg_state)
return -EOPNOTSUPP;
pause_info.auto_neg = pause->autoneg;
pause_info.rx_pause = pause->rx_pause;
pause_infopause_inforx_pause nic_dev-rss_tmpl_idx java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
mutex_lock&nic_dev}
err = hinic_set_hw_pause_infojava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 39
if (err) -data|java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struc*, struct ethtool_rxnfc *cmd, u32 *rule_locs
return err;
}
nic_dev->hwdev->func_to_io.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nic_dev caseETHTOOL_GRXRINGS
nic_dev>-..=if rr java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
break
mutex_unlock(&nic_dev->hwdev->func_to_io.nic_cfg.java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 0
return 0;
}
static voidhinic_get_channelsnet_device*
struct ethtool_channels *channels)
{
struct hinic_dev *nic_dev = netdev_priv(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
break
channels->max_combined = nic_dev->max_qps;
channels->nic_dev->hwdev->func_to_io breakjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
*java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
{
structjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 49
nic_dev->rss_tmpl_idx
int err;
netif_info(ic_dev,,netdev," max combined break;
java.lang.StringIndexOutOfBoundsException: Range [1, 24) out of bounds for length 18
if (netif_running(netdev)) :
netif_info(nic_dev, drv, netdev, "Restarting java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 12
nic_dev->hwdev->static int hinic_set_rxfh(struct net_device *netdev,
err = hinic_open(netdev);
ifstructhinic_dev*ic_dev=java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1
netif_err(ic_dev, err ;
"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return -EFAULT;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
} else {
nic_dev->wdevstruct hinic_dev*nic_dev ()
}
return 0;
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
ethtool_rxfh_fieldsjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
sinthinic_set_channels*,
struct hinic_dev *nic_dev = netdev_priv/* RSS does not support anything other than hashing
hinic_rss_typerss_type = {
int err;
cmd-java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 4
/* We need the SRC java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
err = hinic_get_rss_type(nic_dev, nic_dev->rss_tmpl_idx,
&rss_type);
if (err)
return err;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
switch (cmd-(
case TCP_V4_FLOW:
(.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
cmd->data rss_type-ipv6=1
break;
case TCP_V6_FLOW:
if (rss_type.tcp_ipv6)
cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [31, 18) out of bounds for length 18
if (rss_type.java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 2
offset=( java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 62
break;
case :
if (rss_type(java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
m,
break;
case (u32 )
case IPV6_FLOW:
break;
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 38
cmd->data =java.lang.StringIndexOutOfBoundsException: Range [37, 16) out of bounds for length 39
return -EINVAL;
}
;
}
intset_l4_rss_hash_opsstruct java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 47
struct hinic_rss_type *(mac_rx_8192_9216_oct_pkt_)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
{
u8 rss_l4_en = 0;
0
cmd-data| RXH_L4_B_0_1 RXH_L4_B_2_3
rss_l4_en = 0;
break;
case =java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 42
1
break cmd->ata nic_dev;
:
HINIC_PORT_STAT(java.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 42
}return ;
switch (cmd->flow_types :
case TCP_V4_FLOW:(),
;
eak;
case TCP_V6_FLOW:
break
default:
case UDP_V4_FLOW:
rss_type->udp_ipv4 = rss_l4_en;
break;
case UDP_V6_FLOW:
rss_type->udp_ipv6 = rss_l4_en;
break;
default:
return HINIC_PORT_STAT(,
}
u8 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 18
}
java.lang.StringIndexOutOfBoundsException: Range [32, 6) out of bounds for length 56
const struct ethtool_rxfh_fields *cmd,
struct netlink_ext_ack *extack)
{
hinic_dev nic_dev =netdev_priv)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
struct*rss_type;
int err;
rss_type = &nic_dev-> java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
if (!(nic_dev- -tcp_ipv4=rss_l4_en;
return - (nic_dev, nic_dev>,
/* RSS does not support anything other than hashing txq_stats;
break;
*/
)
return -EINVAL;
staticu32 hinic_txq_get_stats case:
if (!(cmdrss_typeudp_ipv6= ;
return -EINVAL;
err = hinic_get_rss_type(nic_dev,
nic_dev->rss_tmpl_idx, rss_type);
if(rr
return -EFAULT;
switch (
case 0
case TCP_V6_FLOW:
case UDP_V4_FLOW: ;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
err =staticjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 52
if (err)
returnerr;
HINIC_F(),
seIPV4_FLOW
-> =1java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
break;
nic_devjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rss_type->ipv6 = 1;
break;
default:
HINIC_FUNC_STATrx_broadcast_pkts_vport)
}
erru16i=0,j=0;
*rss_type);
if (err)
return-EFAULTjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
return 0;
}
int_set_rss_rxfhstructnet_devicenetdev,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
v_priv( struct hinic_dev *nic_dev = netdev_priv(netdev
/*RSSdoes supportanythinghashing
if (indir) {
if (!nic_dev->rss_indir_user) {
kzalloc(sizeof(u32) *
)
if (ic_dev-ss_indir_user)
returnHINIC_PORT_STATac_rx_total_oct_numjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
}
memcpy(ic_dev>ss_indir_user,RXH_L4_B_2_3
return-;
err hinic_rss_set_indir_tbl(nic_dev,
nic_dev->rss_tmpl_idx, indir);
if/netif_errnic_dev,drv netdev,
if (!(cmd RXH_IP_SRC |HINIC_PORT_STATmac_rx_broad_pkt_num
-java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
if (key) {
(!ic_dev->){
nic_dev->rss_hkey_user =
kzalloc(HINIC_RSS_KEY_SIZE * 2, GFP_KERNEL (rr)
if (!nic_dev->rss_hkey_user)
return -ENOMEM;
}
memcpy(ic_devrss_hkey_user key, }
err hinic_rss_set_template_tbljava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 18
nic_dev-rss_tmpl_idx keyjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if()
breakjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
}
return 0;
}
* >=;
struct TAT default
{
hinic_dev
int(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
switchcmd){
case ETHTOOL_GRXRINGS:
cmd->data = nic_dev->num_qps;
break;
HINIC_PO(mac_rx_pfc_pri1_pkt_num),
err = -EOPNOTSUPP;
break;
}
return err;
}
static net_device *netdev,
struct ethtool_rxfh_paramHINIC_PORT_STAT(ac_rx_pfc_pri7_pkt_num,
{
struct kzalloc(sizeof)HINIC_RSS_INDIR_SIZE+
ethtool_sprintfdata,hinic_tx_queue_stats.,)
if!nic_dev- HINIC_RSS_ENABLE)
return j=0; j <ARRAY_SIZE(HINIC_PORT_STAT(mac_rx_send_app_good_pkt_num
err = hinic_rss_get_hash_engine(nic_dev,
nic_dev->rss_tmpl_idx,
&hash_engine_typeHINIC_PORT_STAT(mac_tx_undersize_pkt_num ()HINIC_RSS_INDIR_SIZE;
if (err)
return -EFAULT;
static struct nic_dev
errjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
err(nic_dev,
sk_buffskb_tmp= NULL;
rxfh->indir);
if (err)
;
}
u8test_data=NULLjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
err = java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
nic_dev>rss_tmpl_idx
rxfh-key INIC_PORT_STAT !)
return err;
}
static int (),
struct ethtool_rxfh_param *rxfh,
java.lang.StringIndexOutOfBoundsException: Range [27, 11) out of bounds for length 36
{ nic_devmac_tx_pfc_pkt_num)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
struct hinic_dev *nic_dev = netdev_priv(netdev);
int err EFAULTjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
if (!(nic_dev->flags & HINIC_RSS_ENABLE))
HINIC_PORT_STAT(mac_tx_pfc_pri4_pkt_num),
if ( HINIC_PORT_STATjava.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 53
if (rxfh->hfunc != HINIC_PORT_STAT(mac_tx_pfc_pri6_pkt_num),
rxfh->hfunc != nic_dev java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [16, 13) out of bounds for length 41
-rss_hash_engine=()
case ETHTOOL_GRXRINGS(ac_tx_from_app_bad_pkt_num,
cmd->data = nic_dev;
err = hinic_rss_set_hash_engine
(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nic_dev->rss_hash_engine);
if err
-;
}
errjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return err
}
(x_dropped)
{
structmsleep(200)
}
tatic net_device *etdevjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{
java.lang.StringIndexOutOfBoundsException: Range [21, 7) out of bounds for length 29
}
#define HINIC_FUNC_STAT(csum_errors,
. =#stat_item,\
.size &java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
.if(rr)
}
static struct java.lang.StringIndexOutOfBoundsException: Range [15, 11) out of bounds for length 16
HINIC_FUNC_STAT(tx_unicast_pkts_vport),
HINIC_FUNC_STAT(tx_unicast_bytes_vport),
(rxfhindir {
if hinic_rss_get_indir_tblnc_dev,
return 0
rxfh);
;
}
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
(rx_multicast_bytes_vport),
nic_dev-,
rxfh>)
;
HINIC_FUNC_STAThinic_set_loopback_mode(>wdev
HINIC_FUNC_STATjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
(x_err_vport)
}
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 3
"",
};
#define HINIC_PORT_STAT(_java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 21
. = #stat_item java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.size = sizeof_field(structif (xfh- =ETH_RSS_HASH_TOP &
, _at_item err hinic_run_lp_testnic_devjava.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 46
}
static struct hinic_stats hinic_port_stats[] = {
HINIC_PORT_STAT(mac_rx_total_pkt_num),
(,
HINIC_PORT_STATmac_rx_bad_pkt_num
HINIC_PORT_STAT(java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 14
HINIC_PORT_STAT(mac_rx_good_pkt_num),
HINIC_PORT_STAT(mac_rx_good_oct_num),
HINIC_PORT_STAT(mac_rx_uni_pkt_num),
HINIC_PORT_STAT(mac_rx_multi_pkt_num),
HINIC_PORT_STAT(java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1
HINIC_PORT_STAT(mac_tx_total_pkt_num),
HINIC_PORT_STAT(mac_tx_total_oct_num),
HINIC_PORT_STAT(mac_tx_bad_pkt_num
HINIC_PORT_STAT(mac_tx_bad_oct_num)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
HINIC_PORT_STATa),
HINIC_PORT_STAT(mac_tx_good_oct_num),
HINIC_PORT_STAT(mac_tx_uni_pkt_num),
HINIC_PORT_STAT(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 13
HINIC_PORT_STAT(mac_tx_broad_pkt_num),
mac_rx_fragment_pkt_num &]0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
ARRAY_Sjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 29
mjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
goto java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
HINIC_PORT_STAT(- java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
HINIC_PORT_STAT(ac_rx_128_255_oct_pkt_num,
HINIC_PORT_STAT(java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
HINIC_PORT_STAT(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 26
= char*
mac_rx_2048_4095_oct_pkt_num
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 47
HINIC_PORT_STAT(>java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 2
HINIC_PORT_STAT(netif_tx_wake_all_queuesn)
num)
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 35
HINIC_PORT_STAT(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
HINIC_PORT_STAT(mac_rx_pfc_pri0_pkt_num)(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 18
HINIC_PORT_STAT(mac_rx_pfc_pri1_pkt_num),
HINIC_PORT_STAT(mac_rx_pfc_pri2_pkt_num),
()java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
HINIC_PORT_STAT(mac_rx_pfc_pri4_pkt_num),
)
HINIC_PORT_STAT( HINIC_LED_MODE_FORCE_2HZ)
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 42 | | |