{"id":818832,"url":"http://patchwork.ozlabs.org/api/covers/818832/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/cover/20170926211535.21273-1-vivien.didelot@savoirfairelinux.com/","project":{"id":7,"url":"http://patchwork.ozlabs.org/api/projects/7/?format=json","name":"Linux network development","link_name":"netdev","list_id":"netdev.vger.kernel.org","list_email":"netdev@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170926211535.21273-1-vivien.didelot@savoirfairelinux.com>","list_archive_url":null,"date":"2017-09-26T21:15:30","name":"[net-next,0/5] net: dsa: use generic slave phydev","submitter":{"id":15889,"url":"http://patchwork.ozlabs.org/api/people/15889/?format=json","name":"Vivien Didelot","email":"vivien.didelot@savoirfairelinux.com"},"mbox":"http://patchwork.ozlabs.org/project/netdev/cover/20170926211535.21273-1-vivien.didelot@savoirfairelinux.com/mbox/","series":[{"id":5231,"url":"http://patchwork.ozlabs.org/api/series/5231/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/list/?series=5231","date":"2017-09-26T21:15:33","name":"net: dsa: use generic slave phydev","version":1,"mbox":"http://patchwork.ozlabs.org/series/5231/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/818832/comments/","headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y1v4X3qNXz9sRq\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 27 Sep 2017 07:20:28 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S937425AbdIZVT3 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 26 Sep 2017 17:19:29 -0400","from mail.savoirfairelinux.com ([208.88.110.44]:41162 \"EHLO\n\tmail.savoirfairelinux.com\" rhost-flags-OK-OK-OK-OK) by\n\tvger.kernel.org with ESMTP id S937219AbdIZVTZ (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 26 Sep 2017 17:19:25 -0400","from localhost (localhost [127.0.0.1])\n\tby mail.savoirfairelinux.com (Postfix) with ESMTP id 9FC7B9C2DA1;\n\tTue, 26 Sep 2017 17:19:23 -0400 (EDT)","from mail.savoirfairelinux.com ([127.0.0.1])\n\tby localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new,\n\tport 10032)\n\twith ESMTP id tr1SiuVNfnn8; Tue, 26 Sep 2017 17:19:23 -0400 (EDT)","from localhost (localhost [127.0.0.1])\n\tby mail.savoirfairelinux.com (Postfix) with ESMTP id 112029C2DAE;\n\tTue, 26 Sep 2017 17:19:23 -0400 (EDT)","from mail.savoirfairelinux.com ([127.0.0.1])\n\tby localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new,\n\tport 10026)\n\twith ESMTP id xVZ6IXSEUqbG; Tue, 26 Sep 2017 17:19:22 -0400 (EDT)","from weeman.mtl.sfl (unknown [192.168.49.104])\n\tby mail.savoirfairelinux.com (Postfix) with ESMTPSA id C71EF9C2D7B;\n\tTue, 26 Sep 2017 17:19:22 -0400 (EDT)"],"X-Virus-Scanned":"amavisd-new at mail.savoirfairelinux.com","From":"Vivien Didelot <vivien.didelot@savoirfairelinux.com>","To":"netdev@vger.kernel.org","Cc":"linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com,\n\t\"David S. Miller\" <davem@davemloft.net>,\n\tFlorian Fainelli <f.fainelli@gmail.com>, Andrew Lunn <andrew@lunn.ch>,\n\tVivien Didelot <vivien.didelot@savoirfairelinux.com>","Subject":"[PATCH net-next 0/5] net: dsa: use generic slave phydev","Date":"Tue, 26 Sep 2017 17:15:30 -0400","Message-Id":"<20170926211535.21273-1-vivien.didelot@savoirfairelinux.com>","X-Mailer":"git-send-email 2.14.1","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"},"content":"DSA currently stores a phy_device pointer in each slave private\nstructure. This requires to implement our own ethtool ksettings\naccessors and such.\n\nThis patchset removes the private phy_device in favor of the one\nprovided in the net_device structure, and thus allows us to use the\ngeneric phy_ethtool_* functions.\n\nVivien Didelot (5):\n  net: dsa: return -ENODEV is there is no slave PHY\n  net: dsa: use slave device phydev\n  net: dsa: use phy_ethtool_get_link_ksettings\n  net: dsa: use phy_ethtool_set_link_ksettings\n  net: dsa: use phy_ethtool_nway_reset\n\n net/dsa/dsa_priv.h |   1 -\n net/dsa/slave.c    | 143 +++++++++++++++++++----------------------------------\n 2 files changed, 52 insertions(+), 92 deletions(-)"}