Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-883

add a physical port to ovs bridge let the duplex reduce to half

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9, rhel-10
    • openvswitch3.3
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-sst-network-fastdatapath
    • ssg_networking
    • Moderate

       

      rpm info:

      kernel: 6.11.0-25.el10.x86_64

      openvswitch3.3-3.3.0-8.el10fdp.x86_64

       

      step:

      1. add 25G nic to ovs bridge

      [root@hp-dl388g10-03 ~]# ethtool ens4f0np0
      Settings for ens4f0np0:
      	Supported ports: [ FIBRE ]
      	Supported link modes:   25000baseCR/Full
      	Supported pause frame use: Symmetric Receive-only
      	Supports auto-negotiation: Yes
      	Supported FEC modes: None	 RS	 BASER
      	Advertised link modes:  25000baseCR/Full
      	Advertised pause frame use: No
      	Advertised auto-negotiation: Yes
      	Advertised FEC modes: None	 RS	 BASER
      	Speed: 25000Mb/s
      	Duplex: Full
      	Auto-negotiation: off
      	Port: Direct Attach Copper
      	PHYAD: 0
      	Transceiver: internal
      	Supports Wake-on: d
      	Wake-on: d
              Current message level: 0x00000007 (7)
                                     drv probe link
      	Link detected: yes 
      ovs-vsctl add-br ovsbr0
      ovs-vsctl add-port ovsbr0 ens4f0np0
      [root@hp-dl388g10-03 ~]# ovs-vsctl list interface ens4f0np0
      _uuid               : 419b12ab-fb09-4d88-a2f4-b0d414c83eab
      admin_state         : up
      bfd                 : {}
      bfd_status          : {}
      cfm_fault           : []
      cfm_fault_status    : []
      cfm_flap_count      : []
      cfm_health          : []
      cfm_mpid            : []
      cfm_remote_mpids    : []
      cfm_remote_opstate  : []
      duplex              : half
      error               : []
      external_ids        : {}
      ifindex             : 7
      ingress_policing_burst: 0
      ingress_policing_kpkts_burst: 0
      ingress_policing_kpkts_rate: 0
      ingress_policing_rate: 0
      lacp_current        : []
      link_resets         : 5
      link_speed          : 25000000000
      link_state          : up
      lldp                : {}
      mac                 : []
      mac_in_use          : "3c:fd:fe:bd:1c:a4"
      mtu                 : 1500
      mtu_request         : []
      name                : ens4f0np0
      ofport              : 2
      ofport_request      : []
      options             : {}
      other_config        : {}
      statistics          : {collisions=0, rx_bytes=2719071, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_missed_errors=0, rx_multicast_packets=8475, rx_over_err=0, rx_packets=10687, tx_bytes=1326, tx_dropped=0, tx_errors=0, tx_packets=17, upcall_errors=0, upcall_packets=3640}
      status              : {driver_name=i40e, driver_version="6.11.0-25.el10.x86_64+rt", firmware_version="9.20 0x8000d89c 1.3353.0"}
      type                : ""
      

      After check with admachad@redhat.com and rhn-support-dmarchan , this issue should fix on upstream. and need to backport to downstream.

      https://mail.openvswitch.org/pipermail/ovs-dev/2024-August/416471.html

       

              rhn-support-dmarchan David Marchand
              mhou@redhat.com Minxi Hou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: