cxgb4: Export symbols required by cxgb4i for ipv6 support and required defines
authorAnish Bhatt <anish@chelsio.com>
Thu, 17 Jul 2014 07:18:16 +0000 (00:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:06:03 +0000 (16:06 -0700)
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h

index 9c7e4f0a76839d18368c5af6acc3692d16d568c6..8b46534b06c1350f1273092efa4e163a38df29de 100644 (file)
@@ -3445,8 +3445,8 @@ static int tid_init(struct tid_info *t)
        return 0;
 }
 
-static int cxgb4_clip_get(const struct net_device *dev,
-                         const struct in6_addr *lip)
+int cxgb4_clip_get(const struct net_device *dev,
+                  const struct in6_addr *lip)
 {
        struct adapter *adap;
        struct fw_clip_cmd c;
@@ -3460,9 +3460,10 @@ static int cxgb4_clip_get(const struct net_device *dev,
        c.ip_lo = *(__be64 *)(lip->s6_addr + 8);
        return t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, false);
 }
+EXPORT_SYMBOL(cxgb4_clip_get);
 
-static int cxgb4_clip_release(const struct net_device *dev,
-                             const struct in6_addr *lip)
+int cxgb4_clip_release(const struct net_device *dev,
+                      const struct in6_addr *lip)
 {
        struct adapter *adap;
        struct fw_clip_cmd c;
@@ -3476,6 +3477,7 @@ static int cxgb4_clip_release(const struct net_device *dev,
        c.ip_lo = *(__be64 *)(lip->s6_addr + 8);
        return t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, false);
 }
+EXPORT_SYMBOL(cxgb4_clip_release);
 
 /**
  *     cxgb4_create_server - create an IP server
index 79a84de1d2041d890b34527939686d51297ca9e4..1366ba620c87cdf506e1bd0757d7062cd5bf605e 100644 (file)
@@ -172,6 +172,10 @@ int cxgb4_create_server_filter(const struct net_device *dev, unsigned int stid,
                               unsigned char port, unsigned char mask);
 int cxgb4_remove_server_filter(const struct net_device *dev, unsigned int stid,
                               unsigned int queue, bool ipv6);
+int cxgb4_clip_get(const struct net_device *dev, const struct in6_addr *lip);
+int cxgb4_clip_release(const struct net_device *dev,
+                      const struct in6_addr *lip);
+
 static inline void set_wr_txq(struct sk_buff *skb, int prio, int queue)
 {
        skb_set_queue_mapping(skb, (queue << 1) | prio);
index 64006327df83d737f0a3820e7538431320dff477..0259feeab1b3a70b4f09f9011c01625b36db6e70 100644 (file)
@@ -270,6 +270,8 @@ struct cpl_pass_accept_rpl {
 #define RX_COALESCE_VALID(x) ((x) << 11)
 #define RX_COALESCE(x)       ((x) << 12)
 #define PACE(x)              ((x) << 16)
+#define RX_FC_VALID         ((1U) << 19)
+#define RX_FC_DISABLE       ((1U) << 20)
 #define TX_QUEUE(x)          ((x) << 23)
 #define RX_CHANNEL(x)        ((x) << 26)
 #define CCTRL_ECN(x)         ((x) << 27)
This page took 0.032118 seconds and 5 git commands to generate.