1. 19 Nov, 2020 10 commits
  2. 18 Nov, 2020 25 commits
  3. 17 Nov, 2020 5 commits
    • Jakub Kicinski's avatar
      Merge branch 'fix-several-bad-kernel-doc-markups' · 6997faa9
      Jakub Kicinski authored
      Mauro Carvalho Chehab says:
      
      ====================
      Fix several bad kernel-doc markups
      
      Kernel-doc has always be limited to a probably bad documented
      rule:
      
      The kernel-doc markups should appear *imediatelly before* the
      function or data structure that it documents.
      
      On other words, if a C file would contain something like this:
      
      	/**
      	 * foo - function foo
      	 * @args: foo args
      	 */
      	static inline void bar(int args);
      
      	/**
      	 * bar - function bar
      	 * @args: foo args
      	 */
      	static inline void foo(void *args);
      
      The output (in ReST format) will be:
      
      	.. c:function:: void bar (int args)
      
      	   function foo
      
      	**Parameters**
      
      	``int args``
      	  foo args
      
      	.. c:function:: void foo (void *args)
      
      	   function bar
      
      	**Parameters**
      
      	``void *args``
      	  foo args
      
      Which is clearly a wrong result.  Before this changeset,
      not even a warning is produced on such cases.
      
      As placing such markups just before the documented
      data is a common practice, on most cases this is fine.
      
      However, as patches touch things, identifiers may be
      renamed, and people may forget to update the kernel-doc
      markups to follow such changes.
      
      This has been happening for quite a while, as there are
      lots of files with kernel-doc problems.
      
      This series address those issues and add a file at the
      end that will enforce that the identifier will match the
      kernel-doc markup, avoiding this problem from
      keep happening as time goes by.
      ====================
      
      Link: https://lore.kernel.org/r/cover.1605521731.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      6997faa9
    • Mauro Carvalho Chehab's avatar
      net: core: fix some kernel-doc markups · 270f3385
      Mauro Carvalho Chehab authored
      Some identifiers have different names between their prototypes
      and the kernel-doc markup.
      
      In the specific case of netif_subqueue_stopped(), keep the
      current markup for __netif_subqueue_stopped(), adding a
      new one for netif_subqueue_stopped().
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      270f3385
    • Mauro Carvalho Chehab's avatar
      net: datagram: fix some kernel-doc markups · c1639be9
      Mauro Carvalho Chehab authored
      Some identifiers have different names between their prototypes
      and the kernel-doc markup.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      Reviewed-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      c1639be9
    • Mauro Carvalho Chehab's avatar
      net: phy: fix kernel-doc markups · 69280228
      Mauro Carvalho Chehab authored
      Some functions have different names between their prototypes
      and the kernel-doc markup.
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      69280228
    • Jakub Kicinski's avatar
      Merge branch 'add-ethtool-ntuple-filters-support' · 5cfa9a61
      Jakub Kicinski authored
      Naveen Mamindlapalli says:
      
      ====================
      Add ethtool ntuple filters support
      
      This patch series adds support for ethtool ntuple filters, unicast
      address filtering, VLAN offload and SR-IOV ndo handlers. All of the
      above features are based on the Admin Function(AF) driver support to
      install and delete the low level MCAM entries. Each MCAM entry is
      programmed with the packet fields to match and what actions to take
      if the match succeeds. The PF driver requests AF driver to allocate
      set of MCAM entries to be used to install the flows by that PF. The
      entries will be freed when the PF driver is unloaded.
      
      * The patches 1 to 4 adds AF driver infrastructure to install and
        delete the low level MCAM flow entries.
      * Patch 5 adds ethtool ntuple filter support.
      * Patch 6 adds unicast MAC address filtering.
      * Patch 7 adds support for dumping the MCAM entries via debugfs.
      * Patches 8 to 10 adds support for VLAN offload.
      * Patch 10 to 11 adds support for SR-IOV ndo handlers.
      * Patch 12 adds support to read the MCAM entries.
      
      Misc:
      * Removed redundant mailbox NIX_RXVLAN_ALLOC.
      ====================
      
      Link: https://lore.kernel.org/r/20201114195303.25967-1-naveenm@marvell.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      5cfa9a61