From: Shradha Shah <sshah@solarflare.com>
To: David Miller <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, <linux-net-drivers@solarflare.com>
Subject: [PATCH net-next 00/16] sfc: Get/Set MAC address and ndo_[set/get]_vf_* entrypoint functions
Date: Mon, 18 May 2015 16:24:58 +0100 [thread overview]
Message-ID: <555A044A.4060202@solarflare.com> (raw)
This is the second instalment of patches towards supporting EF10 SRIOV.
This patch series implements the ndo_get_vf_config, ndo_set_vf_mac,
ndo_set_vf_vlan and ndo_set_vf_spoofcheck function callbacks for
EF10.
This patch series also introduces privileges for the MCDI commands
based on which functions are allowed to call them, i.e. Link control
or primary function.
The patch series has been tested with and without CONFIG_SFC_SRIOV.
The ndo function callbacks are tested using ip link.
Daniel Pieczko (1):
sfc: Enable a VF to get its own MAC address
Edward Cree (2):
sfc: protect filter table against use-after-free
sfc: add ndo_set_vf_link_state() function for EF10
Jon Cooper (2):
sfc: Initialise MCDI buffers to 0 on declaration.
sfc: Change entity reset on MC reboot to a new datapath-only reset.
Shradha Shah (11):
sfc: Add permissions to MCDI commands
sfc: change definition of MC_CMD_VADAPTOR_ALLOC
sfc: MC_CMD_SET_MAC can only be called by the link control Function
sfc: Store vf_index in nic_data for Ef10.
sfc: save old MAC address in case sriov_mac_address_changed fails
sfc: Store the efx_nic struct of the current VF in the VF data struct
sfc: add ndo_set_vf_mac() function for EF10
sfc: Add ndo_get_vf_config() function for EF10
sfc: add ndo_set_vf_vlan() function for EF10
sfc: Implement dummy disable of VF spoof check for EF10
sfc: set the MAC address using MC_CMD_VADAPTOR_SET_MAC
drivers/net/ethernet/sfc/ef10.c | 279 ++++++++++++++---
drivers/net/ethernet/sfc/ef10_sriov.c | 320 +++++++++++++++++++-
drivers/net/ethernet/sfc/ef10_sriov.h | 36 +--
drivers/net/ethernet/sfc/efx.c | 65 +++-
drivers/net/ethernet/sfc/efx.h | 5 +
drivers/net/ethernet/sfc/enum.h | 2 +
drivers/net/ethernet/sfc/ethtool.c | 2 +-
drivers/net/ethernet/sfc/mcdi.c | 12 +-
drivers/net/ethernet/sfc/mcdi.h | 8 +-
drivers/net/ethernet/sfc/mcdi_pcol.h | 531 ++++++++++++++++++++++++++++++++-
drivers/net/ethernet/sfc/mcdi_port.c | 1 +
drivers/net/ethernet/sfc/net_driver.h | 11 +-
drivers/net/ethernet/sfc/nic.h | 1 +
drivers/net/ethernet/sfc/ptp.c | 6 +-
drivers/net/ethernet/sfc/siena.c | 2 +-
drivers/net/ethernet/sfc/siena_sriov.c | 6 +-
drivers/net/ethernet/sfc/siena_sriov.h | 2 +-
drivers/net/ethernet/sfc/sriov.c | 12 +
drivers/net/ethernet/sfc/sriov.h | 2 +
19 files changed, 1205 insertions(+), 98 deletions(-)
next reply other threads:[~2015-05-18 15:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 15:24 Shradha Shah [this message]
2015-05-18 15:27 ` [PATCH net-next 01/16] sfc: Add permissions to MCDI commands Shradha Shah
2015-05-18 16:21 ` David Miller
2015-05-18 15:27 ` [PATCH net-next 02/16] sfc: change definition of MC_CMD_VADAPTOR_ALLOC Shradha Shah
2015-05-18 15:27 ` [PATCH net-next 03/16] sfc: MC_CMD_SET_MAC can only be called by the link control Function Shradha Shah
2015-05-18 15:28 ` [PATCH net-next 04/16] sfc: Store vf_index in nic_data for Ef10 Shradha Shah
2015-05-18 15:28 ` [PATCH net-next 05/16] sfc: save old MAC address in case sriov_mac_address_changed fails Shradha Shah
2015-05-18 15:28 ` [PATCH net-next 06/16] sfc: Store the efx_nic struct of the current VF in the VF data struct Shradha Shah
2015-05-18 15:29 ` [PATCH net-next 07/16] sfc: protect filter table against use-after-free Shradha Shah
2015-05-18 15:29 ` [PATCH net-next 08/16] sfc: Enable a VF to get its own MAC address Shradha Shah
2015-05-18 15:29 ` [PATCH net-next 09/16] sfc: Initialise MCDI buffers to 0 on declaration Shradha Shah
2015-05-18 15:30 ` [PATCH net-next 10/16] sfc: add ndo_set_vf_mac() function for EF10 Shradha Shah
2015-05-18 15:30 ` [PATCH net-next 11/16] sfc: Add ndo_get_vf_config() " Shradha Shah
2015-05-18 15:30 ` [PATCH net-next 12/16] sfc: Change entity reset on MC reboot to a new datapath-only reset Shradha Shah
2015-05-18 15:31 ` [PATCH net-next 13/16] sfc: add ndo_set_vf_vlan() function for EF10 Shradha Shah
2015-05-18 15:31 ` [PATCH net-next 14/16] sfc: add ndo_set_vf_link_state() " Shradha Shah
2015-05-18 15:31 ` [PATCH net-next 15/16] sfc: Implement dummy disable of VF spoof check " Shradha Shah
2015-05-18 15:31 ` [PATCH net-next 16/16] sfc: set the MAC address using MC_CMD_VADAPTOR_SET_MAC Shradha Shah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=555A044A.4060202@solarflare.com \
--to=sshah@solarflare.com \
--cc=davem@davemloft.net \
--cc=linux-net-drivers@solarflare.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).