Quantcast
Channel: Mellanox Interconnect Community: Message List
Viewing all articles
Browse latest Browse all 6211

Re: Read port priority counters is 0 .

$
0
0

Thanks, Ophir Maor

 

1. Switch Port 1 and 5 not packets counters

   

switch-5e13ce [standalone: master] (config) # show interfaces ethernet 1/1 counters priority 3

 

Rx

  0                    packets

  0                    unicast packets

  0                    multicast packets

  0                    broadcast packets

  0                    bytes

  0                    pause packets

  0                    pause duration milliseconds

 

Tx

  0                    packets

  0                    unicast packets

  0                    multicast packets

  0                    broadcast packets

  0                    bytes

  0                    pause packets

 

switch-5e13ce [standalone: master] (config) # show interfaces ethernet 1/1 counters priority 5

 

Rx

  0                    packets

  0                    unicast packets

  0                    multicast packets

  0                    broadcast packets

  0                    bytes

  0                    pause packets

  0                    pause duration milliseconds

 

Tx

  0                    packets

  0                    unicast packets

  0                    multicast packets

  0                    broadcast packets

  0                    bytes

  0                    pause packets

 

2. yes, Switch  PFC is enabled

 

---- switch running config --

##

## Running database "initial"

## Generated at 2015/10/30 11:19:07 +0000

## Hostname: switch-5e13ce

##

 

 

##

## Running-config temporary prefix mode setting

##

no cli default prefix-modes enable

 

 

##

## License keys

##

   license install ..........................................

  

##

## DCBX PFC configuration

##

   dcb priority-flow-control enable force

   dcb priority-flow-control priority 3 enable

   interface ethernet 1/1 dcb priority-flow-control mode on force

   interface ethernet 1/5 dcb priority-flow-control mode on force

  

##

## Interface Ethernet configuration

##

   interface ethernet 1/1 mtu 4200 force

   interface ethernet 1/5 mtu 4200 force

   interface ethernet 1/1 switchport mode hybrid

   interface ethernet 1/5 switchport mode hybrid

  

##

## VLAN configuration

##

   vlan 100

  

   interface ethernet 1/1 switchport hybrid allowed-vlan all

   interface ethernet 1/5 switchport hybrid allowed-vlan all

  

##

## DCBX ETS configuration

##

no dcb ets enable

   dcb ets tc bandwidth 20 20 30 30

  

##

## Network interface configuration

##

no interface mgmt0 dhcp

   interface mgmt0 ip address xxx.xxx.xx.xxx /25

  

##

## Network interface IPv6 configuration

##

no interface mgmt0 ipv6 address autoconfig default

no interface mgmt0 ipv6 enable

  

##

## Other IP configuration

##

   ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx

  

##

## AAA remote server configuration

##

# ldap bind-password ********

# radius-server key ********

# tacacs-server key ********

  

##

## Network management configuration

##

# web proxy auth basic password ********

  

##

## X.509 certificates configuration

##

#

# Certificate name system-self-signed, ID 0e5aa8139ab66157a7a051bcf66540771fb3cab2

# (public-cert config omitted since private-key config is hidden)

 

 

##

## Persistent prefix mode setting

##

cli default prefix-modes enable

 

3. My FDR HCA is MCX353A-FCBT (both)

 

4. RX=`cat /sys/module/mlx4_en/parameters/pfcrx`;printf "0x%x\n" $RX

    TX=`cat /sys/module/mlx4_en/parameters/pfctx`;printf "0x%x\n" $TX

 

Result is

 

pc1.

 

root@Clotho:/etc/modprobe.d#  TX=`cat /sys/module/mlx4_en/parameters/pfctx`;printf "0x%x\n" $TX

0x8

root@Clotho:/etc/modprobe.d# RX=`cat /sys/module/mlx4_en/parameters/pfcrx`;printf "0x%x\n" $RX

0x8

root@Clotho:/etc/modprobe.d#

 

pc2.

root@Atropos:/etc/modprobe.d#   TX=`cat /sys/module/mlx4_en/parameters/pfctx`;printf "0x%x\n" $TX

0x8

root@Atropos:/etc/modprobe.d# RX=`cat /sys/module/mlx4_en/parameters/pfcrx`;printf "0x%x\n" $RX

0x8

root@Atropos:/etc/modprobe.d#

 

 

 

And See most of the reference to the document, but The Result is still the same.

 

Any help Thanks!!


Viewing all articles
Browse latest Browse all 6211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>