[ovs-discuss] [ovn/ovs] OVS hardware offloading

Ammad Syed syedammad83 at gmail.com
Wed Jul 14 07:39:38 UTC 2021


Hi,

I am using OVN with openstack neutron on ubuntu 20.04. I want to enable
hardware offloading on ovs. I have used below command to to enable offload.

ovs-vsctl set Open_vSwitch . other_config:hw-offload=true

By reviewing below URL.

https://www.openvswitch.org/support/ovscon2019/day2/0951-hw_offload_ovs_con_19-Oz-Mellanox.pdf

I just want to enable kernel offload using tc.

I am using Broadcom BCM57504 NetXtreme-E and below firmware and driver
details.

driver: bnxt_en
version: 1.10.0
firmware-version: 218.0.169.2/pkg 21.80.16.95
expansion-rom-version:
bus-info: 0000:63:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: no
supports-priv-flags: no

I have checked with ethtool -k with on NIC, hw-tc-offload: on  is on.

When I have enabled offloading. I have started seeing below errors.

[ 1197.506839] bnxt_en 0000:63:00.0 eth0-tor1: hwrm req_type 0x103 seq id
0x1282 error 0x2
[ 1197.507086] bnxt_en 0000:63:00.0 eth0-tor1: Error: bnxt_tc_add_flow:
cookie=0xffff9fe730da8000 error=-22
[ 1197.516042] bnxt_en 0000:63:00.1 eth0-tor2: hwrm req_type 0x103 seq id
0x127f error 0x2
[ 1197.525717] bnxt_en 0000:63:00.1 eth0-tor2: Error: bnxt_tc_add_flow:
cookie=0xffff9fe730da8000 error=-22
[ 1227.522630] bnxt_en 0000:63:00.0 eth0-tor1: hwrm req_type 0x103 seq id
0x12f7 error 0x2
[ 1227.531524] bnxt_en 0000:63:00.0 eth0-tor1: Error: bnxt_tc_add_flow:
cookie=0xffff9fe731a28800 error=-22
[ 1227.540403] bnxt_en 0000:63:00.1 eth0-tor2: hwrm req_type 0x103 seq id
0x12f4 error 0x2
[ 1227.548676] bnxt_en 0000:63:00.1 eth0-tor2: Error: bnxt_tc_add_flow:
cookie=0xffff9fe731a28800 error=-22
[ 1257.563517] bnxt_en 0000:63:00.0 eth0-tor1: hwrm req_type 0x103 seq id
0x136c error 0x2
[ 1257.572898] bnxt_en 0000:63:00.0 eth0-tor1: Error: bnxt_tc_add_flow:
cookie=0xffff9fe731a28800 error=-22
[ 1257.583457] bnxt_en 0000:63:00.1 eth0-tor2: hwrm req_type 0x103 seq id
0x1369 error 0x2
[ 1257.591647] bnxt_en 0000:63:00.1 eth0-tor2: Error: bnxt_tc_add_flow:
cookie=0xffff9fe731a28800 error=-22

Please advise how to fix it.

-- 
Regards,


Ammad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20210714/e97baa26/attachment.html>


More information about the discuss mailing list