/* Show and set the bonding transmit hash method. The bond interface must be down to change the xmit hash policy.  */
static ssize_t bonding_show_xmit_hash(struct device *d, struct device_attribute *attr, char *buf)
/* Show and set the bonding transmit hash method. The bond interface must be down to change the xmit hash policy.  */
static ssize_t bonding_show_xmit_hash(struct device *d, struct device_attribute *attr, char *buf)
{
	struct bonding *bond = to_bond(d);
	return sprintf(buf, "%s %d\n",
		       xmit_hashtype_tbl[bond->params.xmit_policy].modename,
		       bond->params.xmit_policy);
}