• Home
  • Raw
  • Download

Lines Matching refs:channels

696 			      struct ethtool_channels *channels)  in xgbe_get_channels()  argument
715 channels->max_combined = combined; in xgbe_get_channels()
716 channels->max_rx = rx ? rx - 1 : 0; in xgbe_get_channels()
717 channels->max_tx = tx ? tx - 1 : 0; in xgbe_get_channels()
727 channels->combined_count = combined; in xgbe_get_channels()
728 channels->rx_count = rx; in xgbe_get_channels()
729 channels->tx_count = tx; in xgbe_get_channels()
733 struct ethtool_channels *channels) in xgbe_print_set_channels_input() argument
736 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input()
737 channels->tx_count); in xgbe_print_set_channels_input()
741 struct ethtool_channels *channels) in xgbe_set_channels() argument
761 if (channels->other_count) { in xgbe_set_channels()
768 if (!channels->combined_count) { in xgbe_set_channels()
771 xgbe_print_set_channels_input(netdev, channels); in xgbe_set_channels()
776 if (channels->combined_count > combined) { in xgbe_set_channels()
780 xgbe_print_set_channels_input(netdev, channels); in xgbe_set_channels()
785 if (channels->rx_count && channels->tx_count) { in xgbe_set_channels()
788 xgbe_print_set_channels_input(netdev, channels); in xgbe_set_channels()
793 if ((channels->combined_count + channels->rx_count) > rx) { in xgbe_set_channels()
796 channels->combined_count + channels->rx_count, rx); in xgbe_set_channels()
797 xgbe_print_set_channels_input(netdev, channels); in xgbe_set_channels()
801 if ((channels->combined_count + channels->tx_count) > tx) { in xgbe_set_channels()
804 channels->combined_count + channels->tx_count, tx); in xgbe_set_channels()
805 xgbe_print_set_channels_input(netdev, channels); in xgbe_set_channels()
809 rx = channels->combined_count + channels->rx_count; in xgbe_set_channels()
810 tx = channels->combined_count + channels->tx_count; in xgbe_set_channels()