search for: port_info

Displaying 10 results from an estimated 10 matches for "port_info".

2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3: - mini-os configuration files moved into stubdom/ - mini-os extra console support now a config option - Fewer #ifdefs - grant table setup uses hypercall bounce - Xenstore stub domain syslog support re-enabled Changes from v2: - configuration support added to mini-os build system - add mini-os support for conditionally compiling frontends, xenbus -
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...setageing, "<bridge> <time>\t\tset ageing time" }, { 2, "setbridgeprio", br_cmd_setbridgeprio, diff --git a/brctl/brctl_disp.c b/brctl/brctl_disp.c index 27ce6d2..3e81241 100644 --- a/brctl/brctl_disp.c +++ b/brctl/brctl_disp.c @@ -93,6 +93,8 @@ static int dump_port_info(const char *br, const char *p, void *arg) printf("CONFIG_PENDING "); if (pinfo.top_change_ack) printf("TOPOLOGY_CHANGE_ACK "); + if (pinfo.hairpin_mode) + printf("\n hairpin mode\t\t\%4i", pinfo.hairpin_mode); printf("\n"); printf("\n"...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...setageing, "<bridge> <time>\t\tset ageing time" }, { 2, "setbridgeprio", br_cmd_setbridgeprio, diff --git a/brctl/brctl_disp.c b/brctl/brctl_disp.c index 27ce6d2..3e81241 100644 --- a/brctl/brctl_disp.c +++ b/brctl/brctl_disp.c @@ -93,6 +93,8 @@ static int dump_port_info(const char *br, const char *p, void *arg) printf("CONFIG_PENDING "); if (pinfo.top_change_ack) printf("TOPOLOGY_CHANGE_ACK "); + if (pinfo.hairpin_mode) + printf("\n hairpin mode\t\t\%4i", pinfo.hairpin_mode); printf("\n"); printf("\n"...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...setageing, "<bridge> <time>\t\tset ageing time" }, { 2, "setbridgeprio", br_cmd_setbridgeprio, diff --git a/brctl/brctl_disp.c b/brctl/brctl_disp.c index 27ce6d2..3e81241 100644 --- a/brctl/brctl_disp.c +++ b/brctl/brctl_disp.c @@ -93,6 +93,8 @@ static int dump_port_info(const char *br, const char *p, void *arg) printf("CONFIG_PENDING "); if (pinfo.top_change_ack) printf("TOPOLOGY_CHANGE_ACK "); + if (pinfo.hairpin_mode) + printf("\n hairpin mode\t\t\%4i", pinfo.hairpin_mode); printf("\n"); printf("\n"...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
..., + "<bridge> <port>\t\tset uplink for vepa" }, }; const struct command *command_lookup(const char *cmd) diff --git a/brctl/brctl_disp.c b/brctl/brctl_disp.c index 27ce6d2..5bcf38b 100644 --- a/brctl/brctl_disp.c +++ b/brctl/brctl_disp.c @@ -93,6 +93,8 @@ static int dump_port_info(const char *br, const char *p, void *arg) printf("CONFIG_PENDING "); if (pinfo.top_change_ack) printf("TOPOLOGY_CHANGE_ACK "); + if (pinfo.hairpin_mode) + printf("\n hairpin mode\t\t\%4i", pinfo.hairpin_mode); printf("\n"); printf("\n"...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
..., + "<bridge> <port>\t\tset uplink for vepa" }, }; const struct command *command_lookup(const char *cmd) diff --git a/brctl/brctl_disp.c b/brctl/brctl_disp.c index 27ce6d2..5bcf38b 100644 --- a/brctl/brctl_disp.c +++ b/brctl/brctl_disp.c @@ -93,6 +93,8 @@ static int dump_port_info(const char *br, const char *p, void *arg) printf("CONFIG_PENDING "); if (pinfo.top_change_ack) printf("TOPOLOGY_CHANGE_ACK "); + if (pinfo.hairpin_mode) + printf("\n hairpin mode\t\t\%4i", pinfo.hairpin_mode); printf("\n"); printf("\n"...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
..., + "<bridge> <port>\t\tset uplink for vepa" }, }; const struct command *command_lookup(const char *cmd) diff --git a/brctl/brctl_disp.c b/brctl/brctl_disp.c index 27ce6d2..5bcf38b 100644 --- a/brctl/brctl_disp.c +++ b/brctl/brctl_disp.c @@ -93,6 +93,8 @@ static int dump_port_info(const char *br, const char *p, void *arg) printf("CONFIG_PENDING "); if (pinfo.top_change_ack) printf("TOPOLOGY_CHANGE_ACK "); + if (pinfo.hairpin_mode) + printf("\n hairpin mode\t\t\%4i", pinfo.hairpin_mode); printf("\n"); printf("\n"...
2007 Apr 18
5
[Bridge] RFC: [PATCH] bridge vlan integration
...16 #define BRCTL_SET_PATH_COST 17 #define BRCTL_GET_FDB_ENTRIES 18 +#define BRCTL_SET_PORT_UNTAGGED_VLAN 19 +#define BRCTL_ADD_PORT_VLAN 20 +#define BRCTL_DEL_PORT_VLAN 21 +#define BRCTL_GET_PORT_VLAN_INFO 22 #define BR_STATE_DISABLED 0 #define BR_STATE_LISTENING 1 @@ -91,6 +95,12 @@ struct __port_info __u32 hold_timer_value; }; +struct __vlan_info +{ + __u32 untagged; + __u8 filter[4096/8]; +}; + struct __fdb_entry { __u8 mac_addr[6]; Index: wireless-dev/include/linux/skbuff.h =================================================================== --- wireless-dev.orig/include/linux/skbuff....
2017 Jan 05
3
[PATCH net-next] net: make ndo_get_stats64 a void function
...ed int stid, } EXPORT_SYMBOL(cxgb4_remove_server_filter); -static struct rtnl_link_stats64 *cxgb_get_stats(struct net_device *dev, - struct rtnl_link_stats64 *ns) +static void cxgb_get_stats(struct net_device *dev, + struct rtnl_link_stats64 *ns) { struct port_stats stats; struct port_info *p = netdev_priv(dev); @@ -2383,7 +2383,7 @@ static struct rtnl_link_stats64 *cxgb_get_stats(struct net_device *dev, spin_lock(&adapter->stats_lock); if (!netif_device_present(dev)) { spin_unlock(&adapter->stats_lock); - return ns; + return; } t4_get_port_stats_offset(ada...
2017 Jan 05
3
[PATCH net-next] net: make ndo_get_stats64 a void function
...ed int stid, } EXPORT_SYMBOL(cxgb4_remove_server_filter); -static struct rtnl_link_stats64 *cxgb_get_stats(struct net_device *dev, - struct rtnl_link_stats64 *ns) +static void cxgb_get_stats(struct net_device *dev, + struct rtnl_link_stats64 *ns) { struct port_stats stats; struct port_info *p = netdev_priv(dev); @@ -2383,7 +2383,7 @@ static struct rtnl_link_stats64 *cxgb_get_stats(struct net_device *dev, spin_lock(&adapter->stats_lock); if (!netif_device_present(dev)) { spin_unlock(&adapter->stats_lock); - return ns; + return; } t4_get_port_stats_offset(ada...