summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_cmn.h
diff options
context:
space:
mode:
authorVladislav Zolotarov2010-12-13 06:44:09 +0100
committerDavid S. Miller2010-12-16 22:15:54 +0100
commit8307fa3e86a83924dd7f8310ce1e051f34986fe8 (patch)
treee3e018d2d9505db8c6586f1f03fb92fa6ec23f7f /drivers/net/bnx2x/bnx2x_cmn.h
parentbnx2x: add FCoE ring (diff)
downloadkernel-qcow2-linux-8307fa3e86a83924dd7f8310ce1e051f34986fe8.tar.gz
kernel-qcow2-linux-8307fa3e86a83924dd7f8310ce1e051f34986fe8.tar.xz
kernel-qcow2-linux-8307fa3e86a83924dd7f8310ce1e051f34986fe8.zip
bnx2x: add a select queue callback
This callback required to allow FCoE traffic to be sent on separate priority queue from other L2 traffic, which is managed by PFC in HW. Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Shmulik Ravid-Rabinovitz <shmulikr@broadcom.com> Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_cmn.h')
-rw-r--r--drivers/net/bnx2x/bnx2x_cmn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.h b/drivers/net/bnx2x/bnx2x_cmn.h
index 4bb011358ed9..258f0c04716b 100644
--- a/drivers/net/bnx2x/bnx2x_cmn.h
+++ b/drivers/net/bnx2x/bnx2x_cmn.h
@@ -343,6 +343,9 @@ int bnx2x_nic_load(struct bnx2x *bp, int load_mode);
/* hard_xmit callback */
netdev_tx_t bnx2x_start_xmit(struct sk_buff *skb, struct net_device *dev);
+/* select_queue callback */
+u16 bnx2x_select_queue(struct net_device *dev, struct sk_buff *skb);
+
int bnx2x_change_mac_addr(struct net_device *dev, void *p);
/* NAPI poll Rx part */