Results 1 to 3 of 3

Thread: SLES11.3: IPROUTE2 update with SocketCAN support planned?

  1. SLES11.3: IPROUTE2 update with SocketCAN support planned?

    The latest version of iproute2 package in SLES11-SP3-Updates is 2.6.29.1-6.35.1

    However this seems to be outdated (or atleat before SocketCAN).
    For example when I execute

    Code:
        $ ip link set can0 type can help
    I recieve the following
    Code:
        Usage: ip link add link DEV [ name ] NAME
                           [ txqueuelen PACKETS ]
                           [ address LLADDR ]
                           [ broadcast LLADDR ]
                           [ mtu MTU ]
                           type TYPE [ ARGS ]
               ip link delete DEV type TYPE [ ARGS ]
    
               ip link set DEVICE [ { up | down } ]
                                  [ arp { on | off } ]
                                  [ dynamic { on | off } ]
                                  [ multicast { on | off } ]
                                  [ allmulticast { on | off } ]
                                  [ promisc { on | off } ]
                                  [ trailers { on | off } ]
                                  [ txqueuelen PACKETS ]
                                  [ name NEWNAME ]
                                  [ address LLADDR ]
                                  [ broadcast LLADDR ]
                                  [ mtu MTU ]
                                  [ netns PID ]
                                  [ netns NAME ]
                                  [ alias NAME ]
                                           [ vf NUM [ mac LLADDR ]
                                           [ vlan VLANID [ qos VLAN-QOS ] ]
                                           [ rate TXRATE ] ] 
                                           [ spoofchk { on | off} ] ] 
               ip link show [ DEVICE ]
    
        TYPE := { vlan | veth | dummy | ifb | macvlan }

    But I expect the output to be this
    Code:
        Usage: ip link set DEVICE type can
        	[ bitrate BITRATE [ sample-point SAMPLE-POINT] ] |
        	[ tq TQ prop-seg PROP_SEG phase-seg1 PHASE-SEG1
         	  phase-seg2 PHASE-SEG2 [ sjw SJW ] ]
    
        	[ loopback { on | off } ]
        	[ listen-only { on | off } ]
        	[ triple-sampling { on | off } ]
    
        	[ restart-ms TIME-MS ]
        	[ restart ]
    
        	Where: BITRATE       := { 1..1000000 }
        	       SAMPLE-POINT  := { 0.000..0.999 }
        	       TQ            := { NUMBER }
        	       PROP-SEG      := { 1..8 }
        	       PHASE-SEG1    := { 1..8 }
        	       PHASE-SEG2    := { 1..8 }
        	       SJW           := { 1..4 }
        	       RESTART-MS    := { 0 | NUMBER }
    As decribed in https://www.kernel.org/doc/Documenta...orking/can.txt

    Is there any planned updates for this package?

    Yours Sincerely
    Rikard Sderstrm

  2. #2

    Re: SLES11.3: IPROUTE2 update with SocketCAN support planne

    Hi Rikard

    SocketCAN support is available in SLES 12, which ships with iproute2-3.12.
    Upstream iproute2-2.6.31 introduced CAN support and SLES 11 SP3 ships with 2.6.29. Since this is a request for new functionality rather than a bug it could generally only be added in a new service pack (SLES 11 SP4 - I believe due some time in 2015).
    Currently adding support for SocketCAN does not seem to have been requested in SLES 11 SP4 and the deadline for feature requests has passed a while ago.

    So the way to go for now is SLES 12.
    Of course there is still a theoretical possibility that some other request requires a version upgrade of iproute2 in SLES 11 SP4, which as a bonus would add SocketCAN support, but I would not rely on that :-)

    //Andreas

  3. Re: SLES11.3: IPROUTE2 update with SocketCAN support planne

    Hi Andreas

    I want to thank you for your excellent answer, it gave me all the details I needed. Hopefully it will also help others that find this thread.

    Yours Sincerely
    Rikard Sderstrm

    ps. This thread can now be closed .ds

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •