From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: davem@davemloft.net, shemminger@vyatta.com
Cc: netdev@vger.kernel.org, gospo@redhat.com,
Mitch Williams <mitch.a.williams@intel.com>,
Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Subject: [RFC PATCH 1/4] net: Add support to netdev ops for changing hardware queue MAC and VLAN filters
Date: Tue, 17 Nov 2009 13:50:01 -0800 [thread overview]
Message-ID: <20091117214923.15119.98918.stgit@localhost.localdomain> (raw)
From: Williams, Mitch A <mitch.a.williams@intel.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
include/linux/netdevice.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 7043f85..6a70365 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -610,6 +610,8 @@ struct netdev_queue {
* this function is called when a VLAN id is unregistered.
*
* void (*ndo_poll_controller)(struct net_device *dev);
+ * int (*ndo_set_queue_mac)(struct net_device *dev, int queue, u8* mac);
+ * int (*ndo_set_queue_vlan)(struct net_device *dev, int queue, u16 vlan);
*/
#define HAVE_NET_DEVICE_OPS
struct net_device_ops {
@@ -659,6 +661,10 @@ struct net_device_ops {
#define HAVE_NETDEV_POLL
void (*ndo_poll_controller)(struct net_device *dev);
#endif
+ int (*ndo_set_queue_mac)(struct net_device *dev,
+ int queue, u8 *mac);
+ int (*ndo_set_queue_vlan)(struct net_device *dev,
+ int queue, u16 vlan);
#if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE)
int (*ndo_fcoe_enable)(struct net_device *dev);
int (*ndo_fcoe_disable)(struct net_device *dev);
next reply other threads:[~2009-11-17 21:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-17 21:50 Jeff Kirsher [this message]
2009-11-17 21:50 ` [RFC PATCH 2/4] rtnetlink: Add support to rtnetlink for setting hardware queue MAC and VLAN filters Jeff Kirsher
2009-11-17 21:50 ` [RFC PATCH 3/4] igb: Add support to igb for setting MAC and VLAN filters to hardware queues Jeff Kirsher
2009-11-17 21:51 ` [RFC PATCH 4/4] igbvf: Make error message more enlightening Jeff Kirsher
2009-11-18 19:53 ` [RFC PATCH 1/4] net: Add support to netdev ops for changing hardware queue MAC and VLAN filters Ben Hutchings
2009-11-18 21:37 ` Williams, Mitch A
2009-11-18 23:14 ` Ben Hutchings
2009-11-18 23:33 ` Williams, Mitch A
2009-11-19 14:54 ` Ben Hutchings
2009-11-19 18:43 ` Williams, Mitch A
2009-11-19 18:58 ` Patrick McHardy
2009-11-19 19:12 ` Williams, Mitch A
2009-11-19 18:59 ` Ben Hutchings
2009-11-19 19:34 ` Williams, Mitch A
2009-11-23 13:22 ` Ben Hutchings
2009-11-23 19:52 ` Williams, Mitch A
2009-11-24 14:18 ` Ben Hutchings
2009-11-24 16:14 ` Williams, Mitch A
2009-11-30 6:03 ` Simon Horman
2009-11-30 18:36 ` Williams, Mitch A
2009-11-30 22:57 ` Simon Horman
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=20091117214923.15119.98918.stgit@localhost.localdomain \
--to=jeffrey.t.kirsher@intel.com \
--cc=davem@davemloft.net \
--cc=gospo@redhat.com \
--cc=mitch.a.williams@intel.com \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/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