17 Jun, 2016

1 commit


28 Apr, 2016

1 commit


11 Dec, 2015

1 commit

  • This patch adds a hint about how to get timestamps of received
    CAN frames with ioctl(2). This hint has been applied to the
    former SocketCAN Documentation, but it got lost during mainlining
    the first bits and pieces to linux kernel.

    Signed-off-by: Stefan Tatschner
    Signed-off-by: Jonathan Corbet

    Stefan Tatschner
     

14 Nov, 2015

1 commit

  • Pull more documentation updates from Jon Corbet:
    "A few more documentation patches that wandered in and have no reason
    to wait; these include some improvements to the suggestions for email
    clients and patch submission"

    * tag '4.4-additional' of git://git.lwn.net/linux:
    Documentation: Add minimal Mutt config for using Gmail
    Documentation: Add note on sending files directly with Mutt
    Documentation: dontdiff: remove media from dontdiff
    Documentation/SubmittingPatches: discuss In-Reply-To
    Remove email address from Documentation/filesystems/overlayfs.txt
    can-doc: Add missing semicolon to example

    Linus Torvalds
     

12 Nov, 2015

1 commit

  • The example code for CAN_BCM,

    connect(s, (struct sockaddr *)&addr, sizeof(addr))

    lacks a semicolon at the end of the line. This patch adds that
    missing semicolon to ensure that the given code snippet actually
    compiles.

    Signed-off-by: Stefan Tatschner
    Acked-by: Marc Kleine-Budde
    Signed-off-by: Jonathan Corbet

    Stefan Tatschner
     

19 Sep, 2015

1 commit

  • With Linux 3.15 the infrastructure for CAN FD hardware drivers had been
    introduced into the kernel. Now the M_CAN driver and the peak_usb driver
    support CAN FD. Update the documentation to show the latest CAN related
    configuration options of 'ip' from iproute2 and describe the CAN FD specific
    options to set the data bitrate and protocol version (ISO/non-ISO).

    Signed-off-by: Oliver Hartkopp
    Acked-by: Marc Kleine-Budde
    Signed-off-by: Jonathan Corbet

    Oliver Hartkopp
     

11 Jul, 2015

1 commit


06 May, 2015

1 commit

  • The current definition of struct can_frame has a 16-byte size, with 8-byte
    alignment, but the 3 bytes of padding are not explicit like the similar 2 bytes
    of padding of struct canfd_frame. Make it explicit so it is easier to read.

    Signed-off-by: Shawn Landden
    Acked-by: Oliver Hartkopp
    Signed-off-by: Marc Kleine-Budde

    Shawn Landden
     

01 Apr, 2015

1 commit

  • The CAN_RAW socket can set multiple CAN identifier specific filters that lead
    to multiple filters in the af_can.c filter processing. These filters are
    indenpendent from each other which leads to logical OR'ed filters when applied.

    This socket option joines the given CAN filters in the way that only CAN frames
    are passed to user space that matched *all* given CAN filters. The semantic for
    the applied filters is therefore changed to a logical AND.

    This is useful especially when the filterset is a combination of filters where
    the CAN_INV_FILTER flag is set in order to notch single CAN IDs or CAN ID
    ranges from the incoming traffic.

    As the raw_rcv() function is executed from NET_RX softirq the introduced
    variables are implemented as per-CPU variables to avoid extensive locking at
    CAN frame reception time.

    Signed-off-by: Oliver Hartkopp
    Signed-off-by: Marc Kleine-Budde

    Oliver Hartkopp
     

05 Feb, 2015

1 commit


13 Jun, 2014

1 commit

  • Pull networking updates from David Miller:

    1) Seccomp BPF filters can now be JIT'd, from Alexei Starovoitov.

    2) Multiqueue support in xen-netback and xen-netfront, from Andrew J
    Benniston.

    3) Allow tweaking of aggregation settings in cdc_ncm driver, from Bjørn
    Mork.

    4) BPF now has a "random" opcode, from Chema Gonzalez.

    5) Add more BPF documentation and improve test framework, from Daniel
    Borkmann.

    6) Support TCP fastopen over ipv6, from Daniel Lee.

    7) Add software TSO helper functions and use them to support software
    TSO in mvneta and mv643xx_eth drivers. From Ezequiel Garcia.

    8) Support software TSO in fec driver too, from Nimrod Andy.

    9) Add Broadcom SYSTEMPORT driver, from Florian Fainelli.

    10) Handle broadcasts more gracefully over macvlan when there are large
    numbers of interfaces configured, from Herbert Xu.

    11) Allow more control over fwmark used for non-socket based responses,
    from Lorenzo Colitti.

    12) Do TCP congestion window limiting based upon measurements, from Neal
    Cardwell.

    13) Support busy polling in SCTP, from Neal Horman.

    14) Allow RSS key to be configured via ethtool, from Venkata Duvvuru.

    15) Bridge promisc mode handling improvements from Vlad Yasevich.

    16) Don't use inetpeer entries to implement ID generation any more, it
    performs poorly, from Eric Dumazet.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1522 commits)
    rtnetlink: fix userspace API breakage for iproute2 < v3.9.0
    tcp: fixing TLP's FIN recovery
    net: fec: Add software TSO support
    net: fec: Add Scatter/gather support
    net: fec: Increase buffer descriptor entry number
    net: fec: Factorize feature setting
    net: fec: Enable IP header hardware checksum
    net: fec: Factorize the .xmit transmit function
    bridge: fix compile error when compiling without IPv6 support
    bridge: fix smatch warning / potential null pointer dereference
    via-rhine: fix full-duplex with autoneg disable
    bnx2x: Enlarge the dorq threshold for VFs
    bnx2x: Check for UNDI in uncommon branch
    bnx2x: Fix 1G-baseT link
    bnx2x: Fix link for KR with swapped polarity lane
    sctp: Fix sk_ack_backlog wrap-around problem
    net/core: Add VF link state control policy
    net/fsl: xgmac_mdio is dependent on OF_MDIO
    net/fsl: Make xgmac_mdio read error message useful
    net_sched: drr: warn when qdisc is not work conserving
    ...

    Linus Torvalds
     

04 Jun, 2014

1 commit

  • Pull trivial tree changes from Jiri Kosina:
    "Usual pile of patches from trivial tree that make the world go round"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    staging: go7007: remove reference to CONFIG_KMOD
    aic7xxx: Remove obsolete preprocessor define
    of: dma: doc fixes
    doc: fix incorrect formula to calculate CommitLimit value
    doc: Note need of bc in the kernel build from 3.10 onwards
    mm: Fix printk typo in dmapool.c
    modpost: Fix comment typo "Modules.symvers"
    Kconfig.debug: Grammar s/addition/additional/
    wimax: Spelling s/than/that/, wording s/destinatary/recipient/
    aic7xxx: Spelling s/termnation/termination/
    arm64: mm: Remove superfluous "the" in comment
    of: Spelling s/anonymouns/anonymous/
    dma: imx-sdma: Spelling s/determnine/determine/
    ath10k: Improve grammar in comments
    ath6kl: Spelling s/determnine/determine/
    of: Improve grammar for of_alias_get_id() documentation
    drm/exynos: Spelling s/contro/control/
    radio-bcm2048.c: fix wrong overflow check
    doc: printk-formats: do not mention casts for u64/s64
    doc: spelling error changes
    ...

    Linus Torvalds
     

19 May, 2014

1 commit


05 May, 2014

1 commit


01 Apr, 2014

1 commit


03 Mar, 2014

1 commit

  • In commit e2d265d3b587 (canfd: add support for CAN FD in CAN_RAW sockets)
    CAN FD frames with a payload length up to 8 byte are passed to legacy
    sockets where the CAN FD support was not enabled by the application.

    After some discussions with developers at a fair this well meant feature
    leads to confusion as no clean switch for CAN / CAN FD is provided to the
    application programmer. Additionally a compatibility like this for legacy
    CAN_RAW sockets requires some compatibility handling for the sending, e.g.
    make CAN2.0 frames a CAN FD frame with BRS at transmission time (?!?).

    This will become a mess when people start to develop applications with
    real CAN FD hardware. This patch reverts the bad compatibility code
    together with the documentation describing the removed feature.

    Acked-by: Stephane Grosjean
    Signed-off-by: Oliver Hartkopp
    Signed-off-by: Marc Kleine-Budde

    Oliver Hartkopp
     

17 Dec, 2013

1 commit

  • Changed MAINTAINERS file to add Documentation/networking/can.txt to the list of
    maintained files.

    can.txt:
    - Globally changed Socket CAN to SocketCAN
    - Removed section 3.3 from the document
    - Updated Section 7
    - Corrected a few simple typos

    Acked-by: Oliver Hartkopp
    Signed-off-by: John Whitmore
    Signed-off-by: Marc Kleine-Budde

    John Whitmore
     

01 Nov, 2013

1 commit

  • This patch adds documentation about the broadcast manager. It's based on Brian
    Thorne's initial patch http://marc.info/?l=linux-can&m=138119382015496&w=2 and
    Daniele Venzano's work http://brownhat.org/docs/socketcan.html .

    Signed-off-by: Brian Thorne
    Cc: Daniele Venzano
    Cc: Andre Naujoks
    Signed-off-by: Oliver Hartkopp
    Signed-off-by: Marc Kleine-Budde

    Oliver Hartkopp
     

20 Jun, 2012

1 commit


07 Jun, 2012

1 commit


24 May, 2012

1 commit

  • As Heinz-Juergen Oertel pointed out 'CAN error frames' are a already defined
    term for the CAN protocol violation indication on the wire.

    To avoid confusion with the error messages created by CAN drivers available
    via CAN RAW sockets update the documentation and change the naming from
    'error frames' to 'error messages' or 'error message frames'.

    Signed-off-by: Oliver Hartkopp
    Signed-off-by: Marc Kleine-Budde

    Oliver Hartkopp
     

16 Apr, 2012

1 commit


31 Mar, 2011

1 commit


21 Oct, 2010

1 commit

  • CAN has no addressing scheme. It is currently impossible for userspace
    to tell is a received CAN frame comes from another process on the local
    host, or from a remote CAN device.

    This patch add support for userspace applications to distinguish between
    'own', 'local' and 'remote' CAN traffic. The distinction is made by returning
    flags in msg->msg_flags in the call to recvmsg().

    The added documentation explains the introduced flags.

    Signed-off-by: Kurt Van Dijck
    Signed-off-by: Oliver Hartkopp
    Signed-off-by: David S. Miller

    Oliver Hartkopp
     

15 Jun, 2009

1 commit


13 Jun, 2009

1 commit


19 May, 2009

1 commit


24 Sep, 2008

1 commit


27 Jul, 2008

1 commit


15 Apr, 2008

1 commit


29 Jan, 2008

1 commit